P
paul reed
Hi,
I have a control that I have built. After Jeffrey on this newsgroup educated
me about the event lifecycle of CreateChildControls...all is working as
planned.
Now I want to make the control more appealing when it is initially dragged
from the Toolbar and dropped onto the ASPX page (it is a tree view control
wrapped inside of a custom control).. Right now, after dropping the control
onto the design surface, it is a very small control that is almost not
ledgible. So, I know to make the widget look larger on the surface of the
page, lets say a rectangle 300px high and 250px wide, I need to provide a
designer for the control. I would also like to provide a very opaque border
around it so there is a visual reference to the size (much like what happens
when you drop a panel control onto a page). I would also like for there to
be some wording inside of the control just so they know what it is (i.e.,
ProjectX TreeView Control).
I built the designer but wasn't sure where to do this at. I tried
overloading the 'initalize' method and assigning these values but that
didn't do anything.
Exactly where should I be doing this in the designer? There are some samples
out there but they are not very descriptive.
Regards,
Paul
I have a control that I have built. After Jeffrey on this newsgroup educated
me about the event lifecycle of CreateChildControls...all is working as
planned.
Now I want to make the control more appealing when it is initially dragged
from the Toolbar and dropped onto the ASPX page (it is a tree view control
wrapped inside of a custom control).. Right now, after dropping the control
onto the design surface, it is a very small control that is almost not
ledgible. So, I know to make the widget look larger on the surface of the
page, lets say a rectangle 300px high and 250px wide, I need to provide a
designer for the control. I would also like to provide a very opaque border
around it so there is a visual reference to the size (much like what happens
when you drop a panel control onto a page). I would also like for there to
be some wording inside of the control just so they know what it is (i.e.,
ProjectX TreeView Control).
I built the designer but wasn't sure where to do this at. I tried
overloading the 'initalize' method and assigning these values but that
didn't do anything.
Exactly where should I be doing this in the designer? There are some samples
out there but they are not very descriptive.
Regards,
Paul