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

Am I going mad? MasterGridViewTemplate.ChildGridViewTemplates missing

2 Answers 172 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 04 Oct 2010, 02:34 PM
Yeah that wasn't the best subject line ever.

OK so I've added a gredview to the form.  Now I want to setup some hierarchy.  Using the help as a guideline I'm looking for the MasterGridViewTemplate property in the properties - can't find it, so going to the property builder for the grid I look in there for the ChildGridViewTemplates, no luck with that either.

I'm using the 2010 Q2 SP1 version of WinForms.... 

Any ideas what is going on?

Regards,

Jon

2 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 04 Oct 2010, 02:40 PM
Hi John, 

MasterGridViewTemplate is now MasterTemplate and ChildGridViewTemplates is now Templates. 

' E.g
            Me.GridViewProducts.MasterTemplate.Rows.Count
            Me.GridViewProducts.Templates.Count

Hope that helps
Richard
0
Jon
Top achievements
Rank 1
answered on 04 Oct 2010, 03:04 PM
Many thanks Richard,

You've gotta love out of date documentation!

Best Regards,

Jon
Tags
GridView
Asked by
Jon
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Jon
Top achievements
Rank 1
Share this question
or