Use the following code for the pop up message.
aspx
asp:ScriptManager id="ScriptManager1" runat="server" EnablePartialRendering="True" />
asp:Panel ID="Panel1" runat="server">
asp:UpdatePanel id="UpdatePanel2" runat="server">
ContentTemplate>
/ContentTemplate>
/asp:UpdatePanel>
/asp:Panel>
aspx.cs
ScriptManager.RegisterClientScriptBlock(Page, Page.GetType(), Guid.NewGuid().ToString(), "alert('Thanks for contacting DGP CONTRACTING.');", true);
Tuesday, November 2, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment