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?
<telerik:RadNotification ID="RadNotification1" runat="server" LoadContentOn="EveryShow"    ShowInterval="6000" OnCallbackUpdate="OnCallbackUpdate" Position="Center" VisibleTitlebar="False"    AutoCloseDelay="5000" EnableRoundedCorners="True" EnableShadow="True" Skin="Office2010Black"> </telerik:RadNotification> Protected Sub OnCallbackUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadNotificationEventArgs)     Dim sMsg As String = ""    Dim sr As System.IO.StreamReader = New System.IO.StreamReader("C:\temp\TextFile1.txt")     sMsg = sr.ReadToEnd     sr.Close()     If Not String.IsNullOrEmpty(sMsg.Trim) Then        RadNotification1.Text = sMsg     Else        RadNotification1.Visible = False    End IfEnd Sub
