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

Set value in radtextbox

1 Answer 62 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Tina
Top achievements
Rank 1
Tina asked on 09 Apr 2012, 11:24 AM
How to set the selected text for a radtextbox in clientselectedindexchanged event of a combobox

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Apr 2012, 11:57 AM
Hello,

Try the following javascript.
JS:
function OnClientSelectedIndexChanged(sender, args) {
    var txtbox = $find("<%= RadTextBox1.ClientID %>");
    var txt = sender.get_selectedItem().get_text();
    txtbox.set_value(txt);
}

Thanks,
Shinu.
Tags
ComboBox
Asked by
Tina
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or