Unbound WebCombo Selected Row Not Highlighted

6 replies. Last post: November 22, 2009 8:15 PM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
A YousifMember

Our unbound WebCombo does not show the default item as selected.  I've attached a short video to demonstrate the issue.  Also, I've included our skin file settings and the specific CSS for the SelectedRowStyle below.

.skin file:

<PRISM:PrismComboBox 
    runat="server"  
    AllowAutoDataCaching="true"
    LayoutSettings-AllowAddItem="false"
    LayoutSettings-AllowNavigationOnMouseWheel="true"
    LayoutSettings-AllowTextWrapping="false" 
    LayoutSettings-AlwaysShowAllRowsOnDropdown="true" 
    LayoutSettings-AlwaysShowHelpButton="false" 
    LayoutSettings-ColumnStyle-CssClass="ComboBoxFrame"
    LayoutSettings-ComboMode="SingleColumn"
    LayoutSettings-DropDownStyle-Active-CssClass="ComboBoxDropDown"
    LayoutSettings-DropDownStyle-Normal-CssClass="ComboBoxDropDown"
    LayoutSettings-DropDownStyle-Over-CssClass="ComboBoxDropDown" 
    LayoutSettings-EntryMode="Default"
    LayoutSettings-FrameStyle-Active-CssClass="ComboBoxFrame" 
    LayoutSettings-FrameStyle-Normal-CssClass="ComboBoxFrame" 
    LayoutSettings-FrameStyle-Over-CssClass="ComboBoxFrame" 
    LayoutSettings-ResultBoxStyle-CssClass="ComboBoxResultBox"
    LayoutSettings-ResultFrameStyle-CssClass="ComboBoxResultFrame" 
    LayoutSettings-RowStyle-Active-CssClass="ComboBoxActiveRow" 
    LayoutSettings-RowStyle-Normal-CssClass="ComboBoxNormalRow" 
    LayoutSettings-RowStyle-Over-CssClass="ComboBoxOverRow" 
    LayoutSettings-SelectedRowStyle-CssClass="ComboBoxSelectedRow" 
    LayoutSettings-StatusBoxStyle-CssClass="ComboBoxStatusBox"
    LayoutSettings-TextBoxStyle-Active-CssClass="ComboBoxTextBox" 
    LayoutSettings-TextBoxStyle-Normal-CssClass="ComboBoxTextBox" 
    LayoutSettings-TextBoxStyle-Over-CssClass="ComboBoxTextBox"  
    Height="18px" 
/>

.css style (modified for sample video - note that modification has no impact):

.ComboBoxSelectedRow
{
	background-color: #DDCCBB;
	font-size: 14pt;
	font-Family: Calibri;
	font-weight: bold;
	color: #ff0000;
}

.css style normal setting:

.ComboBoxSelectedRow
{
	background-color: #DDCCBB;
	font-size: 10pt;
	font-Family: Calibri;
	font-weight: lighter;
	color: #666666;
}

Our PrismComboBox derives from ISNet.WebUI.WebCombo.WebCombo.  We don't have any issues when the combo is bound to data, only when unbound for whatever reason.

I did test it with a generic WebCombo that uses the default style and it works just fine that way.  I poked around to see if there's a property we may have missed, but haven't been able to pin it down to anything specific other than the LayoutSettings.SelectedRowStyle.

I hope you can help.   Thanks.

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