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

Lazy Loading

4 Answers 362 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Boone
Top achievements
Rank 2
Boone asked on 03 Dec 2009, 03:51 PM
We want to have a drop down of 'equipment types'. This is a fairly big list so we would like to lazy load it. The issue we are having is if we do lazy load you can't restrict what they type.

Is there some kind of work around to get AllowCustomText =false with load on demand?

4 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 03 Dec 2009, 07:27 PM
Hi Boone,

You can achieve this by handling the client-side Load event of the RadComboBox as shown below:

function onLoad(sender) {
    sender.get_inputDomElement().readOnly = "readonly";
}

Regards,
Simon
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Boone
Top achievements
Rank 2
answered on 03 Dec 2009, 07:56 PM
That removes a key piece of functionality though. We still want the google like suggestions that show up.

If we have a list of chevy, ford, gmc, dodge and type ch in the drop down, the chevy should be the only one in the list.
0
Schlurk
Top achievements
Rank 2
answered on 03 Dec 2009, 08:42 PM
I believe this article can help you out a bit :)
0
Simon
Telerik team
answered on 04 Dec 2009, 09:12 AM
Hello Boone,

You can also use the second approach described in this help article.

All the best,
Simon
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
Boone
Top achievements
Rank 2
Answers by
Simon
Telerik team
Boone
Top achievements
Rank 2
Schlurk
Top achievements
Rank 2
Share this question
or