Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > General Discussions > Styling different instances of ComboBox separately

Not answered Styling different instances of ComboBox separately

Feed from this thread
  • Mike avatar

    Posted on Feb 27, 2012 (permalink)

    I am using the Telerik DropDownList control on the header of my application, and an Autocomplete in a separate section.

    The section containing the DropDownList has a light background, and we'd like to style it with a similarly light background.
    The section containing the Autocomplete has a dark background, so we'd like to style it with a dark background as well.

    However, I'm finding there is no way of distinguishing the drop-down part of the controls from each other. Both are dynamically created divs appended to the body, and have no CSS classes or IDs to distinguish them from any other ComboBox-related drop-down lists.

    Does anyone have any suggestions for solving this conundrum?

    Reply

  • Mike avatar

    Posted on Feb 27, 2012 (permalink)

    ... and never mind. The DropDownHtmlAttributes method allows for adding arbitrary attributes to the drop down area.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > General Discussions > Styling different instances of ComboBox separately