locked
what is CSS Friendly Control Adapters RRS feed

  • Question

  • User88744855 posted

    i hard about this name that CSS Friendly Control Adapters. so please anyone tell me what it is and what it does ?

    how to use it means what i need to download and what is the advantage. looking for details discussion. thanks

    Sunday, March 17, 2013 2:17 PM

Answers

  • User281315223 posted

    What CSS Friendly Control Adapters Do

    CSS Friendly Control Adapters are designed to help you more easily control how many of the Controls within ASP.NET (such as the DropDownList, RadioButtonList, Menu etc.) are rendered.

    It basically exists to help making styling some of these elements a bit easier, so you might consider using it if you found yourself running into issues with the appearance of your Controls often, but by no means is it something that you have to have.

    Actually Using CSS Friendly Adapters

    You would just need to download the DLL relating to the project and include it within your project as a reference and that should basically be it. You can find more detailed instructions on implementing them within your project at the CSS Friendly project here.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, March 17, 2013 4:19 PM
  • User281315223 posted

    If you are looking for something to make your CSS look the same across most browsers, then I would recommend using a CSS Reset or a Normalized CSS style sheet.

    Using Normalize.css will make all of the major elements that you use within your application render more consistantly across all browsers and will only target elements that might appear different or look quirky between two different browsers.

    Reset.css is very similar and will "reset" all of the elements that are commonly found in your site / application to help make things look more consistant across browsers.

    These two are both very easy to use and you will just need to download either of the files and ensure that they are the first CSS files that you load within your site or application (or that the styles within them appear in the front of your CSS file).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 25, 2013 7:51 AM

All replies

  • User281315223 posted

    What CSS Friendly Control Adapters Do

    CSS Friendly Control Adapters are designed to help you more easily control how many of the Controls within ASP.NET (such as the DropDownList, RadioButtonList, Menu etc.) are rendered.

    It basically exists to help making styling some of these elements a bit easier, so you might consider using it if you found yourself running into issues with the appearance of your Controls often, but by no means is it something that you have to have.

    Actually Using CSS Friendly Adapters

    You would just need to download the DLL relating to the project and include it within your project as a reference and that should basically be it. You can find more detailed instructions on implementing them within your project at the CSS Friendly project here.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, March 17, 2013 4:19 PM
  • User88744855 posted

    thanks a lot for answer but i am not familiar with CSS friendly adapter. u said "It basically exists to help making styling some of these elements a bit easier" it would be help full if u briefly instruct me what i need to add to add CSS friendly adapter in my project.

    it will be bit more help if u show give me some example which prof & show me how CSS friendly adapter really help is in real life ?

    also tell me in what kind of situation one should go for CSS friendly adapter.....give some real life scenario with some serious sample code. thanks

    Sunday, March 24, 2013 3:24 PM
  • User281315223 posted

    CSS Friendly Apapters as mentioned will help you manage how some of your Control are styled, in particular those that have lots of child elements that need to be styled as well such as RadioButtonLists, CheckboxLists, Menus, etc.

    If you visit the CSS Friendly Adapter Page, you can click on the adapters that have currently been implemented and get a better idea of what they do.

    These really aren't necessary at all (especially since they have been only partially implemented for 3 of the many controls that are offered through ASP.NET).

    In my opinion, I really wouldn't worry about using them at all and handle all of your styling through CSS. These adapters are supposed to make it "easier" to style controls for users that are unfamilar with working with CSS, but pure CSS will provide you with more flexibility than these partially implemented adapters will.

    Sunday, March 24, 2013 8:00 PM
  • User88744855 posted

    thanks for your answer. is there any automated mechanism or any library which will automatically compatible my css for any browser. if you are aware of any such thing then please share the knowledge with me because lots of people face right css generation for different version of different browser. help will be appreciated. thanks :)

    Monday, March 25, 2013 3:23 AM
  • User281315223 posted

    If you are looking for something to make your CSS look the same across most browsers, then I would recommend using a CSS Reset or a Normalized CSS style sheet.

    Using Normalize.css will make all of the major elements that you use within your application render more consistantly across all browsers and will only target elements that might appear different or look quirky between two different browsers.

    Reset.css is very similar and will "reset" all of the elements that are commonly found in your site / application to help make things look more consistant across browsers.

    These two are both very easy to use and you will just need to download either of the files and ensure that they are the first CSS files that you load within your site or application (or that the styles within them appear in the front of your CSS file).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 25, 2013 7:51 AM
  • User88744855 posted

    u said :- Using Normalize.css will make all of the major elements that you use within your application render more consistantly across all browsers

    i go to Normalize.css site and came to know it support IE 8. suppose my site is running in IE 5 or 6 then how things will be handle.

    basically i want to use css2 or css3 and test in latest browser and i want to use some library which will render my css in such a way if my site run in IE5 or 6 or any lower version of any browser the look and feel will be consistent. is there any good trick available or any such library exist for rendering browser version compatible css. if u know then please share with me.

    Monday, March 25, 2013 2:33 PM