BeginUpdate suspend events ?

2 posts, 0 answers
  1. [Nean]
    [Nean] avatar
    42 posts
    Member since:
    Mar 2009

    Posted 29 Apr 2010 Link to this post

    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]
  2. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 03 May 2010 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top