how to select item in datalist
-
hi.. i want to know how to select a item in datalist so that i can use in any other function or on any other button click. for example if i select one item and i am having one button which is for download so when i click on button the item should be downloaded. but i am getting one problem is that when i select item it is going to pageload event and it is not selecting the item...
-
hi.. i want to know how to select a item in datalist so that i can use in any other function or on any other button click. for example if i select one item and i am having one button which is for download so when i click on button the item should be downloaded. but i am getting one problem is that when i select item it is going to pageload event and it is not selecting the item...
-
sarang121 wrote:
but i am getting one problem is that when i select item it is going to pageload event and it is not selecting the item...
Are you using PostBack. This would usually result in the Page Load code running again.
-
yes because i am also using a list control every time when i refresh the page the data should be in it without repeating....