Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

XML
<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.

XML
<telerik:RadImageEditor ID="RadImageEditor1" runat="server" ImageUrl="~/Images/1.jpg"
        Height="430px" Width="720px" OnClientLoad="OnClientLoad" OnClientCommandExecuting="OnClientCommandExecuting">
    </telerik:RadImageEditor>



Thanks in advance.
Posted
Updated 5-Oct-12 1:32am
v2

1 solution

For questions on them, try here: Telerik Forum[^]

Also look at these:
Telerik - Documentation[^]
Telerik - Online Demos[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900