I have been using the following vb code to show an alert from the server side
Code: Visual Basic.NET
Public Shared Sub NotifyUser(ByVal Message As String)
System.Web.HttpContext.Current.Response.Write("<SCRIPT LANGUAGE=""JavaScript"">" & vbCrLf)
System.Web.HttpContext.Current.Response.Write("alert(""" & Message & """)" & vbCrLf)
System.Web.HttpContext.Current.Response.Write("</SCRIPT>")
End Sub
Since I've introduced a callbackpanel to my forms the code does not work.
Do you have a work-around for returning server messages using the callbackPanel
Thanks in advance