Click here to Skip to main content
15,907,001 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionproblem in C# Pin
Imran Khan Pathan10-Dec-06 18:54
Imran Khan Pathan10-Dec-06 18:54 
AnswerRe: problem in C# Pin
venkatasivaramaprasad10-Dec-06 19:17
venkatasivaramaprasad10-Dec-06 19:17 
GeneralRe: problem in C# Pin
Imran Khan Pathan10-Dec-06 19:31
Imran Khan Pathan10-Dec-06 19:31 
AnswerRe: problem in C# Pin
MIHAI_MTZ10-Dec-06 20:54
MIHAI_MTZ10-Dec-06 20:54 
AnswerRe: problem in C# Pin
5150.Net11-Dec-06 9:26
5150.Net11-Dec-06 9:26 
Questionhelp (urgent) Pin
Imran Khan Pathan10-Dec-06 18:44
Imran Khan Pathan10-Dec-06 18:44 
AnswerRe: help (urgent) Pin
Colin Angus Mackay10-Dec-06 22:18
Colin Angus Mackay10-Dec-06 22:18 
QuestionNewbie Question RE Image pop-ups Pin
Nostromo7710-Dec-06 12:23
Nostromo7710-Dec-06 12:23 
Hello,

I have an ASP.NET page that draws image URLs from a database in order to display a product image on a product template page. I'd like to be able to install the expected "click on image to view larger resolution" pop-up feature found in almost all online product catalogs.

All of the info I have found so far about using large image pop-up scripts refer to static images - that is, images that are unique to that webpage, rather than drawn from a database field. I'm not clear on how to do a pop-up of an image drawn from a field dynamically. Any advice would be appreciated!

I found and tried to insert the following code into my page, but it is bringing up an "BC30456: 'DataItem' is not a member of 'System.Web.UI.Control'." error:

<code><a href="#StayHere" onclick="window.open('bigimage.aspx?id=' +<%# (DataBinder.eval(Container.DataItem,"product_id"))%>, '', 'width=550 scrollbar=yes height=650 left=100 ')">
<asp:Image ID="Image1" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "Image1")%>' AlternateText='View Large Image' Runat="server" Width=204>
</asp:Image></td></code>
AnswerRe: Newbie Question RE Image pop-ups Pin
GaryWoodfine 10-Dec-06 22:45
professionalGaryWoodfine 10-Dec-06 22:45 
QuestionAJAX and ASP.NET and submit button Pin
Kasic Slobodan10-Dec-06 11:33
Kasic Slobodan10-Dec-06 11:33 
AnswerRe: AJAX and ASP.NET and submit button Pin
Amit Kushwaha10-Dec-06 22:32
Amit Kushwaha10-Dec-06 22:32 
GeneralRe: AJAX and ASP.NET and submit button [modified] Pin
Kasic Slobodan11-Dec-06 2:15
Kasic Slobodan11-Dec-06 2:15 
GeneralRe: AJAX and ASP.NET and submit button Pin
RichardGrimmer11-Dec-06 5:53
RichardGrimmer11-Dec-06 5:53 
GeneralRe: AJAX and ASP.NET and submit button Pin
Kasic Slobodan11-Dec-06 10:23
Kasic Slobodan11-Dec-06 10:23 
GeneralRe: AJAX and ASP.NET and submit button Pin
RichardGrimmer11-Dec-06 12:19
RichardGrimmer11-Dec-06 12:19 
Questionunload event for a aspx page Pin
keroed_edmond10-Dec-06 10:11
keroed_edmond10-Dec-06 10:11 
AnswerRe: unload event for a aspx page Pin
keroed_edmond10-Dec-06 10:25
keroed_edmond10-Dec-06 10:25 
QuestionPlacing/Integrating a Web Service With A Web Site Pin
Gaul10-Dec-06 2:17
Gaul10-Dec-06 2:17 
AnswerRe: Placing/Integrating a Web Service With A Web Site Pin
Guffa10-Dec-06 2:34
Guffa10-Dec-06 2:34 
GeneralRe: Placing/Integrating a Web Service With A Web Site Pin
Gaul10-Dec-06 11:35
Gaul10-Dec-06 11:35 
QuestionHow can i merge some pdf files by crystal report? Pin
m.rastgar10-Dec-06 1:03
m.rastgar10-Dec-06 1:03 
Questiongood samples for learning asp.net2.0? Pin
zhoujun9-Dec-06 20:30
zhoujun9-Dec-06 20:30 
AnswerRe: good samples for learning asp.net2.0? Pin
ednrgc11-Dec-06 3:28
ednrgc11-Dec-06 3:28 
QuestionCSS element parser Pin
econner9-Dec-06 9:24
econner9-Dec-06 9:24 
AnswerRe: CSS element parser Pin
g00fyman10-Dec-06 1:53
g00fyman10-Dec-06 1:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.