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

AutoPostBack property

3 Answers 192 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Eric Schoenholzer
Top achievements
Rank 2
Eric Schoenholzer asked on 12 Jan 2008, 12:51 AM
Will be there an AutoPostback property in the ComboBox?
Or how can I simulate the behavior? With the "SelectedIndexChanged" event?

I had a page with some comboboxes. When one of them changed, the page was post backed and the grid on the page was refreshed.

Thanks
Eric

3 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 14 Jan 2008, 11:25 AM
Hi Eric,

The AutoPostBack property is removed in the latest version of RadComboBox Prometheus. As soon as you hook on any of the server events requiring a postback, a postback will appear upon selecting an item. You can disable the postback for certain items by hooking on the OnClientSelectedIndeChanging event and call set_cancel(true).

All the best,
Paul
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jeff
Top achievements
Rank 1
answered on 17 Jan 2008, 01:17 AM
Hi Eric,
    I was doing something similar to what you are describing. I updated to the latest release of prometheus controls, 1/15/08, and there is now an autopostback setting that will fire the onselectedindexchanged event.

Jeff


<telerik:RadComboBox ID="RadComboBox1" runat="server" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged" 
                RadComboBoxImagePosition="Right" AutoPostBack="true"
                <Items> 
0
Nikolay
Telerik team
answered on 17 Jan 2008, 08:55 AM
Hello Jeff,

We had to restore the AutoPostBack property. Therefore, the latest RadComboBox Prometheus edition requires the combo object to be marked with AutoPostback="True" to fire the SelectedIndexChanged event.

Best wishes,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
Eric Schoenholzer
Top achievements
Rank 2
Answers by
Paul
Telerik team
Jeff
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or