Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 19, 2012 08:04 AM by misteraddi
Member
54 Points
103 Posts
Mar 19, 2012 07:40 AM|LINK
i have created page with display items in list view... i want to make a url to another page and pass the Id of the selected Title like Google trader
351 Points
116 Posts
Mar 19, 2012 07:52 AM|LINK
try this:
<asp:ListView runat="server" ID="ListView1" DataSourceID="YourDataSource"> <ItemTemplate> <asp:HyperLink id="hyperlink1" NavigateUrl="YourPage.aspx?Id=<%#Eval("Id") %>" Text="To another page" runat="server"/> </ItemTemplate> </asp:ListView>
Mar 19, 2012 08:04 AM|LINK
ok, will this pass the id of the selected list...because there are a lot of list on that page, and i want to pass the selected title
misteraddi
Member
54 Points
103 Posts
list view to detail view
Mar 19, 2012 07:40 AM|LINK
i have created page with display items in list view... i want to make a url to another page and pass the Id of the selected Title like Google trader
ddredstar@ho...
Member
351 Points
116 Posts
Re: list view to detail view
Mar 19, 2012 07:52 AM|LINK
<asp:ListView runat="server" ID="ListView1" DataSourceID="YourDataSource"> <ItemTemplate> <asp:HyperLink id="hyperlink1" NavigateUrl="YourPage.aspx?Id=<%#Eval("Id") %>" Text="To another page" runat="server"/> </ItemTemplate> </asp:ListView>misteraddi
Member
54 Points
103 Posts
Re: list view to detail view
Mar 19, 2012 08:04 AM|LINK
ok, will this pass the id of the selected list...because there are a lot of list on that page, and i want to pass the selected title