setting empty message of a text box onClientSelectedIndexChanged

3 posts, 0 answers
  1. Amit
    Amit avatar
    88 posts
    Member since:
    Sep 2010

    Posted 18 Aug 2011 Link to this post

    hi,

    setting empty message of a text box onClientSelectedIndexChanged by jQuery??

    $(

     

    '#txtSearchCriteria').attr('emptymessage' , 'hello')

    says property or method not found

    thanks

  2. Rory
    Rory avatar
    159 posts
    Member since:
    Jul 2007

    Posted 22 Aug 2011 Link to this post

    Hi AMit,
    This worked in my initial tests. I would hope Telerik has a better way to update this value in JavaScript.

    var cbo = $find("<%= cboRecipient.ClientID %>");
    cbo._emptyMessage = 'Empty';
  3. Amit
    Amit avatar
    88 posts
    Member since:
    Sep 2010

    Posted 23 Aug 2011 Link to this post

    Hey All,

    I've got a solution for this :

    txtSearchCriteria.set_emptyMessage('Type : Client Name/Number, Loan Number');


    Thanks,
    Amit Choudhary
Back to Top