# if you using this update pannel so apply :
OnClientClick="return onlineschoolvalid();" for validation .
this is working as a ajax method:
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering ="true"></asp:ScriptManager>
<asp:UpdatePanel ID ="uppanel" runat ="server" ChildrenAsTriggers ="true" UpdateMode="Conditional" >
<ContentTemplate>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
OnClientClick="return onlineschoolvalid();" for validation .
this is working as a ajax method:
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering ="true"></asp:ScriptManager>
<asp:UpdatePanel ID ="uppanel" runat ="server" ChildrenAsTriggers ="true" UpdateMode="Conditional" >
<ContentTemplate>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
No comments:
Post a Comment