Hi
im probably being a bit silly but i cant work out how to get this to work properly i want the notification to check on an interval , but get the data from a web service , but if there is no data from the web service i dont want it to pop anything up.
this is what i have so far
<telerik:RadNotification ID="RadNotification1" Animation="Slide" runat="server" OffsetX="-20"<br> VisibleOnPageLoad="true" OffsetY="-20" Width="250px" Height="80px" LoadContentOn="TimeInterval"<br> WebMethodName="GetWeatherForcast" WebMethodPath="../Services/EclipseService.asmx"<br> UpdateInterval="30000" AutoCloseDelay="1500" KeepOnMouseOver="true" RenderMode="Lightweight"<br> VisibleTitlebar="false" Value="rainyState" EnableRoundedCorners="true" Skin="Office2007" OnClientUpdated="OnClientUpdated"><br> </telerik:RadNotification>
and for the JS function
function OnClientUpdated(sender, args) {
var newMsgs = sender.get_value();
if (newMsgs != 0) {
sender.show();
}
}
it mostly seems to work , but i need it not to pop up anything when no data is returned from the web service ?
