Small detail - Login.aspx x Register.aspx

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/16/2010 8:07:45 PM
Gravatar
Total Posts 70

Small detail - Login.aspx x Register.aspx

Hi Joe,

I've just noticed that in register.aspx, you are using <asp:button> and not <portal:mojoButton>. Any reason for that? 

8/17/2010 6:38:37 AM
Gravatar
Total Posts 18439

Re: Small detail - Login.aspx x Register.aspx

Unfortunately is doesn't work, the CreateUserWizard is in control of those buttons. In fact the register button is created completely by the wizard so we have no access to make it a mojoButton, the continue button exists in markup inside the wizard but changing it to mojobutton has no effect, it just renders as a button.

Best,

Joe

8/17/2010 6:02:38 PM
Gravatar
Total Posts 70

Re: Small detail - Login.aspx x Register.aspx

Thanks Joe ...

Adding the following class=" jqbutton jqbutton ui-button ui-widget ui-state-default ui-corner-all" to the button will give it the "looks" of mojoButton and would solve my needs. I'll try it out tonight ... you think you could keep this in trunk? (removing the style="font-weight:bold;" and let it to css would be fine too  - if possible)

8/18/2010 6:37:30 AM
Gravatar
Total Posts 18439

Re: Small detail - Login.aspx x Register.aspx

Hi Bruno,

I came up with a solution for this. If you get the latest code from the repository and then add this to the theme.skin file for your skin:

<asp:CreateUserWizard runat="server"
CreateUserButtonStyle-CssClass="jqbutton ui-button ui-widget ui-state-default ui-corner-all"
ContinueButtonStyle-CssClass="jqbutton ui-button ui-widget ui-state-default ui-corner-all"
FinishCompleteButtonStyle-CssClass="jqbutton ui-button ui-widget ui-state-default ui-corner-all"
StartNextButtonStyle-CssClass="jqbutton ui-button ui-widget ui-state-default ui-corner-all"
/>

Best,

Joe

8/18/2010 6:18:18 PM
Gravatar
Total Posts 70

Re: Small detail - Login.aspx x Register.aspx

Thanks JOE !!! Just what I needed !!! 

You must sign in to post in the forums. This thread is closed to new posts.