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

set_text Unable to set Some Times

1 Answer 46 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sravan
Top achievements
Rank 1
Sravan asked on 10 Jan 2013, 07:40 AM
I have some users in that for one users set_text property is not working 
for renaming users it is working Hear is my code.Unable to find any 
script errors also.

    var cellMachinery = MasterTable.getCellByColumnUniqueName(row, "MachineryName");
    var cellApplPoint = MasterTable.getCellByColumnUniqueName(row, "ApplPoint");
    var text = cellMachinery.textContent.trim() + "  " + cellApplPoint.textContent.trim();
    var combo = $find("<%= ddlMapModel.ClientID %>");
    combo.set_text(text);

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 15 Jan 2013, 07:53 AM
Hello,

Could you review that help article that gives more information about getCellByColumnUniqueName method? Please take a closer look at Note section explaining that the ShowHeader attribute for the RadGrid/MasterTableView should be set to true.
Setting a plain text for the RadComboBox text property would help you to find out whether RadComboBox set_text(text) is not executed or the text variable is empty string.

Regards,
Boyan Dimitrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ComboBox
Asked by
Sravan
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or