Reset on Style Property does not change Design View

Discussion in 'ASP .Net Building Controls' started by jim, Dec 2, 2004.

  1. jim

    jim Guest

    I have a WebControl that contains several label and TextBox controls. I also
    implemented a ControlDesigner for this WebControl. The both control classes
    contains Style, 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.

    How do I get the Reset to work?

    Jim
     
    jim, Dec 2, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer
    Replies:
    1
    Views:
    648
    VB Programmer
    Jul 10, 2003
  2. Robert Smith
    Replies:
    2
    Views:
    1,278
    Juan T. Llibre
    Apr 27, 2008
  3. Parthiv Joshi
    Replies:
    1
    Views:
    801
    Samuel L Matzen
    Jul 6, 2004
  4. jim
    Replies:
    0
    Views:
    162
  5. andspal

    Updates in Design view not moved to Source view

    andspal, Nov 2, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    209
    andspal
    Nov 2, 2006
Loading...

Share This Page