Hi everyone,
i need to crop image based on dropdown values in telerik radImageEditor but not to click on 'Crop Icon' in Image Editor.
Look at the dropdown, it contains
<select id="selOption" runat="server" >
<option value="0">StaticHeightAndWidth</option>
<option value="1">Allow Crop</option>
</select>
When i select 'StaticHeightandWidth' i want to apply static crop position(500 X 500) to Image(but not to display ImageEditorDialogs ). On Allow Crop , I need to display ImageEditorDialogs with crop positioning on Image.
Here it follows telerik code.
<telerik:RadImageEditor ID="RadImageEditor1" runat="server" ImageUrl="~/Images/1.jpg"
Height="430px" Width="720px" OnClientLoad="OnClientLoad" OnClientCommandExecuting="OnClientCommandExecuting">
</telerik:RadImageEditor>
Thanks in advance.