RadComboBox OnClientKeyPressing Issue

2 posts, 0 answers
  1. Ravi Shankar
    Ravi  Shankar avatar
    12 posts
    Member since:
    Mar 2010

    Posted 14 Sep 2010 Link to this post

    In radcombobox I am trying to capture and change the case of the characters to upper/lower, then and there the user types in a text.
    I have been following the article referenced here.

    I am using the  OnClientKeyPressing event in the RadComboBox and the AllowCustomText property is set to "True".

    I am getting the error that "Object doesn't support the method" error when accessing

    Please help out.
  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 14 Sep 2010 Link to this post

    Hello Ravi,

    The RadComboBox doesn't have a set_newValue/get_newValue method for the args parameter for the OnClientKeyPressing event. Also, I doubt you can perform the upper case change in that event, since it won't tell you the character that was pressed other than it's key code. I would suggest to handle the TextChange event and do the upper case change there, by using the RadComboBoxes set_text and get_text methods.

    I hope that helps.
Back to Top