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. AJAX ISSUE...URGENT HELP REQUIRED FROM AJAX EXPERTS

AJAX ISSUE...URGENT HELP REQUIRED FROM AJAX EXPERTS

Scheduled Pinned Locked Moved ASP.NET
helpjavascriptwinformsannouncement
3 Posts 3 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.
  • S Offline
    S Offline
    Sajid A
    wrote on last edited by
    #1

    HI, I am using update panel in my application.but i am facing one issue. I have one page for new enrolment of members, and i have two user controls Step1.ascx and Step2.ascx. My functionality is that at a time olny one control is visible on the page and other will be hide. for eg when user fills all fields in step1 and press next button then step2.acsx will be be visible true and user control Step1.ascx will be visible false. all this happening at postback. both control is under update panel to avaid post back during change of visibility. On Step1.ascx i have one javascript variable var_pageName and its value is "Step1". I want to update this value during post back to "Step2" when Step2 user control visible is true and vise versa. but the problem i am facing is javascript value is not updating during postback. I had tried this with scriptManager.RegisterClientScriptBlock and also with scriptManager.RegisterStartupScriptBlock by palacing it on both Usercontrol level and also on page level. Please help as this is very urgent.

    Sajid A.

    L A 2 Replies Last reply
    0
    • S Sajid A

      HI, I am using update panel in my application.but i am facing one issue. I have one page for new enrolment of members, and i have two user controls Step1.ascx and Step2.ascx. My functionality is that at a time olny one control is visible on the page and other will be hide. for eg when user fills all fields in step1 and press next button then step2.acsx will be be visible true and user control Step1.ascx will be visible false. all this happening at postback. both control is under update panel to avaid post back during change of visibility. On Step1.ascx i have one javascript variable var_pageName and its value is "Step1". I want to update this value during post back to "Step2" when Step2 user control visible is true and vise versa. but the problem i am facing is javascript value is not updating during postback. I had tried this with scriptManager.RegisterClientScriptBlock and also with scriptManager.RegisterStartupScriptBlock by palacing it on both Usercontrol level and also on page level. Please help as this is very urgent.

      Sajid A.

      L Offline
      L Offline
      leckey 0
      wrote on last edited by
      #2

      This is the FIFTH time he has asked this question!!!!!

      Shhhhh..... http://craptasticnation.blogspot.com/[^]

      1 Reply Last reply
      0
      • S Sajid A

        HI, I am using update panel in my application.but i am facing one issue. I have one page for new enrolment of members, and i have two user controls Step1.ascx and Step2.ascx. My functionality is that at a time olny one control is visible on the page and other will be hide. for eg when user fills all fields in step1 and press next button then step2.acsx will be be visible true and user control Step1.ascx will be visible false. all this happening at postback. both control is under update panel to avaid post back during change of visibility. On Step1.ascx i have one javascript variable var_pageName and its value is "Step1". I want to update this value during post back to "Step2" when Step2 user control visible is true and vise versa. but the problem i am facing is javascript value is not updating during postback. I had tried this with scriptManager.RegisterClientScriptBlock and also with scriptManager.RegisterStartupScriptBlock by palacing it on both Usercontrol level and also on page level. Please help as this is very urgent.

        Sajid A.

        A Offline
        A Offline
        Ashish Sehajpal
        wrote on last edited by
        #3

        using AJAX dowsn't mean that anyone can change the architecture of web application.... even in AJAX postbacks occur ! but they are not visible to user .... and every postback will affect the server side controls and variables only.... how come you are supposed to update value of javascript variable to be changed ? use SESSION variables instead ... :zzz:

        Ashish Sehajpal

        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