Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
December 15, 2008
I have a datalist in which I have 6 links in each record. Each link have to redirect to different page.
How it can be done.
Thanks in advance
Posted Date: December 15, 2008 Points: 5
you can use HyperLink inside DataList and use Its "NavigateURL" property to the desired page you want to redirect.
you can build your HyperLink Tag like this
<asp:hyperlink Runat=server ID="Hyperlink1" Text="<%# container.dataitem.site %>" NavigateUrl=<%# container.dataitem.site %>></asp:HyperLink>
To post reply
Related Questions Related Questions
How to use DataList in asp.net
Checkbox Checking in Datalist
Checkbox Checking in Datalist in asp.net
binding datalist from gridview
how to "Image Not Found" in gridview/datalist.
datalist image to gridview in asp.net
why Datalist control does not render content horizontal if repeatlayout is set to flow ?
Latest Forum Questions From The Same Category
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
How to read Unicode form PDF File and Save into DataBase ?
How to identify the color format of eps/tiff using c#?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend