asp dropdownlist style

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.
12/7/2009 11:16:24 AM
Gravatar
Total Posts 190

asp dropdownlist style

Hi All,

This may be a stupid question. (Oh yes, there are no stupid questions, only stupid people.) But anyway, I have a feature I've added with some form elements on it. A few elements are asp dropdownlists. I haven't added any skin id to them, but they are picking up style attributes from somewhere and the CssClass attribute I specify is being ignored. I am just have no clue what's going here.

Thanks,

clueless

12/7/2009 11:20:39 AM
Gravatar
Total Posts 18439

Re: asp dropdownlist style

It's probably coming from the theme.skin file in your skin folder or if in medium trust from /App_Themes/Default/theme.skin

You can set EnableTheming="false" on the DropDownList and this will eliminate that problem so that you can use just css.

Hope it helps,

Joe

12/7/2009 11:38:58 AM
Gravatar
Total Posts 190

Re: asp dropdownlist style

Did the trick. Thanks again. I haven't much worked with skins before. (I should go do some reading)

12/7/2009 12:00:35 PM
Gravatar
Total Posts 18439

Re: asp dropdownlist style

In my opinion it is better to not use theme.skin and just use css for the reasons discussed here:

http://www.mojoportal.com/understanding-the-theme-skin-file.aspx

Best,

Joe

12/11/2009 9:20:29 AM
Gravatar
Total Posts 190

Re: asp dropdownlist style

Totally

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