Telerik blogs

 

Our ASP.NET AJAX Web Part for SharePoint 2010 featuring an extended version of Telerik’s most prominent control – RadGrid, will soon be released with the following improvements:

 

SPRadGrid Designer’s Persistence of Data-binding Parameters

Till now SPRadGrid Designer gave you the opportunity to set SPRadGrid’s data-binding information in a user-friendly manner without, however, persisting it for subsequent page requests. In this way, if you needed to just slightly adjust the structure of, for example, a multi-level hierarchical grid with each level featuring its own data-source object and parent-child relations, all of these being set through the SPRadGrid Designer, upon a new request to the page you would have to start task of specifying the grid’s data-binding parameters in SPRadGridDesigner once again from scratch. With the Q3 release there comes a remedy to this issue – regardless of whether you are requesting the given page anew, SPRadGridDesigner will take into account the grid control it is attached to and fill the designer’s UI and internal data components with the corresponding grid data-binding information.

 

SPRadGrid’s Settings Persistence

As of the Q3 release TelerikSPRadGridWebPart will give you the opportunity to persist any grid settings for subsequent visits to the page. In order to take advantage of this feature just put a check-mark to the settings persistence check-box in the Web Part’s tool part GridSettings menu:

SettingsPersistence 

Support for custom field types

SPRadGrid supports the native SharePoint field types, however, the Q3 release version is the first to sport the possibility of binding the grid to custom field types. As a consequence this will give you the chance to binding the grid to your own content types. The only requirement to keep when developing the custom field type is to specify a display mode template and not just a default one.

SPRadGrid On Its Own

And last but not least, due to our customers’ interest in employing RadGrid on its own in custom SharePoint 2010 solutions, we have implemented into the SPRadGrid control support for data-binding directly to SPList objects. You just need to pass the latter to the DataSource property of the grid in its NeedDataSource event. Naturally, the task of specifying the columns as well as the update/insert mechanism for such a grid is left to the developer. If that’s too much of a burden or time is short and project deadlines are approaching, then, just use the TelerikSPRadGridWebPart where all of this is automated. As a first stop in that process do take a look at our examples with SPRadGrid at:

http://sharepoint.telerik.com/aspnet-ajax/web-parts/Pages/default.aspx


About the Author

Iana Tsolova

is Product Manager at Telerik’s DevTools division. She joined the company back in the beginning of 2008 as a Support Officer and has since occupied various positions at Telerik, including Senior Support Officer, Team Lead at one of the ASP.NET AJAX teams and Technical Support Director. Iana’s main interests are web development, reading articles related to geography, wild nature and latest renewable energy technologies.

Related Posts

Comments

Comments are disabled in preview mode.