FIX Setting Enalbled="false" for RadSpell does not have effect on the control.
The disabled="disabled" attribute is applied to the main wrapper of the control instead of to the button.
The following script is a possible workaround:
<asp:TextBox ID="Textbox1" runat="server" />
<telerik:RadSpell ID="RadSpell1" ControlToCheck="Textbox1" Enabled="false" OnClientLoad="OnClientLoad"
runat="server" />
<script type="text/javascript">
function OnClientLoad(sender, args)
{
if ($telerik.$(sender.get_element()).attr("disabled") == "disabled")
{
$telerik.$("input[type='button']", sender.get_element()).attr("disabled", "disabled");
}
}
</script>
It will work as-is for a regular push button. If the ButtonType is changed the script needs to change to get the appropriate element (e.g. anchor for the LinkButton).