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

SelectedIndexChanged not firing

6 Answers 368 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 04 Mar 2008, 08:59 PM
I just upgraded to the latest version of the Prometheus controls and now the SelectedIndexChanged event for my RadComboBox is not firing.  Is this a bug or am I missing something?

6 Answers, 1 is accepted

Sort by
0
Dave
Top achievements
Rank 1
answered on 04 Mar 2008, 09:08 PM
I figured it out.  I had to set the AutoPostBack property to true and that did the trick.  I guess you are now requiring that the AutoPostBack property be set to true in order to fire the SelectedIndexChanged event?

FIX
AutoPostBack="true"
0
Accepted
Rosi
Telerik team
answered on 05 Mar 2008, 06:45 AM
Hello Dave Durose,

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

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Manjinder
Top achievements
Rank 1
answered on 07 Mar 2008, 10:38 AM
So that's what you call a fix?  What if i don't want to cause an autopostback on selectedindexchanged but do want to handle the selectedindexchanged event on the page postback or in my case partial page postback?  Surely selectedindexchanged should fire regardless of autopostback or not?

0
Simon
Telerik team
answered on 10 Mar 2008, 11:51 AM
Hello Jake Griffith-Sims,

SelectIndexChanged event fires always, but its event handler executes on the server, therefore a postback should be made.

In the case, when AutoPostBack property is set to true RadComboBox does a postback when the selected index is changed and the event handler executes right away. If AutoPostBack is set to false, the event handler will execute when a postback is made either by RadComboBox or another control on the page.

I hope this information helps.

Regards,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Igor Soyfer
Top achievements
Rank 1
answered on 14 May 2008, 09:17 PM
If autopostback property  set to false SelectedIndexChange event is not firing even when page is submitted by other controls. I have page set up with Save button to save all data changes and I check if change was made and I should do something based on this event.  After I replaced Telerik Prometheus (my curent version is ASPNET Q3 2007) combo box  with standard VS listbox control it works just fine. I found that telerik list controls is cumbersome to use for many reasons, at least if you do something simple it's not worth it. For ex. when you set data source control, telerik combo box won't let you select fields for value and text properties of the box , you have to type them yourself, but still would retrieve data scheme to check it popping up window to run a query. Flickering is another annoying effect when you move mouse over them.
Regular Visual Studio .net  listbox gives you dropdown to select fields to set the same properties.
I have a licence for all telerik controls so I would love to use them as much as I can but I had to remove most of them from my pages, except for the calendar , data picker and grid control, for simular reasons.
Regards,
Igor Soyfer
Washington University, St. Louis
0
Rosi
Telerik team
answered on 15 May 2008, 06:55 AM
Hi Igor Soyfer,

The problem you described existed in Q3 2007, but it was fixed in Q1 2008.

Please download attached build and test it.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
Dave
Top achievements
Rank 1
Answers by
Dave
Top achievements
Rank 1
Rosi
Telerik team
Manjinder
Top achievements
Rank 1
Simon
Telerik team
Igor Soyfer
Top achievements
Rank 1
Share this question
or