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. Problem with calling Javascript when using UpdatePanel AJAX

Problem with calling Javascript when using UpdatePanel AJAX

Scheduled Pinned Locked Moved ASP.NET
helpquestioncsharpjavascriptasp-net
3 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.
  • F Offline
    F Offline
    Faisal Khatri
    wrote on last edited by
    #1

    HI, I am creating a questionair form. For that, I have a bunch of radioList inputs on my page. Those are ASP.NET controls. I am trying to call a javascript method which i have defined at the top of the page. But it fails to call that method and gives me some sort of a system is undefined error. I want to implement that if someone select an option 1 from radiobuttonlist control it should display an image. and if option 2 is selected text should be displayed. So how can i call a javascript method ?? please help.

    P 1 Reply Last reply
    0
    • F Faisal Khatri

      HI, I am creating a questionair form. For that, I have a bunch of radioList inputs on my page. Those are ASP.NET controls. I am trying to call a javascript method which i have defined at the top of the page. But it fails to call that method and gives me some sort of a system is undefined error. I want to implement that if someone select an option 1 from radiobuttonlist control it should display an image. and if option 2 is selected text should be displayed. So how can i call a javascript method ?? please help.

      P Offline
      P Offline
      Petr Pechovic
      wrote on last edited by
      #2

      Hi, just debug it using Visual Studio or IE developer tool.

      Petr Pechovic my latest articles: Web Page Loading in Steps - ASP.NET Solution[^] Buttons, Message Box and Confirm Box in ASP.NET 3.5[^]

      F 1 Reply Last reply
      0
      • P Petr Pechovic

        Hi, just debug it using Visual Studio or IE developer tool.

        Petr Pechovic my latest articles: Web Page Loading in Steps - ASP.NET Solution[^] Buttons, Message Box and Confirm Box in ASP.NET 3.5[^]

        F Offline
        F Offline
        Faisal Khatri
        wrote on last edited by
        #3

        I have few issues. I checekd it and found that it is calling to JAvascript methid, but the problem is that that UpdatePanel does not show the complete HTML. It hides most of the stuff. So how to deal with that.

        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