RadComboBox Validation and set style similar to RadTextBox

2 posts, 0 answers
  1. Jidesh Guptha
    Jidesh Guptha avatar
    45 posts
    Member since:
    Apr 2005

    Posted 18 Nov 2010 Link to this post

    Hi,

    I have to validate my RadComboBox with custom validator and if the validation is failed i have to set the style as the textbox image attached. Pls. Guide me how to achieve this.
     
    Additional info: in text box we have the following code

    textbox._invalid = true;
    textbox.updateCssClass();

    What is the similar one for RadComboBox.

    Jidesh

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Nov 2010 Link to this post

    Hello,


    I am not sure about whether RadComboBox supports InvalidStyle like textbox control. But one work-around you can try is showing the image in the input field of combobox. The approach is described in teh code library.
    Show the selected Item image in input



    -Shinu.
Back to Top