I have a datalist that basicaly lists Store#, City, State and Zip. I want to have a pop up window added to the list so the user can click the link and a window will open up with a map and other information.
I added a hyperlink but now I don't know how to get the store# into the query string. Here is what I have so far. The DataItem with the store# is just Container.DataItem("Store"). Any ideas? Is there a better way?
VB Code:
<ItemTemplate> <%#Container.DataItem("City")%><br /> <%#Container.DataItem("Street") %><br /> <%#Container.DataItem("Zip")%><br /> <%#Container.DataItem("Phone")%><br /> <!-- <asp:HyperLink Text="View Map" ID="HyperLink1" runat="server" NavigateUrl="javascript:var w =window.open('answer.aspx?Store={0)',null,'width=400,height=200,location=no')"> </asp:HyperLink><br /><br /> --> </ItemTemplate>


Reply With Quote