Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > extended gridview direct databind OnRowUpdating event does not fire

Reply
Thread Tools

extended gridview direct databind OnRowUpdating event does not fire

 
 
wuz wuz is offline
Junior Member
Join Date: Aug 2008
Posts: 1
 
      08-10-2008
Hi,

I am facing a serious problem or even bug. I am using direct databinding on an extended gridview which i can send into edit mode with a simple <asp:CommandField ShowEditButton="True" />.

There the edit and cancele vent got triggered correctly and i take care of them

protected override void OnRowEditing(GridViewEditEventArgs e)
{
this.EditIndex = e.NewEditIndex;
RebindData();
}

protected override void OnRowCancelingEdit(GridViewCancelEditEventArgs e)
{
this.EditIndex = -1;
RebindData();
}

But unfortunately OnRowUpdating is never triggered wen i click on the generated update button.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ImageButton event doesn't fire but Button event does suzanne.boyle@gmail.com ASP .Net 4 06-13-2007 09:19 PM
Gridview Databind does not go to RowDataBound event on postback? K B ASP .Net 2 06-01-2006 12:50 PM
grideview's OnRowUpdating event not fire =?Utf-8?B?d2Vp?= ASP .Net 1 04-03-2006 03:05 PM
Datagrid events only fire if Databind is called in Page Load event sysdesigner ASP .Net Datagrid Control 1 07-02-2005 07:03 AM
BUG in DataBind? After .DataBind there are more DataGrid Items than DataSet Rows! Michael ASP .Net Datagrid Control 0 12-29-2003 07:47 PM



Advertisments