Can Not change textbox attributes through Control properties

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pcefalu
    New Member
    • Jun 2008
    • 1

    Can Not change textbox attributes through Control properties

    I am having problems modifying textbox attributes (ForeColor, BackColor, Fonts, etc) through the control properties in MS Studio 2005. I created a WebApp Client and dropped a couple of textbox and button controls on to a WebForm. I tried to modify the above mentioned attributes through the Properties Fly Out Form and was unsuccessful, modifications are ignored. I executed the Web App and tried to change the attributes through code, also unsuccessful. The only way I can change these attributes is through the Styles Modal Dialogbox.

    Is this a bug or am I doing something wrong, can anyone help me with this dilema...

    Sincerely;
    Paul C.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    If you have a Style applied to the object, I think visualstudio gives priority to that and will ignore your other property code when generating the HTML page. (A quick source view on your running webpage should confirm that).
    You can use code to change the style attributes, depending on how you applied them.

    Comment

    Working...