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

[Solved] Create a base grid class for a project

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Navneet
Top achievements
Rank 1
Navneet asked on 10 Apr 2012, 03:02 PM
Hi,

How can I create a base Grid class from MVC Grid to have the following functionality?

1) Popup Edit mode
2) Sortable
3) Filiterable
4) Resizable
5) Scrollable
6) Bind Default client events
7) Data Key of PKID (This is common for all my Grid models)
8) AJAX binding
...

etc.

I created a class by inheriting from Telerik.Web.Mvc.UI. Grid<T>. By I am not clear on how to set the properties.
 public class BaseGrid<T> : Grid<T> where T : EQ2HEMSEF.Entities.EQ2ListBaseEntity
{
    
}

The reason being, my views will be lot smaller and will give me a centralized place to implement common behavior.

Thanks in advance.
Navneet

1 Answer, 1 is accepted

Sort by
0
Navneet
Top achievements
Rank 1
answered on 16 Apr 2012, 02:10 PM
Anyone!!
Tags
Grid
Asked by
Navneet
Top achievements
Rank 1
Answers by
Navneet
Top achievements
Rank 1
Share this question
or