Talk about a pain any help would be of great help...thank you.......also I know that somehow you can click a couple buttons to automaticlly arrange your code into the right format for instance this horrible messy code here
"LoginView2" runat="server"> Welcome Back
"LoginName1" runat="server" style="left: 1px; top: 15px; z-index: 100;" Height="23px" /> "LoginStatus1" runat="server" Style="position: static" />
To this somewhat nicer code here.
<asp:LoginView ID="LoginView2" runat="server"> <LoggedInTemplate> Welcome Back<br /> <asp:LoginName ID="LoginName1" runat="server" style="left: 1px; top: 15px; z-index: 100;" Height="23px" /> <asp:LoginStatus ID="LoginStatus1" runat="server" Style="position: static" /> </LoggedInTemplate> <AnonymousTemplate> <asp:Login ID="Login1" runat="server" BackColor="Bisque" BorderColor="#FF8000" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Bold="True" Font-Names="Palatino Linotype" Font-Size="1.3em" ForeColor="Black" Height="135px" Style="position: static" CreateUserText="Register" CreateUserUrl="~/Register.aspx" PasswordRecoveryText="Forgot Your Password?" PasswordRecoveryUrl="~/passwordRecovery.aspx"> <TitleTextStyle BackColor="#FF8000" Font-Bold="True" Font-Size="0.9em" ForeColor="White" /> <InstructionTextStyle Font-Italic="True" ForeColor="Black" /> <TextBoxStyle Font-Size="0.8em" /> <LoginButtonStyle BackColor="#FF8000" BorderColor="#FF8000" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="White" /> <CheckBoxStyle BackColor="Transparent" /> <HyperLinkStyle ForeColor="RoyalBlue" /> </asp:Login> </AnonymousTemplate> </asp:LoginView>if you know they way to do this please let me know that might be my problem things not lining up...
P.S. my code does not look like the first example LOL
Sorry everyone I just figured this whole thing out after working on it literally for the past 5 hours haha but if you want to learn about this problem and how to incorporate <form runat=server> Tags in a masterpage and use content pages that also run off that tag then go to my very last post located here.
http://forums.asp.net/thread/1379460.aspx
Thanks.
0 comments:
Post a Comment