I would like to add a button in the footer template that will retrieve the next bunch of items from the server. Is is possible to do it ?
Angel,
Could you please provide a sample that does "Load on Demand" programmatically? I am binding my WebDropDown control on the page_load event. I would like to move that code in a server-side event or a method and would like to raise/call this event/method from JavaScript. The reason I want to move, since there are other post-backs on the same page on different events and this code gets fired everytime and I can't even put a check if it is a postback or not.
I appreciate your help on this!
Thanks
Hi,
You can use the loadItems('<some filter text>') function.
var dropDown = $find(<drop down ID>);
dropDown.loadItems('text');
This will retrieve all the items that are resulting from filtering on this text.
About triggering actual load on demand programatically - yes it is also possible, use this function
"_onPagerMoreResults":
dropDown._onPagerMoreResults();
Angel