Solved

AJAX Update Panel Client Javascript

Posted on 2007-04-01
2
345 Views
Last Modified: 2008-02-01
Hi,

I register a statrtup script when the page loads, BUT how I can I re-register this startup script when the Update panel updates as the registered startup script stops working once an update to the page has been made.

The javascript accesses a drop down menu inside the update panel and all subsequent triggers are inside this update panel too. Calling the function Register Startup script from the update panel does not seem to be working.

Does anyone have any ideas on this?

Thanks

Andrew
0
Comment
Question by:REA_ANDREW
2 Comments
 
LVL 16

Accepted Solution

by:
Edwin_C earned 500 total points
ID: 18832096
Use the static method ScriptManager.RegisterStartupScript
The syntax can be found here
http://ajax.asp.net/docs/mref/O_T_System_Web_UI_ScriptManager_RegisterStartupScript.aspx
0
 
LVL 20

Author Comment

by:REA_ANDREW
ID: 18833431
nice!!
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now