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

[Solved] SelectedIndexChanged fires on Button click

3 Answers 311 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Saqib
Top achievements
Rank 1
Saqib asked on 25 Jun 2009, 06:40 PM
Hi, I am using three Rad combo boxes on my page all three of them are pretty much similar with LoadOnDemand functionality. All three combo boxes has selectedindexchanged event handler beside some other event handlers. The selectedindexchanged event fires as expected but some time it fires when I click button or a checkbox button. I am trying to figure out what exactly causing this strange behaviour, because it doesn't fire every time I click button or checkbox.  If any body knows or dealt with this issue please let me know.

Thanks
Saqib

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Jun 2009, 06:26 AM
Hi Saqib,

Here is forum link which discusses  a similar issue. Go through it and see if it shed some light on this issue.
RadComboBox SelectedIndexChanged fired incorrectly

Shinu.



0
Saqib
Top achievements
Rank 1
answered on 26 Jun 2009, 06:54 PM
Thanks for the reply shinu, but the link you provided didn't solve my problem. what exactly happening is in LoadOnDemand combobox if user type a value which does not exists in the list then selectedindexchanged event doesn't fire but right after typing a string which does not exists in combo box if user press button or check the check box then first selectedinexchanged event of combo box fires then button click or check changed event fires. I am experiencing the same scenario with all three combo boxes. I have tried a lot of different things to supress this event with no avail and I really have no clue how to stop this selectedindexchanged event being fired on button click event. Is this a bug or this is a desired behavior? This behaviour is messing up my logic.
0
Yana
Telerik team
answered on 01 Jul 2009, 11:40 AM
Hello Saqib,

We're not able to help you unless you send us a simple running project illustrating the issue. Thanks in advance

Greetings,
Yana
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
Saqib
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Saqib
Top achievements
Rank 1
Yana
Telerik team
Share this question
or