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. Image for the cookie policy date

The issue of clientsideonrecordclick

Hello Syncfusion,

Why does the focus-lightbar always go back to the first record after event ClientSideOnRecordClick firing? But the focus-lightbar stay down the record selected without firing ClientSideOnRecordClick after selecting any record and clicking Button1.

Here's partial sample code in my ASP page.

[JS]
function OnRecordClick(eData) {
__doPostBack(
'<%=this.GridGroupingControl2.ClientID %>',
'Hello'
);
}


[ASP]
ClientSideOnRecordClick="OnRecordClick(this)">
......



1 Reply

BM Bharath M Syncfusion Team June 2, 2010 09:07 AM UTC

Hi Jeren,

Thank you for your interest in Syncfusion products.

This is a default behavior of “ClientSideRecordClick” event which will be fired before the record is selected. In this case, “DoPostBack” is called before the record is selected which is the cause of non-persistence of selected record. Could you please provide us your requirement in-detail, so that we can give you the exact solution?

The information provided would be of great help in resolving the issue

Regards,
Bharath

Loader.
Live Chat Icon For mobile
Up arrow icon