Control border colour via JQuery CSS

3 posts, 0 answers
  1. Jon
    Jon avatar
    811 posts
    Member since:
    Oct 2008

    Posted 05 Feb 2015 Link to this post

    I've got my drop down lists working with border coloured validation using JQuery.  Now that I am trying to do the same thing with RadComboBoxes I can't seem to get the relevant css classes.  Below is how I am doing this to the drop down lists.  How do I do the same with ComboBoxes?



    var $ = $telerik.$;
    var dropDown = dropDownTree.get_element();
    if (eventArgs.IsValid === false) {
    } else {
  2. Nencho
    Nencho avatar
    1446 posts

    Posted 10 Feb 2015 Link to this post

    Hello Jon,

    You can still use jQuery, in order to add the class, which applies the colored border, however, you need to set the RenderMode property of the RadComboBox to Lightweight. Please find in the attachment a simple example, demonstrating this implementation.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
  4. Jon
    Jon avatar
    811 posts
    Member since:
    Oct 2008

    Posted 10 Feb 2015 in reply to Nencho Link to this post

    Many thanks Nencho, I'll give that a try later on.


Back to Top