Hide Notification Control

dhuss

I am using the Notification control to alert our users that are logged into our system of when we will be doing maintenance. I plan on using a simple text file (server side) that will have the contents to display. If the file has text, the notification will display it to the user. If the file is empty, then do not show the notification to the user. I have code in the "OnCallbackUpdate" sub to read the file. If the message is empty I set the notification control to visible = false. However, it still shows up on the screen. How do I make it not show when there isn't any text to display?

Svetlina Anati

1) If you decide to use OnClientUpdated, you could use LoadContentOn="TimeInterval" and UpdateInterval, no need to set any ShowInterval in this case and you will getter a better performance. A sample demo of this approah is available below:

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.