Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
.NET General - using "code behind file (*.aspx.cs ).........
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Ray Grant
10 years ago
622
1
Reply
Hello. "simple question"
I have a list of 5 <asp:RadioButton's "joined" by assigning EACH RadioButton the common "GroupName="ChoiceA"" Property.
I have ( in *.css file ) settings - EACH of my 5 RadioButtons have "style" similar to :
======================
.styleRadioButton#
{ position : absolute;
z-index : 10;
top: ##%; /* these 2 settings vary a bit, but actually - only "top" */
left: ##%;
width: 200px;
height: 25px;
color : #RRGGBB ; /* my 5 color choices are Red/Orange/Green/Blue/Purple }
=======================
WHEN a specific <asp:RadioButton> is chosen - I want my label
(<asp:Label ID="lblTester" CssClass ="styleLabelTester" runat="server" Text=" " ToolTip="lblTester" />)
to "report" choice - with the color ( forecolor ) "colored" same as Radio Button selected.
( Have the label "print to screen" in the selected color of associated <asp:RadioButton> )
Thanks, in advance.
Sincerely,
Ray Grant
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Making colums of text file
how to design master page using div in asp.net ?