This is a migrated thread and some comments may be shown as answers.

ImageEditor >Tool Dilog want to be disable

3 Answers 107 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
vab
Top achievements
Rank 1
vab asked on 13 Feb 2013, 03:11 PM

I want to save changes pro grammatically
don't.want that tool dilog(save image).

3 Answers, 1 is accepted

Sort by
0
MasterChiefMasterChef
Top achievements
Rank 2
answered on 13 Feb 2013, 03:37 PM
Hi Vab,

If you are trying to remove the 'Save' tool in the RadImageEditor toolbar then you can easily define which tools you want to include / exclude directly in the markup. This link provides an example of which tools are loaded automatically into the RadImageEditor. If you would like to remove the 'Save' button, it would look like this:
<telerik:RadImageEditor ID="theImageEditor" runat="server" ImageUrl="~/content/pg.png" Width="1100" Height="860">
    <Tools>
        <telerik:ImageEditorToolGroup>
            <telerik:ImageEditorTool Text="Print" CommandName="Print" />
            <!--  removed 'Save' tool  -->
        </telerik:ImageEditorToolGroup>
        <telerik:ImageEditorToolGroup>
            <telerik:ImageEditorToolStrip Text="Undo" CommandName="Undo" />
            <telerik:ImageEditorToolStrip Text="Redo" CommandName="Redo" />
            <telerik:ImageEditorTool Text="Reset" CommandName="Reset" />
        </telerik:ImageEditorToolGroup>
    </Tools>
</telerik:RadImageEditor>

Hopefully this can be of help to you so you can save changes programmatically.

Good Luck!
Master Chief
0
vab
Top achievements
Rank 1
answered on 14 Feb 2013, 06:24 AM
that is good,
but can u tell me how i can provide custom tool to save over at same place and what will be the code for that.
0
MasterChiefMasterChef
Top achievements
Rank 2
answered on 14 Feb 2013, 03:31 PM
I'm no expert, but I did find this video that looks like it will help you get started overriding the 'save' tool: Override Commands with RadImageEditor

Good luck,
Master Chief
Tags
ImageEditor
Asked by
vab
Top achievements
Rank 1
Answers by
MasterChiefMasterChef
Top achievements
Rank 2
vab
Top achievements
Rank 1
Share this question
or