all groups > dotnet compact framework > september 2005 >
You're in the

dotnet compact framework

group:

Subclassing the Grid control


Subclassing the Grid control Tom Libby
9/30/2005 10:49:12 AM
dotnet compact framework:
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

Re: Subclassing the Grid control Tom Libby
9/30/2005 11:21:19 AM
Thanks for the reply. Yes I did include those.
..
[quoted text, click to view]

Re: Subclassing the Grid control Tom Libby
9/30/2005 11:45:34 AM
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

[quoted text, click to view]

Re: Subclassing the Grid control Sergey Bogdanov
9/30/2005 5:57:58 PM
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


[quoted text, click to view]
Re: Subclassing the Grid control Sergey Bogdanov
9/30/2005 6:04:10 PM
.... in addition, see this thread:
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/9fda56ded10d075d/d93d2387b4fda2ac#d93d2387b4fda2ac


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


[quoted text, click to view]
AddThis Social Bookmark Button