I am trying to get a value from a popup window.
My process goes like this.
When a user clicks on a value from a RadDropDownList (CUST_NBRDropDown) I have OnClientItemSelected fire a popup
On the BSDM_PLANT_BACKNUMBERS_popup.aspx page i have a RadComboBox that i want the user to be able to select one of the values from.(This dropdown is populated from a Oracle DB. with the filter from the original 'CUST_NBRDropDown' dropdown.)
After they select a value i want to return the selected value back to the BSDM_PLANT_BACKNUMBERS (Parent) page to a Textbox in the same row as the original RadDropDownList.
So far I have not been able todo that.
If possible instead of doing a popup i would like to be able to have the dropdown that is populated in the Popup window to be in the radgrid row. but from my understanding i cannot bind the dropdown in "batch edit mode" after the CUST_NBRDropDown is selected since this is all client side functions...
Any help would be greatly appreciated!
My process goes like this.
When a user clicks on a value from a RadDropDownList (CUST_NBRDropDown) I have OnClientItemSelected fire a popup
<
telerik:RadDropDownList
ID
=
"CUST_NBRDropDown"
runat
=
"server"
DataSourceID
=
"Customer_DDL"
DataTextField
=
"account_name"
DataValueField
=
"account_number"
DropDownHeight
=
"400px"
SelectedValue='<%# Bind("CUST_NBR")%>' OnClientItemSelected="OnClientItemSelected">
</
telerik:RadDropDownList
>
function
OnClientItemSelected(sender, eventArgs) {
var
item = eventArgs.get_item();
//alert("You selected " + item.get_text() + " with value " + item.get_value());
retVal = window.open(
"BSDM_PLANT_BACKNUMBERS_popup.aspx?acct_num="
+ item.get_value()
,
"Popup"
,
"width=300,height=100"
);
retVal.focus();
}
On the BSDM_PLANT_BACKNUMBERS_popup.aspx page i have a RadComboBox that i want the user to be able to select one of the values from.(This dropdown is populated from a Oracle DB. with the filter from the original 'CUST_NBRDropDown' dropdown.)
After they select a value i want to return the selected value back to the BSDM_PLANT_BACKNUMBERS (Parent) page to a Textbox in the same row as the original RadDropDownList.
<
asp:TextBox
ID
=
"CUST_NBR_txt"
runat
=
"server"
Text='<%# Bind("CUST_NBR") %>' Visible="true"></
asp:TextBox
>
So far I have not been able todo that.
If possible instead of doing a popup i would like to be able to have the dropdown that is populated in the Popup window to be in the radgrid row. but from my understanding i cannot bind the dropdown in "batch edit mode" after the CUST_NBRDropDown is selected since this is all client side functions...
Any help would be greatly appreciated!