i worked in PHP before and used to use window.location function with javascript function, please let me know how to tackle the functionality in repeator,
record 1
record 2
record 3
I want if some one clicks on a label, it should go to other page, page.aspx?id=1 or id=7 respectively
I dont want to use javascript window.location, is there any built in asp.net option in repeater to do so, i have passed postback url to page.aspx.
Thanks
Atif
Drop a DataPager in your page and set it’s PagedControlID attribute to your repeater’s ID
Update:
Apparently DataPager doesn’t like Repeater, so I suggest using ListView instead. In the end ListView is very much like Repeater but more flexible.