C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |



My Profile

Gifts

Active Members
TodayLast 7 Days more...









RegisterStartupScript while using AJAX Update Panel


Posted Date: 05 Feb 2008    Resource Type: Code Snippets    Category: ASP.NET WebForms

Posted By: Vanitha Govintharaj       Member Level: Gold
Rating:     Points: 10



If the update panel is used in the page then there must be a problem while using the RegisterStartupScript in code behind. In this case we don't need the "
ClientScript.RegisterStartupScript(Me.GetType, "msgstr", Msg1)


RegisterStartupScript in code behind(Update Panel is used)

		
Dim Msg2 As String
Msg2 = "alert('Welcome')"
ScriptManager.RegisterStartupScript(Page, Page.GetType(), Guid.NewGuid().ToString(), Msg2, True)





Responses

Author: Sabarees    04 Jul 2008Member Level: Gold   Points : 1
hi Vanitha,

Really it's a good one. your code was helped me exactly. thank you for posting this.

Regards
Sabarees



Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Startup script  .  Asp.net  .  Ajax  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Passing Value To a User Control From a Web Page
Previous Resource: ASP.Net Looping through from A to Z
Return to Discussion Resource Index
Post New Resource
Category: ASP.NET WebForms


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use