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

Enable/Disable ASP:Button inside a Combobox footer at ClientSide

1 Answer 70 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 15 Feb 2012, 08:56 PM
Hi,

 I have a ComboBox  with checkbox's in RadGrid.
By default, the Button is disabled and should be enabled using javascript.

I could get the reference to the Combobox but not hte Button inside Footer.

Any suggestions??

This is how i got the reference to Combobox..
var cmb = $find('<%# ((GridItem)Container).FindControl("rcbMyCombo").ClientID %>');

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 16 Feb 2012, 06:01 AM
Hello,

Try the following javascript.
JS:
function OnClientItemChecked(sender, args)
 {
   var combo = $find('<%# ((GridItem)Container).FindControl("RadComboBox2").ClientID %>');
   var Button1=combo._getFooterElement().childNodes[1];
 }

Thanks,
Princy.
Tags
ComboBox
Asked by
Robert
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or