update panel problem
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
i have used an update panel on login page...its working fine on local but when i upload my page on net...its not working fine....the page is refreshed on every click of button....the code is..
<form id="f1" runat="server">
<atlas:ScriptManager ID="scriptmanager1" OnAsyncPostBackError="ScriptManager1_AsyncPostBackError" runat="server" ScriptPath="./Script" EnablePartialRendering="true">
</atlas:ScriptManager><div style="padding-right:30px;"> <atlas:UpdatePanel ID="upd1" UpdateMode="Conditional" RenderMode="Inline" runat="server"> <ContentTemplate> <table width="50%" border="0" align="center" cellpadding="5" cellspacing="0" class="table"> <tr> <td class="td" colspan="3" style="color: red"> <asp:Literal ID="ltrmsg" runat="server"></asp:Literal> <asp:Label ID="lblmsg" runat="server"></asp:Label></td> </tr> <tr> <td class="td"><strong>User ID </strong></td> <td width="39%" class="td"><input name="user\_id" type="text" class="form" runat="server" id="user\_id" maxlength="20" /></td> <td width="15%" rowspan="2" class="td"><input type="image" src="login.jpg" runat="server" name="Submit" value="Submit" id="Image1" onclick="return validForm();" onserverclick="Image1\_ServerClick" tabindex="2" /> </td> </tr> <tr> <td class="td"><strong> Password</strong></td> <td class="td"><input name="pass" type="password" runat="server" class="form" id="pass" maxlength="20" tabindex="1"></td> </tr> </table> </ContentTemplate> </atlas:UpdatePanel> </div> </form>
but when user enter wrong user-id or password its not showing the msg in literal ...and the page is refreshed on every click pleas