gridview1_RowCancelingEdit and gridview1_RowUpdating events not firing [Resolved]

Posted by Pallubhosale under ASP.NET on 1/6/2015 | Points: 10 | Views : 3304 | Status : [Member] | Replies : 3
Hi ,

gridview1_RowCancelingEdit and gridview1_RowUpdating events are not firing.
Below is the code

protected void gridview1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{

gridResults.EditIndex = -1;
CreateTable();
}

Pallavi


Responses

Posted by: vishalneeraj-24503 on: 1/6/2015 [Member] [MVP] Platinum | Points: 50

Up
0
Down

Resolved
Hi,
Have you enabled RowCancelingEdit event of gridview and all other event,which you want?
Kindly check it once.

Pallubhosale, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pallubhosale on: 1/6/2015 [Member] Starter | Points: 25

Up
0
Down
I found it. It is because of wrong coding in gridview1_RowCreated.
Thanks for reply

Pallavi

Pallubhosale, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: vishalneeraj-24503 on: 1/7/2015 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Hi,
Kindly mark as answer if it helps you.

Pallubhosale, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response