I'd like to subclass RadGrid prometheus in one of our assemblies so that the grid properties are set uniformly for each client developer like so:
Thank you,
Martin.
namespace MP.Core.ControlsIt compiles just fine, but I cannot get the derived grid, MPViewGrid, to show up in the developer's toolbox. What should I do to make this happen?
{
public class MPViewGrid : Telerik.Web.UI.RadGrid
{
MPViewGrid()
{
FormatControls();
}
private void FormatControls()
{
this.AllowPaging = true;
this.AllowSorting = true;
this.GridLines = GridLines.Horizontal;
this.ShowGroupPanel = true;
}
}
}
Thank you,
Martin.