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

RadComboBox

1 Answer 76 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Iraj
Top achievements
Rank 1
Iraj asked on 07 Jul 2008, 05:49 PM

I am new to RadControl. What I want to do is when a user enters a store id on the radcombox to find it and If I can not find it alert the user the store id is not a valid store id using client side javascript. I used the sample javascript with no luck.  I get the error  "Object doesn't support this property or method". however when I examine combo object I see the method findItemByvalue. what am I doing wrong.

Thanks

function onClientSelectedIndexChanged(sender, eventArgs)

{

var combo = $find("ddlStoreID");

var text = eventArgs.get_item().get_text();

var item = combo.findItemByvalue(text);

 

1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 08 Jul 2008, 06:54 AM
Hi Iraj,

Try using of combo.findItemByValue(text); instead of combo.findItemByvalue(text);

Hope this helps.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
Iraj
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or