Hello!
I want to build a RadListBox with loadOnDemand functionality. A requirement is that the scrollbar should be on the correct position, so in a box of 20k items, when scrolling to number 10k the scrollbar should be halfway. The dataset is available in the code-behind. So far so good.
The thing is, I need to be able to do a search its items. The search should be fired to the server, where I can determine the current position or page of the listbox by doing a search on my dataset.
For example in a separate textbox (or preferrably in some built in popup in the listbox) I want to do a search with text '200'. What should happen is the following; the listbox should load the first page with the first item beginning with '200'. The scrollbar of the listbox should still represent the current position of the total of records.
Can you give me any directions how to implement this?
Greetings,
Hoekstra
I want to build a RadListBox with loadOnDemand functionality. A requirement is that the scrollbar should be on the correct position, so in a box of 20k items, when scrolling to number 10k the scrollbar should be halfway. The dataset is available in the code-behind. So far so good.
The thing is, I need to be able to do a search its items. The search should be fired to the server, where I can determine the current position or page of the listbox by doing a search on my dataset.
For example in a separate textbox (or preferrably in some built in popup in the listbox) I want to do a search with text '200'. What should happen is the following; the listbox should load the first page with the first item beginning with '200'. The scrollbar of the listbox should still represent the current position of the total of records.
Can you give me any directions how to implement this?
Greetings,
Hoekstra