This is a migrated thread and some comments may be shown as answers.

[Solved] RadFormsDecorator and Multi-ComboBox

1 Answer 127 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sven
Top achievements
Rank 1
Sven asked on 22 Apr 2009, 02:18 PM
Hi,
i have a problem with my ComboBox and the Formsdecorator. The combobox is a multiselect combobox with checkboxes.
Without the FormsDecorator the Combobox is not closed after selecting an item.
If i add the formsdecorator to the site the Combobox closes after an item is selected.
If i set the Property "DecoratedControls" on the decorator to "TextArea" it again works well (Combobox doesn t closes after selecting). If i set the property to "checkboxes" the combobox closes after being selected.

Maybe you have a nice idea how i can fix it? Is the a possibility to set the DecoratedControls prop to: All except checkboxes?

Thanks for help. I added an example below.
Greets

<body> 
   <form id="form1" runat="server">     
     
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">     
    </telerik:RadScriptManager>   
   
       <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server" DecoratedControls="Textarea"/>  
    
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="200px"   
            width="300px">  
            <telerik:RadComboBox  ID="RadComboBox1" HighlightTemplatedItems="true" Runat="server" Width="205px">  
              <Items>   
                <telerik:RadComboBoxItem Value="0" Text="one" />   
                <telerik:RadComboBoxItem Value="1" Text="two" />   
                <telerik:RadComboBoxItem Value="2" Text="three" />   
                <telerik:RadComboBoxItem Value="3" Text="four" />   
              </Items>   
             <ItemTemplate>   
                <asp:CheckBox runat="server" ID="CheckBox" Text=""/>   
             </ItemTemplate> 
             </telerik:RadComboBox> 
        </telerik:RadAjaxPanel>     
    </form>    
</body> 

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 24 Apr 2009, 05:57 PM
Hi Sven,

Yes, you could set the ControlsToSkip property of the RadFormDecorartor to CheckBoxes.

Kind regards,
Simon
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ComboBox
Asked by
Sven
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or