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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PostBackOnRowDblClick has no effect

Thread ID:

Created:

Updated:

Platform:

Replies:

78176 Dec 2,2008 03:00 PM UTC Dec 3,2008 08:45 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Alexey Zimarev
Asked On December 2, 2008 03:00 PM UTC

Whe I set PostBackOnRowDblClick="true" the event OnSelectedRecordsChanged doesn't fire. It only works when PostBackOnFocusedChanged is also set to true which I don't want. I need that if the user double clicks the row, some event fires on server side. How can I do that?


Rajarajeswari S [Syncfusion]
Replied On December 3, 2008 08:45 AM UTC

Hi Alexey,

Thanks for using Syncfusion products.

Usually when you double click on a record, it enters into the Edit mode, that time CurrentRecordContextChange event will get triggered, there we could check for the action and have our code. Please refer the below cod esnippet which illustrates this:

this.GridGroupingControl1.CurrentRecordContextChange += new CurrentRecordContextChangeEventHandler(GridGroupingControl1_CurrentRecordContextChange);

void GridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
{
if (e.Action == CurrentRecordAction.BeginEditCalled)
{
//Code
}
}


OnSelectedRecordChanged event will fire only when the PostBackOnFocusedChanges is set to true.

Please try the above and let us know if this helps you out.

Regards,
Raji



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.

Warning Icon 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.Close Icon

;