Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-30-2006, 07:14 AM #1
- Join Date
- Nov 2006
- Thanked 0 Times in 0 Posts
Please help me define a variable in the HTML of my VB.NET page
This is the line that calls my popup window:
("largerImage.aspx?name=<%# DataBinder.Eval(Container.DataItem, \"Path\")%>")' ImageUrl='<%# "../images/" + DataBinder.Eval
(Container.DataItem, "ImagePath") %>'></asp:HyperLink>
MyWindow=window.open(url,"MyCoolPopup","location", "height=300, width=300");
The problem is that when I call the popup window, the parameter that shows looks like this : <%# DataBinder.Eval
Instead of the path of the underlying datacontrol image being passed as a parameter, the whole tag is sent.
How can I read just the path of the image control that is in my ItemTemplate area of my datalist control?