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

Set RadComboBoxItem from a popup page

0 Answers 115 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sooraj
Top achievements
Rank 1
Sooraj asked on 01 Dec 2011, 07:29 AM
Hi All,

I am new to telerik controls. I really appreciate if you can help me in solving this issue which i have already wasted a lot of time.

Issue:

I have a content page(say Page1) which contains a radComboBox with few items. I have a search image icon to which opens a window popup( this is not radwindow, but ordinary window popup opened using window.open method, cannot use rad window as it is giving issues in the design). Now from the popup i will select an item in the grid, the selected item is an item contained in the rad combo box present in parent page. So based on the item selected in the popup i need to set the item in parent combo box.

I have tried this in the javascript method in the popup page,

var

myarray = window.dialogArguments[0]; 

 

var dd = myarray.parent.document.getElementById("ctl00_ContentBody_radComboPaymentTerms_DropDown")
dd.set_text(selectedvalue);

but this didnt work. it gives an error 'object doesn't support this prop'.

please let me know if there is any other way to solve this issue.

 


Thanks in advance,
Sooraj.S

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Sooraj
Top achievements
Rank 1
Share this question
or