J
jim
I have a WebControl that contains several label and TextBox controls. I also
implemented a ControlDesigner for this WebControl. Both control classes
(Labels
and TextBoxes) define separate styles: LabelStyle, and TextBoxStyle style
properties.
When I change the Font Size to “Large†on any of the styles the change takes
effect in the appropriate area. Now when I right-click the Font for the
context menu then click “Reset†the property resets to the default value.
For the Font property it is blank. The change does not affect the web
control. Using the Font’s property dropdown calls the associated property in
the designer and web control. The Reset context menu choice does not effect
the design. Looks to me that I am missing an event or an overridden On
method functions.
I cannot seem to locate what I am missing, so how do I get the Reset to work?
Jim
implemented a ControlDesigner for this WebControl. Both control classes
(Labels
and TextBoxes) define separate styles: LabelStyle, and TextBoxStyle style
properties.
When I change the Font Size to “Large†on any of the styles the change takes
effect in the appropriate area. Now when I right-click the Font for the
context menu then click “Reset†the property resets to the default value.
For the Font property it is blank. The change does not affect the web
control. Using the Font’s property dropdown calls the associated property in
the designer and web control. The Reset context menu choice does not effect
the design. Looks to me that I am missing an event or an overridden On
method functions.
I cannot seem to locate what I am missing, so how do I get the Reset to work?
Jim