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

[Solved] RadComboBox not posting back

2 Answers 173 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 09 Apr 2009, 12:12 AM
I have a RadComboBox that has checkbox in it.

            <telerik:RadComboBox ID="cmbColumns" runat="server" Skin="Sunset"  Text="Show Columns" AllowCustomText="true" ToolTip="Show Columns" EnableTextSelection="false"   
                DataSourceID="ColumnsDataSource" AutoPostBack="true" EmptyMessage="Show Columns" > 
                <ItemTemplate> 
                    <asp:CheckBox ID="cbColumn" runat="server"   
                        oncheckedchanged="cbColumn_CheckedChanged" Text='<%# Eval("Column") %>'  /> 
                </ItemTemplate> 
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
            </telerik:RadComboBox> 

When the first Item checkbox is selected or deselected the combobox does not postback.

If any other checkboxes are selected or deselected the combobox does postback.

Any suggestions??

Also when the checkbox is rendered for the first time the Text "Show Columns" is displayed.  Once something is selected it changes to System.Data.DataRowView.  Is it possible to persist "Show Columns" no matter what is selected? 

2 Answers, 1 is accepted

Sort by
0
Shane
Top achievements
Rank 1
answered on 09 Apr 2009, 12:40 AM
Actually the first item checkbox posts back the first time it is selected but does not postback at all after that.
0
Veselin Vasilev
Telerik team
answered on 13 Apr 2009, 02:45 PM
Hello Shane,

Please find attached a sample project.
Download it and give it a try.

I hope this helps.

Best wishes,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
Shane
Top achievements
Rank 1
Answers by
Shane
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or