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

[Solved] RadComboBox - pagination

2 Answers 208 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jonathan Annandale
Top achievements
Rank 1
Jonathan Annandale asked on 26 Nov 2009, 04:14 PM
Hi

I would like my combobox to display 10 items from a list of 100 items.
After 'onItemsRequested' I want it to only display rows 11 - 20.  But I am having trouble getting it to do this, it keeps displaying the first ten + the subsequent ten.
I have tried using
    uiCmboTier.Items.Clear();

but It still shows the previous data rows.

Any help would be more than appreciated.
I assume it should be able to do this ?  All the demos show the list growing and growing after each 'OnItemsRequested' even though they also use comboBox.Items.Clear();  ???

Thank you
Jonathan

2 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 27 Nov 2009, 07:53 AM
Hi Jonathan,

Please find attached a simple page demonstrating the needed approach. Download it and give it a try.

Regards,
Yana
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
Jonathan Annandale
Top achievements
Rank 1
answered on 27 Nov 2009, 09:04 AM
Thanks for that, the demo works as required.
I hadn't realised the importance of the clientside code, I'd assumed it could all be done on the server.

I'll plumb the demo code into mine, but it should work fine.

Thanks for the prompt reply.
Kind regards
Jonathan
Tags
ComboBox
Asked by
Jonathan Annandale
Top achievements
Rank 1
Answers by
Yana
Telerik team
Jonathan Annandale
Top achievements
Rank 1
Share this question
or