Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. update panel problem

update panel problem

Scheduled Pinned Locked Moved ASP.NET
sysadmintoolshelpannouncement
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Miss Maheshwari
    wrote on last edited by
    #1

    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>&nbsp;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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups