Solved

AJAX Update Panel Client Javascript

Posted on 2007-04-01
2
357 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 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

16 Experts available now in Live!

Get 1:1 Help Now