Solved

AJAX Update Panel Client Javascript

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

815 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

11 Experts available now in Live!

Get 1:1 Help Now