Sri Lanka .NET Forum
a mission and a vision with .NET

how to change style of DDL

Get Microsoft Silverlight

rated by 0 users
This post has 22 Replies | 0 Followers

Top 75 Contributor
Fast Poster
Points 4,270
amal Posted: 02-16-2005 6:09 AM
I just want to change the style of Dropdownlist(eg.Change the border style)in my asp.net application.how can i edit my style sheet to do this. Thanks
  • | Post Points: 370
Top 10 Contributor
Insane Poster
Points 8,040

Step1: First assign the Css class to ddl

 

<asp:dropdownlist id="ddlTest" runat="server" CssClass="MyCssClass">
  &nb

  • | Post Points: 10
Top 10 Contributor
Insane Poster
Points 8,040

Step1: First assign the Css class to ddl

 

<asp:dropdownlist id="ddlTest" runat="server" CssClass="MyCssClass">
  &nb

  • | Post Points: 10
Top 75 Contributor
Fast Poster
Points 4,270

Hello dbbatagoda thanks for your quick reply.yes it's true, it change the fonts and width and other properties.but still it don't have flat style.cas still it looks 3d.so what i want is to have a flat

  • | Post Points: 10
Top 75 Contributor
Fast Poster
Points 4,270

Hello dbbatagoda thanks for your quick reply.yes it's true, it change the fonts and width and other properties.but still it don't have flat style.cas still it looks 3d.so what i want is to have a flat

  • | Post Points: 10
Top 10 Contributor
Dating the forum
Points 36,651

is this what u need?

 

http://www.c-sharpcorner.com/Code/2003/July/ColorFullDropDown.asp&l

Jinath Premaratne Microsoft MVP (ASP/ASP.NET) www.jinath.net

  • | Post Points: 10
Top 10 Contributor
Dating the forum
Points 36,651

is this what u need?

 

http://www.c-sharpcorner.com/Code/2003/July/ColorFullDropDown.asp&l

Jinath Premaratne Microsoft MVP (ASP/ASP.NET) www.jinath.net

  • | Post Points: 10
Top 75 Contributor
Fast Poster
Points 4,270

Dear Mr.Jinath,

        Thanks for the reply.any way actually my purpose

  • | Post Points: 10
Top 75 Contributor
Fast Poster
Points 4,270

Dear Mr.Jinath,

        Thanks for the reply.any way actually my purpose

  • | Post Points: 10
Top 25 Contributor
Forum Regular
Points 5,320

Hi Amal

 

According to my experience, you have no way of doing it. I t

Dinesh Priyankara (MVP)
http://sqlserveruniverse.com/
  • | Post Points: 10
Top 25 Contributor
Forum Regular
Points 5,320

Hi Amal

 

According to my experience, you have no way of doing it. I t

Dinesh Priyankara (MVP)
http://sqlserveruniverse.com/
  • | Post Points: 10
Top 10 Contributor
Dating the forum
Points 36,651

Yes no way to do that with asp control only way is put a HTML control and set run as server control and the try to change that controls styles

Jinath(MVP)

Jinath Premaratne Microsoft MVP (ASP/ASP.NET) www.jinath.net

  • | Post Points: 10
Top 10 Contributor
Dating the forum
Points 36,651

Yes no way to do that with asp control only way is put a HTML control and set run as server control and the try to change that controls styles

Jinath(MVP)

Jinath Premaratne Microsoft MVP (ASP/ASP.NET) www.jinath.net

  • | Post Points: 10
Not Ranked
Newbie
Points 90

Hi Jinath,

 

   Well I have been working as a webdev

  • | Post Points: 10
Not Ranked
Newbie
Points 90

Hi Jinath,

 

   Well I have been working as a webdev

  • | Post Points: 10
Page 1 of 2 (23 items) 1 2 Next > | RSS
This space is available for you to advertise. Please contact admin@dotnetforum.lk for more details on how to advertise on the .NET Forum.
Copyright © Sri Lanka .NET Forum. All Rights Reserved. Terms of Use | Privacy Policy