Click here to Skip to main content
15,867,991 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have created a Grid View and written some logic to show Cells[].Text="Yes"/"No" according to the requirement in RowDataBound.
And I have an another Add Button in the same page, if we click the Add button the page is refreshing and Cells[].Text values are not showing as "Yes" / "No".

My question is, how to call the RowDataBound for every page load.


Appreciate your help,

Thanks,
Nag
Posted

1 solution

If you gridvidview is binding on pageload then its not necessary to call rowdatabound on page load.You are doing someother mistake. debug you code and if you need help post your code..

Thanks
 
Share this answer
 
Comments
ureachnag 15-Aug-12 15:44pm    
Thanks Ashish..
Rahul Rajat Singh 16-Aug-12 0:10am    
good answer. +5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900