C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » AJAX »

Pop up a Message box in an Update Panel


Posted Date: 17 Jun 2008    Resource Type: Code Snippets    Category: AJAX
Author: Jaya KumarMember Level: Gold    
Rating: 1 out of 5Points: 4



You can use the following code sample to pop up a message box inside an update panel.


ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "clientScript", "alert("Saved Successfully!")", true);



Responses

Author: Kapil Dhawan    17 Jun 2008Member Level: Gold   Points : 1
Hello
Nice piece of code
Thanks for sharing your knowledge with us.
I hope to see more good code from your side
Regards,
Kapil



Author: Jaya Kumar    17 Jun 2008Member Level: Gold   Points : 0
Thanks a Lot Kapil.... will Continue....


Author: santhosh    06 Nov 2009Member Level: Bronze   Points : 1
Dear Jaya Kumar,

The Key String is unique identifier for the script block.

but you are mentioned "clientScript".

Without uniqueness if occur any problem?

please help me...



Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Update panel  .  Popup message box in update panel  .  Popup message box  .  Popup in update panel  .  

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: How to create Progress Bar Using AJAX
Previous Resource: How to Use TextBoxWatermarkExtender
Return to Discussion Resource Index
Post New Resource
Category: AJAX


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use