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.

How to resolve the non triggering issue of server-side events?

Problem

Server-side events does not trigger on performing Grid action.

Cause

ej.webform.min.js file and ScriptManager Control is not referred in the Project.

Solution

Non triggering issue of Server side events of Grid can be resolved by referring ej.webform.min.js script file and adding ScriptManager Control to the project.

Initial Setting Up of Grid for Server Side Events

Give the corresponding method name for the ServerSideEvents Property of Grid control in Code Behind.

ASPX

 

C#

 

ASPX

 

Article ID: Published Date: Last Revised Date: Platform: Control:
2523 08/25/2014 12/24/2014 ASP.NET Web Forms Grid
Did you find this information helpful?
Comments
Joao Almeida Oct 10, 2016
Hi,

I get an "Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/." when I Trigger the server side event on the OnServerAddRow.

can you help me out?

tahnks,
Joao
Reply
Add Comment
You must log in to leave a comment

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.