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

appendData() on server side

1 Answer 56 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 05 Dec 2014, 09:06 AM
Hi 

Is there any way to achieve this? i would like to have a 'load more' button at the end of the list which posts back to server and then adds more data. 
This needs to be server side and NOT javascript please.

Thanks in advance!

Regards
Sean

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 10 Dec 2014, 09:58 AM
Hello Sean,

In order to achieve the required functionality you can simply bind the RadListView control using NeedDataSource event. Then in the server ButtonClick event you can modify the DataSet on the SQL query passed for the ListView and call Rebind() for the control.

Regards,
Maria Ilieva
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ListView
Asked by
Sean
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or