1jaws
asked on
enabled/disable button on click
I am using RadImage Editor and I have a RadButton called btnSave. THis button is disabled but when user click RadImageEditor1_ToolsPanel _C_btnAppl y which is the Crop's panel's Crop button, that time I want to enabled btnSave.. how can I do that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
HainKurt, here my code and no error but Save button still disabled after crop happened
<telerik:RadButton ID="btnSave" runat="server" Text="Save"
OnClientClicked="Save" onclick="btnSave_Click" Enabled="false" > </telerik:RadButton>
function OnClientImageChanged(sende r, eventArgs)
{
document.getElementById("< %=btnSave. ClientID%> ").disable d = false;
}
</script>
<telerik:RadButton ID="btnSave" runat="server" Text="Save"
OnClientClicked="Save" onclick="btnSave_Click" Enabled="false" > </telerik:RadButton>
function OnClientImageChanged(sende
{
document.getElementById("<
}
</script>
ASKER
by using your code HainKurt, I modify a little bit.. and now works.. jagssidurala:, your links didnt help, but thanks for the reply.
ASKER
thanks both
http://stackoverflow.com/questions/577548/how-can-i-disable-a-button-in-a-jquery-dialog-from-a-function
http://jquery-howto.blogspot.com/2009/05/disable-submit-button-on-form-submit.html
http://jquery-howto.blogspot.com/2008/12/how-to-disableenable-element-with.html