Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ScriptManager.RegisterClientScriptBlock issue

ScriptManager.RegisterClientScriptBlock issue

Scheduled Pinned Locked Moved ASP.NET
helpcsharp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    trilokharry
    wrote on last edited by
    #1

    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.

    S 1 Reply Last reply
    0
    • T trilokharry

      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.

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups