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

ItemClick

1 Answer 65 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.
Luis
Top achievements
Rank 1
Luis asked on 12 May 2010, 12:28 PM
Hello
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
thanks

P.S.
Sorry about my english, is not good enough
 

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 15 May 2010, 01:06 PM
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,
Victor
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
Luis
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or