Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

AJAX Update Panel Client Javascript

Posted on 2007-04-01
2
Medium Priority
?
395 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
Edwin_C earned 2000 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

670 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