Link to home
Start Free TrialLog in
Avatar of 1jaws
1jawsFlag for United States of America

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_btnApply  which is the Crop's panel's Crop button, that time I want to enabled btnSave.. how can I do that?
ASKER CERTIFIED SOLUTION
Avatar of HainKurt
HainKurt
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 1jaws

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(sender, eventArgs)
{
   
    document.getElementById("<%=btnSave.ClientID%>").disabled = false;
}
</script>
Avatar of 1jaws

ASKER

by using your code HainKurt, I modify a little bit.. and now works.. jagssidurala:, your links didnt help, but thanks for the reply.
Avatar of 1jaws

ASKER

thanks both