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
888
Inserting script during grid postback
posted

I am using the WebDataGrid and adding, deleting rows with no problem.  The issue I am having is that during an postback on the RowAdded event for the grid I am trying to use the following to insert a javascript function when the page comes back:

ScriptManager.RegisterStartupScript(this, this.GetType(), key, script, true);

The issue is the script never gets executed by the page.  I have tried this in an UpdatePanel and not.  Any ideas?