This is a migrated thread and some comments may be shown as answers.

setting empty message of a text box onClientSelectedIndexChanged

2 Answers 148 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 18 Aug 2011, 12:51 PM
hi,

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

$(

 

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

says property or method not found

thanks

2 Answers, 1 is accepted

Sort by
0
Rory
Top achievements
Rank 1
answered on 22 Aug 2011, 10:16 PM
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';
0
Amit
Top achievements
Rank 1
answered on 23 Aug 2011, 05:10 AM
Hey All,

I've got a solution for this :

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


Thanks,
Amit Choudhary
Tags
ComboBox
Asked by
Amit
Top achievements
Rank 1
Answers by
Rory
Top achievements
Rank 1
Amit
Top achievements
Rank 1
Share this question
or