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

[Solved] Replacing Gridview with RadGrid with out modifying gridview events

3 Answers 310 Views
Grid
This is a migrated thread and some comments may be shown as answers.
phanindra G
Top achievements
Rank 1
phanindra G asked on 26 Nov 2009, 09:18 AM
Hi forum Members

Here we are in a thought of having some new features (say Filtering, sorting & paging) to existing "Gridview" which was implemented across our application, which contains more than 200 pages where we used all sort of asp.net "Gridview" events.

 

Replacing of GridView with RadGrid results in lot of code change across the application which stops us to move forward.we are looking for a solution whether telerik can provide a control(RadGrid) which supports the above mentioned features & existing Gridview events.

 

 

Thanks

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 27 Nov 2009, 08:02 AM
Hi phanindra G,

Although our web grid is built on top of the MS GridView control and the migration process should be pretty straight forward as illustrated here:

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/migration/defaultcs.aspx

the server API of RadGrid is a bit different from that of the MS control and you will need to apply some modifications in order to make it operational with our grid. Fortunately, we provide a white paper which can facilitate that process and you can find it at this location:

http://www.telerik.com/help/aspnet-ajax/radcontrols-ms-controls-visual-studio-compare.html

It exposes head-to-head comparison between the object model of RadGrid for ASP.NET AJAX and the regular MS GridView. I hope that you will find it helpful.

Regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
phanindra G
Top achievements
Rank 1
answered on 27 Nov 2009, 09:37 AM
Hi Sebastian

Thanks for the reply, we have gone through the information provided and the migration process is straight forward where it requires code change across our Application (more than 200 places) which requires re-doing of development process.

Requirement: Need to have sorting, filtering & paging for our existing GridView without recoding the code-behind involved in MS GridView events (say RowDataBound, Handling DataKeyNames etc...)

My question is whether Telerik can provide a "Control" (DLL) which can acts as MS GridView (not disturbing the existing events handled) as well as having basic features (Sorting, paging & filtering) like RadGrid.

Thanks & Regards
Phani
Zagma Solutions ( Development Team )



0
Sebastian
Telerik team
answered on 02 Dec 2009, 12:05 PM
Hi phanindra G,

You may consider inheriting the Telerik grid (general directions can be found here) and exposing events/properties with signature equal to that of the MS GridView for your inherited grid version. Those properties/events can set or get/raise the respective RadGrid properties/events. Then you can add the inherited grid on your pages and keep the code implementation as is.

Greetings,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
phanindra G
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
phanindra G
Top achievements
Rank 1
Share this question
or