D
David C
I have a user control with a datagrid in it.
Here is what I would like to do
* As the width of the datagrid grows or shrinks, have the user control
adjust so that it always looks full in the user control with no
scrolls. The datagrid's columns can be hidden or shown at run time,
so I cannot predict what the width will be until runtime.
* Also have that user control always centered.
In other words, I am trying to emulate how user controls behave on the
Web. Thank you.
Here is what I would like to do
* As the width of the datagrid grows or shrinks, have the user control
adjust so that it always looks full in the user control with no
scrolls. The datagrid's columns can be hidden or shown at run time,
so I cannot predict what the width will be until runtime.
* Also have that user control always centered.
In other words, I am trying to emulate how user controls behave on the
Web. Thank you.