Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Inject client side code in RowUpdating handler
posted

We have a web data grid (v11.1). Inside the OnRowUpdating event we, sometimes, need to set some javascript code to be run once the call returns to the client.

Are there any examples on how to do this?

We've tried a few variations of this inside the OnRowUpdating handler with no luck:

String scriptString = "<script language=JavaScript>alert('dummy string');</script>";

Page.ClientScript.RegisterClientScriptBlock(GetType(), "xxxxxx", scriptString);

Thank you