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

[Solved] Derive from GridView

2 Answers 147 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cliff
Top achievements
Rank 1
Cliff asked on 15 Dec 2010, 10:11 AM
Hi,

I need to derive from the RadGridview to provide additional functionality. I found a sample in another thread, but could not get it to compile against the latest version of the Telerik libraries. I keep getting a problem "telerik:RadGridView.Columns" is not declared as an attachable property, the namespace definition is  xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

My derived grid class is simply

public class MyGrid : RadGridView
{

}

Any help with this issue will be greatly appreciated.

Regards

Cliff.

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Dec 2010, 10:41 AM
Hello,

 I've attached small project to illustrate you how to achieve your goal. 

Greetings,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Cliff
Top achievements
Rank 1
answered on 15 Dec 2010, 12:08 PM
Hi,

Thanks for the project, it does work but I had resolved the issue just before it was sent. My problem was resolved by moving the derived grid class into the same project as the page using it.

Regards,

Cliff.
Tags
GridView
Asked by
Cliff
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Cliff
Top achievements
Rank 1
Share this question
or