Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.84K
1 Posted Topic
Re: alert message
Use the Following Code: '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Public Shared Sub ShowAlertMessage(ByVal msg As String) 'Display javascript-alert Dim page As Page = TryCast(HttpContext.Current.Handler, Page) If page IsNot Nothing Then msg = msg.Replace("'", "\") ScriptManager.RegisterStartupScript(page, page.GetType(), "err_msg", "alert('" & msg & "');", True) End If End Sub ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' CALL THE CODE BY FOLLOWING WAY... …
The End.
rnayak