Community discussion forum

Updating variables outside updatepanel

Tags:
  • 2 months ago

     

    Hi All,

    This issue is regarding updating variables outside updatepanel. In my present scenario, i need to update the value of the hidden field variable declared in master page  based on selectedindex_changed event of the dropdownlist on the update panel..Looking forward for the solution.

    Thanks & Regards,

    Joe

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 2 months ago

     hi Prakash

    thanks for your reply. The code you ve given will work if i dont use an UpdatePanel. 

    i.e.         this.Master.FindControl("controlName")

    This is how i used to work with controls in the Master Page. 

    but the update panel changes the scenario. So is there any other way we can go about it. 

    i mean using ScriptManager.  ScriptManager.GetCurrent(this.Master)  something in this line..

     thanks 

    Joe.

Post a reply

Enter your message below

Sign in or Join us (it's free).