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

Orphaned GridViewTemplate

3 Answers 41 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Timothy
Top achievements
Rank 1
Timothy asked on 21 Dec 2012, 12:59 AM

In my properties window I see two GridViewTemplates:

  • GridViewTemplate1
  • GridViewTemplate2

GridViewTemplate2 is not associated with either RadGridView controlsI have on the page. Is there a way to delete this orphaned GridViewTemplate without going into the designer.vb code (I only do that as a last resort)?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 21 Dec 2012, 02:31 PM
Hi Timothy,

Thank you for writing.

If you do not want to fiddle with the designer.cs file, you can open RadGridView's Property Builder from its smart tag. There you can manage templates associated with the RadGridView instance. You mentioned you have several grids on the form, you will have to check which one of them is the owner of the template.

I hope this is useful. Should you have further questions, I would be glad to help.
 
Regards,
Ivan Petrov
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Timothy
Top achievements
Rank 1
answered on 21 Dec 2012, 05:41 PM
As I said, it's not associated with either of the two grids on my form, I checked. I also checked the designer.vb file and it's not being added to either grid the way GridViewTemplate1 is. (See attached image.)

I'll just modify the designer.vb file.

Thanks

P.S. I'll see if I can duplicate the behavior and open up a ticket I can.
0
Stefan
Telerik team
answered on 24 Dec 2012, 02:29 PM
That will be great Timothy. Thank you for your cooperation.
 
Regards,
Stefan
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
GridView
Asked by
Timothy
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Timothy
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or