Questions tagged [clientscriptmanager]
21 questions
0
votes
2 answers
Error: Only one instance of a ScriptManager can be added to the page
I got this Error when I added ScriptManager on a "Site.Master" (Master Page)
All child webForm of site.Master that contains ScriptManager. produce this error.....
Only one instance of a ScriptManager can be added to the page.
help Thanks

Ching Chang Chung
- 215
- 1
- 5
- 14
0
votes
1 answer
Why is RegisterClientScriptInclude causing multiple page loads?
After much banging of the head and manual line-by-line code removal, I have figured out that a RegisterClientScriptInclude call inside an ASCX web control is causing multiple page_load events to fire. This only happens when the ASCX is included on…

Tom Halladay
- 5,651
- 6
- 46
- 65
0
votes
1 answer
How can I register a control with ClientScriptManager.RegisterForEventValidation
I have gridview which I need to trigger inline editing from its code behind class.
How to implement ClientScriptManager.RegisterForEventValidation.

Xdrone
- 781
- 1
- 11
- 21
0
votes
1 answer
Call to ClientScript doesnot preserve value in Controls of Web Page
I have a small problem . If page is refreshed using F5 , TextBox should preserve its old value . In Page_Load() , if i keep // Loading(); then TextBox1 preserve its old value.
As soon as i remove comment , it loose value in TextBox1 .
Please tell…

Bhushan Mahajan
- 71
- 1
- 9
0
votes
1 answer
ASP.Net & jQuery - closing a popup
I want to close a ShadowBox popup when the user clicks a button. The popup is showing a separate page in an Iframe.
This works fine with a clients-side event on the Cancel button control,…

cdonner
- 37,019
- 22
- 105
- 153
0
votes
1 answer
Unable to RegisterStartupScript from an execution other than Page_Load
I use ScriptManager.RegisterStartupScrit from Page_Load and it works perfect.
When I move the same line to the Page_Unload event, it doesn't work; the script is not registered.
Any suggestions??

Shimmy Weitzhandler
- 101,809
- 122
- 424
- 632