Hello,
I have a default Dropdownlist with the ID="lstKostenart". Programmatically I call the following Javascript in the Page_Load event.
lstKostenart.Attributes["onchange"] = "getValue('" + lstKostenart.ClientID + "', '" + txtBetrag.ClientID + "');";
When the selected item of the Dropdownlist include a char "@", the Javascript function getValue() shows an Button via btn.style.visibility = 'visible';
My Question now.
I want to do the same with the RadComboBox. There is no client-Side onchange event and the cmbKostenart.ClientID (ClientID of the Combobox) don't work also. The example in the documentation with "var combo = $find("<%= cmbKostenart.ClientID %>");" don't work ditto.
What can I do, that the Page_Load event calls the Javascript getValue(with according parameters) or alternatively a second new function.
Thanks
I have a default Dropdownlist with the ID="lstKostenart". Programmatically I call the following Javascript in the Page_Load event.
lstKostenart.Attributes["onchange"] = "getValue('" + lstKostenart.ClientID + "', '" + txtBetrag.ClientID + "');";
When the selected item of the Dropdownlist include a char "@", the Javascript function getValue() shows an Button via btn.style.visibility = 'visible';
My Question now.
I want to do the same with the RadComboBox. There is no client-Side onchange event and the cmbKostenart.ClientID (ClientID of the Combobox) don't work also. The example in the documentation with "var combo = $find("<%= cmbKostenart.ClientID %>");" don't work ditto.
What can I do, that the Page_Load event calls the Javascript getValue(with according parameters) or alternatively a second new function.
Thanks