473,396 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.
Jun 25 '08 #1
1 1107
Plater
7,872 Expert 4TB
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.
Jun 25 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Paul Rees | last post by:
I am wondering if anyone has encountered a similar problem to the one that I am having. I have an ASP.NET page which has a table and a dropdownlist that was added at design time. The majority of...
3
by: Strange Cat | last post by:
Hi everyone Is it possible to select the contents in an aspnet textbox? (Like the old textbox selectstart and so on properties) Thanx in advance
3
by: Will Lastname | last post by:
I am trying to manipulate the textbox properties in my datagrid for when I fire the Edit/Update from the EditCommandColumn. I have set a few attributes such as: Dim tbPhone As TextBox =...
3
by: Michael Chambers | last post by:
Hi there, Is there a clean way to change a property or method's attribute in a derived class without redefining the property/method itself. That is, redefining the property/method in the derived...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.