TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
SIVA
NA
742
708.6k
CSS Integration for Controls in ASP .Net
Jan 20 2012 12:43 PM
Hi All,
I have developed webform with some controls..
When i was developing that automaticall some Inline styles were created simultaneously..
Now i need to applicable CSS for that controls..
But its not showing in output..
Previous Code:
<
td
class
="style12">
<
asp
:
DropDownList
ID
="ddSIREmp"
runat
="server"
Height
="27px"
style
="
margin-bottom
:
0px"
Width
="104px"
TabIndex
="2">
</
asp
:
DropDownList>
</td>
Revised Code:
<
td
>
<
asp
:
DropDownList
ID
="ddSIREmp"
runat
="server"
style
="
margin-bottom
:
0px"
TabIndex
="2" cssclass="dlist">
</
asp
:
DropDownList>
</td>
my CSS class as follows
App.css
.ddList
{
font-family
:
Arial
;
height
:
25
;
width
:
100
;
}
After applying css class to my control its not showing the control with revised effects..
How can i do this...
Reply
Answers (
1
)
Set c# value to javascript
Public,Private,Protected