Hi,
I am using the following code to get the selectedValue of radComboBox in javascript to pass values to the parent page:
<script language="javascript" type="text/javascript">
function passValues() {
var combo = $find("<%= cmbBranch.ClientID %>");
var comboValue = document.getElementById(combo.UniqueID + "_value").value;
window.opener.document.getElementById('txtFindBrid').innerText = comboValue;
}
</script>
I have placed the above code inside <head> </head> tag. When I run the project I get the following error:
Exception Details: System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). Please help me by giving a solution.
Joseph
I am using the following code to get the selectedValue of radComboBox in javascript to pass values to the parent page:
<script language="javascript" type="text/javascript">
function passValues() {
var combo = $find("<%= cmbBranch.ClientID %>");
var comboValue = document.getElementById(combo.UniqueID + "_value").value;
window.opener.document.getElementById('txtFindBrid').innerText = comboValue;
}
</script>
I have placed the above code inside <head> </head> tag. When I run the project I get the following error:
Exception Details: System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). Please help me by giving a solution.
Joseph