2 posts, 0 answers
  1. Luis
    Luis avatar
    23 posts
    Member since:
    Mar 2009

    Posted 12 May 2010 Link to this post

    i got this situation:
    i have a textbox and a combo, i filled the combo in the form_load event
     the combo properties:
       DisplayMember = "Test1"
       ValueMember = "Test2"

    i want when i choose a item in the combo the textbox get the SelectedValue but
    the problem with SelectedIndexChanged or SelectedValueChanged event, is this events fires even when i filled the combo
    there are any event like ItemClick or else that only fires when you click on an item not every time you filled the combo?

    if you have a query under this events, the query will be executed even if you don't want to
    and this will affect the performance of your application because if you need to update the combo values often
    the event will fire again and again

    any help

    Sorry about my english, is not good enough
  2. Victor
    Victor avatar
    1349 posts

    Posted 15 May 2010 Link to this post

    Hi Luis,

    RadComboBox does not have an ItemClick event. You can trivially workaround your query executing every time by suspending the query execution when RadComboBox is being data bound.

    Please write again if you have other questions.

    Sincerely yours,
    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. DevCraft R3 2016 release webinar banner
Back to Top