LoginControl's loginButton alignment

Last post 04-10-2008 6:24 AM by Idsa. 4 replies.

Sort Posts:

  • LoginControl's loginButton alignment

    04-08-2008, 1:03 AM
    • Member
      46 point Member
    • Idsa
    • Member since 02-07-2008, 7:17 AM
    • Russia, Tomsk
    • Posts 146

    I can't see any option for LoginButton alignment at membership login control. Of course, I can use CssClass option... but I don't like creating css only for alignment. 

  • Re: LoginControl's loginButton alignment

    04-08-2008, 2:08 AM
    • Contributor
      2,772 point Contributor
    • thirumaran007
    • Member since 03-14-2007, 5:39 AM
    • India
    • Posts 571

    Hi,

    You can’t align the login control instead of align you can change orientation property As Vertical or Horizontal.

      

     

    With Friendly,
    Thirumaran

    Please remember to click "Mark as Answer" on this post if it helped you
  • Re: LoginControl's loginButton alignment

    04-09-2008, 1:00 AM
    • Member
      46 point Member
    • Idsa
    • Member since 02-07-2008, 7:17 AM
    • Russia, Tomsk
    • Posts 146

    Hm... But orientation property doesn't influence on alignment...

  • Re: LoginControl's loginButton alignment

    04-10-2008, 4:10 AM
    Answer

    Idsa:

    I can't see any option for LoginButton alignment at membership login control. Of course, I can use CssClass option... but I don't like creating css only for alignment

     

    Hi

    Could you specify the problem more clearly, what about customize the Login control with LayoutTemplate, this way you can set the alignment in table row which contains the LoginButton .

    For example: 

    <asp:Login ID="Login1" runat="server">
                <LayoutTemplate>
                    <table border="0" cellpadding="1" cellspacing="0" 
                        style="border-collapse:collapse;">
                                       .......
                                        <td   colspan="2" align=left>
                                            <asp:Button ID="LoginButton" runat="server" CommandName="Login" 
                                                Text="Log In" ValidationGroup="Login1" />
                                        </td>
                                        .......
                    </table>
                </LayoutTemplate>
            </asp:Login>
    
    
     
    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: LoginControl's loginButton alignment

    04-10-2008, 6:24 AM
    • Member
      46 point Member
    • Idsa
    • Member since 02-07-2008, 7:17 AM
    • Russia, Tomsk
    • Posts 146

    XiaoYong Dai – MSFT:
    what about customize the Login control with LayoutTemplate
     

     Yes, I have solved this problem this way. But I was suprised with the fact that LoginButtonStyle doesn't conain the appropriate property.

Page 1 of 1 (5 items)