Subclassing the Grid control

  • Thread starter Thread starter Tom Libby
  • Start date Start date
T

Tom Libby

I am building base controls (TextBox, Button, ListBox, etc) with VS 2003 CF.
I am able to get the controls I create in the toolbox and drag them onto a
form in the designer, except for the Grid control I created, that is grayed
out in the toolbox.



What do I need to do to get the Grid control I created to be able to design
it visually in the IDE? Or is this not possible?



Thanks

Tom
 
Did you include these assemblies when building design time version of
your DataGrid's assembly:

1. System.Data.DLL
2. ...CompactFrameworkSDK\v1.0.5000\Windows
CE\Designer\System.CF.Windows.Forms.DataGrid.DLL
 
.... in addition, see this thread:
http://groups.google.com/group/micr...6ded10d075d/d93d2387b4fda2ac#d93d2387b4fda2ac


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Sergey said:
Did you include these assemblies when building design time version of
your DataGrid's assembly:

1. System.Data.DLL
2. ...CompactFrameworkSDK\v1.0.5000\Windows
CE\Designer\System.CF.Windows.Forms.DataGrid.DLL

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Tom said:
I am building base controls (TextBox, Button, ListBox, etc) with VS
2003 CF. I am able to get the controls I create in the toolbox and
drag them onto a form in the designer, except for the Grid control I
created, that is grayed out in the toolbox.



What do I need to do to get the Grid control I created to be able to
design it visually in the IDE? Or is this not possible?



Thanks

Tom
 
Thanks for the reply. Yes I did include those.
..
Sergey Bogdanov said:
Did you include these assemblies when building design time version of your
DataGrid's assembly:

1. System.Data.DLL
2. ...CompactFrameworkSDK\v1.0.5000\Windows
CE\Designer\System.CF.Windows.Forms.DataGrid.DLL

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Tom said:
I am building base controls (TextBox, Button, ListBox, etc) with VS 2003
CF. I am able to get the controls I create in the toolbox and drag them
onto a form in the designer, except for the Grid control I created, that
is grayed out in the toolbox.



What do I need to do to get the Grid control I created to be able to
design it visually in the IDE? Or is this not possible?



Thanks

Tom
 
Thanks that did it. I did not have AssemblyInfo.cs in my file list in the
..bat file.

I then had to remove the controls from the toolbox and re-add them.

Odd that the other controls showed and not the Grid.

Thanks again
Tom

Sergey Bogdanov said:
... in addition, see this thread:
http://groups.google.com/group/micr...6ded10d075d/d93d2387b4fda2ac#d93d2387b4fda2ac


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Sergey said:
Did you include these assemblies when building design time version of
your DataGrid's assembly:

1. System.Data.DLL
2. ...CompactFrameworkSDK\v1.0.5000\Windows
CE\Designer\System.CF.Windows.Forms.DataGrid.DLL

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Tom said:
I am building base controls (TextBox, Button, ListBox, etc) with VS 2003
CF. I am able to get the controls I create in the toolbox and drag them
onto a form in the designer, except for the Grid control I created, that
is grayed out in the toolbox.



What do I need to do to get the Grid control I created to be able to
design it visually in the IDE? Or is this not possible?



Thanks

Tom
 
Back
Top