Issue using Intersoft WebCombo

1 reply. Last post: January 31, 2010 10:48 PM by Glenn Layaar
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

We tried to use a CSS class for Intersoft WebCombo with a CSS class and the results were pretty strange.

We already have a CSS that we use for most controls (a plain black-and-white set of colors):

.OwColor_Normal

{

background-color: white; color: Black; border: solid 1px Black;

}

 

I tried to set this CSS class on a WebCombo,with the code below:

displayedCombo.UseDefaultStyle = true;

true; foreach (var styleCrt in new DynamicStyle[] {

displayedCombo.LayoutSettings.DropDownStyle,

displayedCombo.LayoutSettings.FrameStyle,

displayedCombo.LayoutSettings.MoreButtonStyle,

displayedCombo.LayoutSettings.TextBoxStyle

})

{

styleCrt.Active.CssClass =
"OwColor_Normal"; styleCrt.Normal.CssClass = "OwColor_Normal"; styleCrt.Over.CssClass = "OwColor_Normal";

}

 

The WebCombo was displayed wrong, with a "6" instead of the drop down button and a couple of other issues.

Any idea how to get the WebCombo to display right, and still use a CSS class?

All times are GMT -5. The time now is 2:37 AM.
Previous Next