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

BeginUpdate suspend events ?

1 Answer 122 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
[Nean]
Top achievements
Rank 1
[Nean] asked on 29 Apr 2010, 09:29 AM
Hi!

I'm having some troubles with my radcombobox. In the loading of my form I add the items dynamically in my radcombobox. But when I do so, the SelectedIndexChanged event is fired. To avoid this I have try to use BeginUpdate() and EnUpdate() methods but it does nothing !
How could I supend the events while I'm loading the items of my combobox ?

Thanks in advance,

[Nean]

1 Answer, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 03 May 2010, 05:31 PM
Hi [Nean],

Thank you for writing. Unfortunately, we do not provide a simple way to do this, but you could do the following:
  1. Unsubscribe from events of the combo box.
  2. Do your actions
  3. Subscribe to events of the combo box.
I hope that this will helps.


Sincerely yours,
Dobry Zranchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
[Nean]
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Share this question
or