I have on gridview within updatepanel. I required rowdatabound event in this gridview.But its not firing.while there have also one event that's onpageindexchanging its working fine. If any one have solution then please give me .................
Loading
Vincent Maverick DuranoPosted Apr 27, 2015, 9:44 AM
That's weird then,
Can you post your HTML markup here and the corresponding gridview events? (don't post the whole code just the relevant one)
Prafulla ChoudharyPosted Apr 27, 2015, 9:21 AM
Abhineet SrivastavaPosted Apr 27, 2015, 9:17 AM
Someone Visual Studio stuck in between so Change actually not reflect
Vincent Maverick DuranoPosted Apr 27, 2015, 8:29 AM
Try to debug your codes and set a break-point at RowDataBound event to verify if it is firing or not?
Also did you tried to remove the updatepanel just to verify it if the event is firing or not?
Prafulla ChoudharyPosted Apr 27, 2015, 8:24 AM
Vincent Maverick DuranoPosted Apr 27, 2015, 8:19 AM
Make sure that you wired up the RowDataBound event in your GridView and make sure it matches you event handler:
GridView markup:
Event handler:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e){
}