ScriptManager.RegisterClientScriptBlock issue
-
This is a weird thing I never seen. Hoping somebody got the solution. So I have a asp .net page with an UpdatePanel. Inside that I have a dropdownlist and a button. In the On Page Load I populate the dropdownlist and have a value selected. On the button click even I register a clientscript something like this ScriptManager.RegisterClientScriptBlock(Page, this.GetType(), "Alert", "alert(hello')", true); Problem part: When I click on the button, the alert goes on, then I cannot select anything on the dropdownlist. And this seem to happen with Mozilla only. IE is behaving ok with this.
You get the best out of others when you give the best of yourself.
-
This is a weird thing I never seen. Hoping somebody got the solution. So I have a asp .net page with an UpdatePanel. Inside that I have a dropdownlist and a button. In the On Page Load I populate the dropdownlist and have a value selected. On the button click even I register a clientscript something like this ScriptManager.RegisterClientScriptBlock(Page, this.GetType(), "Alert", "alert(hello')", true); Problem part: When I click on the button, the alert goes on, then I cannot select anything on the dropdownlist. And this seem to happen with Mozilla only. IE is behaving ok with this.
You get the best out of others when you give the best of yourself.
trilokharry wrote:
the alert goes on, then I cannot select anything on the dropdownlist
What do mean by alert goes on? Is that alert is never removed? What do mean by unable to select anything, what behaviour you are facing here? Page hanged? Unable to do anything? Also, check view source in Firefox, if you find anything unusual.