Advertisement
Advertisement
| 03.20.2008 at 06:45AM PDT, ID: 23256846 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: |
Dim strSuccessMsg As String = "Internal Note has been Updated!!"""
Dim strError As String = "You Do Not Have Access to Update this Internal Note"
Dim script As StringBuilder = New StringBuilder("<script language=""javascript"" type=""text/javascript"">")
' update code
' display message
script.AppendLine("function pageLoaded()")
script.AppendLine("{ alert ('" + strSuccessMsg + "'); }")
script.AppendLine("</scrip" & "t>")
If (Not ClientScript.IsClientScriptBlockRegistered(strSuccessMsg.GetType(), "pageLoadedScript")) Then
ClientScript.RegisterClientScriptBlock(strSuccessMsg.GetType(), "pageLoadedScript", script.ToString())
End If
|