I have also the required .cs files in ~/App_Code/Adapters (LoginAdapter.cs).
Do I need to do anything more? Why is it genarating the tables for login control? Do I need to place link to .css file in my master? I have .css file in ~/CSS directory...
This is my login control declaration:
<asp:Login
ID="LoginConrol"
runat="server"
TitleText=""
CssClass="login_box">
<TextBoxStyle
CssClass="text"></TextBoxStyle>
</asp:Login>
I have CSS adapters generating CSS code fine for the ASP.NEt meu control, but I can't get this working for the Login control...
If I recall corectly, the original release of the CSS adapters had an issue where templated login controls were still put in a <table> wrapper, something akin to this:
This is definitevely a bug in CSS Adapters. I have removed login control from .browser file and the picture shows fine now... Here is the new output html:
Member
19 Points
1676 Posts
Problems with CSS Adapters - tables are generated for login control
Aug 06, 2007 03:16 PM|rfurdzik|LINK
I do not know why it is not gerenating DIV/CSS but tables instead. I have placed .browser file in my ~/App_Browsers:
<browser refID="Default"><
controlAdapters> <!--<adapter controlType="System.Web.UI.WebControls.Menu"adapterType="CSSFriendly.MenuAdapter" />
--><
adapter controlType="System.Web.UI.WebControls.TreeView" adapterType="CSSFriendly.TreeViewAdapter" /><
adapter controlType="System.Web.UI.WebControls.DetailsView" adapterType="CSSFriendly.DetailsViewAdapter" /><
adapter controlType="System.Web.UI.WebControls.FormView" adapterType="CSSFriendly.FormViewAdapter" /><
adapter controlType="System.Web.UI.WebControls.DataList" adapterType="CSSFriendly.DataListAdapter" /><
adapter controlType="System.Web.UI.WebControls.GridView" adapterType="CSSFriendly.GridViewAdapter" /><
adapter controlType="System.Web.UI.WebControls.ChangePassword" adapterType="CSSFriendly.ChangePasswordAdapter" /><
adapter controlType="System.Web.UI.WebControls.Login" adapterType="CSSFriendly.LoginAdapter" /><
adapter controlType="System.Web.UI.WebControls.LoginStatus" adapterType="CSSFriendly.LoginStatusAdapter" /><
adapter controlType="System.Web.UI.WebControls.CreateUserWizard" adapterType="CSSFriendly.CreateUserWizardAdapter" /><
adapter controlType="System.Web.UI.WebControls.PasswordRecovery" adapterType="CSSFriendly.PasswordRecoveryAdapter" /></
controlAdapters></
browser>I have also the required .cs files in ~/App_Code/Adapters (LoginAdapter.cs). Do I need to do anything more? Why is it genarating the tables for login control? Do I need to place link to .css file in my master? I have .css file in ~/CSS directory...
Member
19 Points
1676 Posts
Re: Problems with CSS Adapters - tables are generated for login control
Aug 06, 2007 06:25 PM|rfurdzik|LINK
I have CSS adapters generating CSS code fine for the ASP.NEt meu control, but I can't get this working for the Login control...
Member
60 Points
166 Posts
Re: Problems with CSS Adapters - tables are generated for login control
Aug 07, 2007 10:42 AM|bdemarzo|LINK
If I recall corectly, the original release of the CSS adapters had an issue where templated login controls were still put in a <table> wrapper, something akin to this:
<table>
<tr>
<td>
<!-- CSS-adapted Login HTML -->
</td>
</tr>
</table>
This issue was fixed in the CodePlex version available at http://www.codeplex.com/cssfriendly
- blog: www.sidesofmarch.com
Member
19 Points
1676 Posts
Re: Problems with CSS Adapters - tables are generated for login control
Aug 07, 2007 10:53 PM|rfurdzik|LINK
1) I have no tables on my page, jsut pure DIV/CSS
2) I have downloaded the new CSS adapters from codeplex.com
Still the same issue...
Member
19 Points
1676 Posts
Re: Problems with CSS Adapters - tables are generated for login control
Aug 07, 2007 10:56 PM|rfurdzik|LINK
This is my output HTML:
Member
19 Points
1676 Posts
Re: Problems with CSS Adapters - tables are generated for login control
Aug 07, 2007 11:02 PM|rfurdzik|LINK
It generates CSS now, but the remaing problems are:
1) No picture is shown I have Login button in ="~/App_Themes/Red_new/Images/Login.gif
2) No link "Forget your password is created"
Here is my aspx declaration:
</
asp:Login>Member
19 Points
1676 Posts
Found possible bug in CSS Adapters
Aug 08, 2007 12:30 AM|rfurdzik|LINK
This is definitevely a bug in CSS Adapters. I have removed login control from .browser file and the picture shows fine now... Here is the new output html: