Subclassing the Grid control

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
 
S

Sergey Bogdanov

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
 
S

Sergey Bogdanov

.... 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
 
T

Tom Libby

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
 
T

Tom Libby

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top