I need to create a grid that is filled from a custom objectdatasource. It should have no pager but when I scroll down (or up) it should dynamically load the appropriate data. I looked through all the examples but since they all use some sort of SQL I could not get them to work for me.
Are there any examples available with a custom objectdatasource?
Regards,
Rainer
Are there any examples available with a custom objectdatasource?
Regards,
Rainer
4 Answers, 1 is accepted
0

Rainer
Top achievements
Rank 1
answered on 06 Feb 2014, 02:10 PM
I forgot to mention that I am working with Radcontrols for ASP.NET AJAX using C# as language for code behind, sorry.
0
Hello Rainer,
For achieving the desired result you could use the Virtualization functionality of the grid. Detailed information and online demo are available at the following links:
Additionally, for your convenience I am attaching a sample project with RadGrid using the virtualization functionality and bound to ObjectDataSource control. Please refer to the attached files and see if the result meets your requirements.
Regards,
Konstantin Dikov
Telerik
For achieving the desired result you could use the Virtualization functionality of the grid. Detailed information and online demo are available at the following links:
- Grid - Virtualization (demo)
- Grid - Virtualization (help)
Additionally, for your convenience I am attaching a sample project with RadGrid using the virtualization functionality and bound to ObjectDataSource control. Please refer to the attached files and see if the result meets your requirements.
Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0

Rainer
Top achievements
Rank 1
answered on 04 Mar 2014, 03:09 PM
Hello Konstantin,
thanks for your reply. I came around to try it but unfortunately I get an exception:
Parser Error Message: Type 'Telerik.Web.UI.GridClientSettings' does not have a public property named 'Virtualization'.
Source Error:
Line 8: <ClientSettings>
Line 9: <Virtualization EnableVirtualization="true" InitiallyCachedItemsCount="500" ItemsPerView="100"/>
Line 10: <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="500px" />
Line 11: <Resizing AllowColumnResize="true" />
Can you tell me what I'm doing wrong here?
Regards,
Rainer
thanks for your reply. I came around to try it but unfortunately I get an exception:
Parser Error Message: Type 'Telerik.Web.UI.GridClientSettings' does not have a public property named 'Virtualization'.
Source Error:
|
Line 9: <Virtualization EnableVirtualization="true" InitiallyCachedItemsCount="500" ItemsPerView="100"/>
Line 10: <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="500px" />
Line 11: <Resizing AllowColumnResize="true" />
Can you tell me what I'm doing wrong here?
Regards,
Rainer
0

Shinu
Top achievements
Rank 2
answered on 05 Mar 2014, 03:48 AM
Hi Rainer,
You have to update to the latest version to obtain the Virtualization functionality. RadGrid Virtualization of remote data on the client was introduced in Q3 2013 BETA (version 2013.3.926). Check here for details on Release History.
Thanks,
Shinu
You have to update to the latest version to obtain the Virtualization functionality. RadGrid Virtualization of remote data on the client was introduced in Q3 2013 BETA (version 2013.3.926). Check here for details on Release History.
Thanks,
Shinu