We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

DataSourceControlRowUpdating event not firing

Thread ID:

Created:

Updated:

Platform:

Replies:

71175 Jan 20,2008 01:59 AM Jan 22,2008 05:38 AM ASP.NET Web Forms (Classic) 4
loading
Tags: GridGroupingControl
Emmanuel
Asked On January 20, 2008 01:59 AM

Hi,

I'm using GridGroupingControl and I set the row update event like this,

this.GridGroupingControl1.DataSourceControlRowUpdating += new GridDataSourceControlRowUpdateEventHandler(this.RowUpdating);

where RowUpdating is a private method for updating my database. Unfortunately the event didn't fire up.


Emmanuel
Replied On January 21, 2008 05:46 AM

I think there is a problem with template columns on this one. I tried to insert a data with a template column and a dropdownlist inside and it works fine but for some reason during edit/update it will not work.


Vishnu Kumar [Syncfusion]
Replied On January 21, 2008 07:54 AM

Hi Emmanuel,

Thank you for posting your query to us.

Issue 1 :where RowUpdating is a private method for updating my database. Unfortunately the event didn't fire up.

I am afraid that I was not able to reproduce the issue. RowUpdating event is fired when editing the GGC with templates. Also I have created a simple sample to test this issue and it is available in the following link.

http://websamples.syncfusion.com//samples/Grid.Web/6.1.0.34/71175/main.htm

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample and send us modified sample so that we could sort out the cause of the issue and provide you a solution?

Regards,
Vishnu.



Emmanuel
Replied On January 21, 2008 07:49 PM

Hi Vishnu,

Kesahi.

I already solved this issue with CurrentRecordContextChange event while retaining the DataSourceControlRowUpdating event. I don't why it was not firing the DataSourceControlRowUpdating event before but all other events like Adding and Deleting are okay. Anyway thanks for the reply.

>Hi Emmanuel,

Thank you for posting your query to us.

Issue 1 :where RowUpdating is a private method for updating my database. Unfortunately the event didn't fire up.

I am afraid that I was not able to reproduce the issue. RowUpdating event is fired when editing the GGC with templates. Also I have created a simple sample to test this issue and it is available in the following link.

http://websamples.syncfusion.com//samples/Grid.Web/6.1.0.34/71175/main.htm

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample and send us modified sample so that we could sort out the cause of the issue and provide you a solution?

Regards,
Vishnu.





Vishnu Kumar [Syncfusion]
Replied On January 22, 2008 05:38 AM

Hi Emmanuel,

Thank you for your update.

Please let us know if you have any other concerns.

Regards,
Vishnu.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;