Tips: Clearing Old Msg – ASP.NET

January 1, 2006

Small code but it’s useful in many situations.
Hope, you may find it useful.

btnSave.Attributes.Add("onclick", "document.all." & txtOperationMessages.ClientID & ".innerText = '';"

Note ~
- btnSave is the name of Button that the user suppose to click for clearing old message.
- txtOperationMessages is the name of control that shows message.

Tips: Clearing Old Msg – ASP.NET

posted in ASP.NET by Michael Sync

Follow comments via the RSS Feed | Leave a comment | Trackback URL

Leave Your Comment

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org