A
Alex Feldman
I wanted to subclass the DataGrid control to add functionality (that
should have been there in the first place). I have followed
instructions, similar to the ones in the following link that teach how
to subclass controls,
http://support.microsoft.com/default.aspx?scid=kb;en-us;311317
but once I replace the control initialization statements to initialize
to my subclass, the grid disapears from the designer. I guess I can
live with it since If I want to get it back I can uncomment the original
grid initialization if I want to edit the grid from the designer, and
then change the initialization back to a subclass when I'm done, but
isn't there a better way? I tried making the subclass a control
selectable from the toolbox, but it's greyed out when I add it. I
couldn't find a set of good instructions on how to get that to work.
If anyone has good instructions on how to subclass a DataGrid and make
it a selectable control from the toolbox, or just any other suggestion
how I can solve the problem described above I would greatly appreciate it.
Alex Feldman
should have been there in the first place). I have followed
instructions, similar to the ones in the following link that teach how
to subclass controls,
http://support.microsoft.com/default.aspx?scid=kb;en-us;311317
but once I replace the control initialization statements to initialize
to my subclass, the grid disapears from the designer. I guess I can
live with it since If I want to get it back I can uncomment the original
grid initialization if I want to edit the grid from the designer, and
then change the initialization back to a subclass when I'm done, but
isn't there a better way? I tried making the subclass a control
selectable from the toolbox, but it's greyed out when I add it. I
couldn't find a set of good instructions on how to get that to work.
If anyone has good instructions on how to subclass a DataGrid and make
it a selectable control from the toolbox, or just any other suggestion
how I can solve the problem described above I would greatly appreciate it.
Alex Feldman