Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7697729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:04:49+00:00 2026-05-31T22:04:49+00:00

From the documentation here http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.login.layouttemplate.aspx i had customized the user interface of login control

  • 0

From the documentation here http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.login.layouttemplate.aspx i had customized the user interface of login control through layout template like below

<LayoutTemplate>
                    <h3 class="login-title page-header">
                        <asp:Literal runat="server" ID="loginHeading" Text="Sign-in"></asp:Literal>
                    </h3>
                    <div class="clearfix">
                        <asp:Label runat="server" ID="lblUserName" Text="Username" AssociatedControlID="UserName"></asp:Label>
                        <div class="input">
                            <asp:TextBox runat="server" ID="UserName"></asp:TextBox>
                            <asp:RequiredFieldValidator runat="server" ID="rfvTxtUserName" ErrorMessage="Username is required"
                                ControlToValidate="UserName" Text="Username is required"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="clearfix">
                        <asp:Label runat="server" Text="Password" AssociatedControlID="Password"></asp:Label>
                        <div class="input">
                            <asp:TextBox runat="server" ID="Password" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator runat="server" ID="rfvTxtPassword" ErrorMessage="Password is required"
                                ControlToValidate="Password" Text="Password is required"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="clearfix">
                        <asp:Label runat="server" Text="Remember Me" AssociatedControlID="RememberMe"></asp:Label>
                        <div class="input">
                            <input type="checkbox" runat="server" id="RememberMe" />
                        </div>
                    </div>
                    <div class="actions action-fix">
                        <asp:Button runat="server" ID="Login" Text="Login" CssClass="btn success small" />
                        <input type="reset" class="btn small" value="reset" />
                    </div>
                </LayoutTemplate>

as you can see i did name the control ID as required by the control. Also i use CSS Friendly control adapter for rendering the Login control.

The Problem

It just happens after user types username and password and submits the details nothing happens the page just reloads causing a postback.

  • What am i doing wrong here

info:
more problem seems to be more prominent for users using LoginControlAdapter look here http://forums.asp.net/t/1043974.aspx/2/10

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:04:50+00:00Added an answer on May 31, 2026 at 10:04 pm

    you must be missing CommandName paramter

      <asp:button id="Login" CommandName="Login" runat="server" Text="Login"></asp:button>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As per the instructions here: http://developer.apple.com/library/mac/#documentation/MusicAudio/Conceptual/CoreAudioOverview/WhatisCoreAudio/WhatisCoreAudio.html#//apple_ref/doc/uid/TP40003577-CH3-SW1 It says: The Core Audio SDK assumes you
I've read the Django documentation here: http://docs.djangoproject.com/en/dev/ref/forms/validation/ I've also browsed a number of search
I've installed the ElementTree library from here: http://effbot.org/zone/element.htm in python 2.7. I've parsed in
I've seen many posts about the Google Geocoding API, described here: http://code.google.com/apis/maps/documentation/geocoding/ but none
According to the NHibernate Validator documentation here: http://nhforge.org/wikis/validator/nhibernate-validator-1-0-0-documentation.aspx I should be able to pass
I used the instructions from here: http://www.playframework.org/documentation/1.2.1/i18n and created files for different languages. I
I'm trying out the example Hello World from this link here: http://www.mulesoft.org/documentation/display/MULE2INTRO/Quick+Start I have
I have a user input form here: http://www.7bks.com/create (Google login required) When you first
From Don Syme blog ( http://blogs.msdn.com/b/dsyme/archive/2010/01/10/async-and-parallel-design-patterns-in-f-reporting-progress-with-events-plus-twitter-sample.aspx ) I tried to implement a twitter stream
I can't seem to find any useful documentation from Microsoft about how one would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.