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

Hide Overwrite if file exists? Checkbox from all upload popup

9 Answers 57 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ajay
Top achievements
Rank 1
Ajay asked on 17 Apr 2013, 12:27 PM
Hi,
How I can Hide Overwrite if file exists? Checkbox from all upload popups in RadEditor. or stop overwriting attachment file in folder.

9 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 18 Apr 2013, 01:37 PM
Hello,

Here are the steps to hide the "Overwrite if file exists" checkbox:

1) Configure RadEditor to use its external dialog files.

<telerik:RadEditor ID="RadEditor1" runat="server" ExternalDialogsPath="~/EditorDialogs">
<ImageManager ViewPaths="~/Images" UploadPaths="~/Images" />
</telerik:RadEditor>

2) Open the \EditorDialogs\FileBrowser.ascx file and put the following CSS class in it:

<style>
.rfeCheckBoxContainer
{
    display: none;
}
</style>

Kind regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ajay
Top achievements
Rank 1
answered on 19 Apr 2013, 04:38 AM
Hi,
thanks for yor reply.
But one que. is there.     Where I can found   \EditorDialogs\FileBrowser.ascx. ?
i have created Folder and added Usercontrol with Same Name but its not working.
so how to do this?





Thanks
0
Rumen
Telerik team
answered on 19 Apr 2013, 09:20 AM
Hello,

The EditorDialogs folder is part of the RadControls for ASP.NET AJAX installations and it is located in the root of the installation as shown in this screenshot: http://screencast.com/t/9NKaM9mmsW.

Kind regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ajay
Top achievements
Rank 1
answered on 22 Apr 2013, 09:58 AM
Hello,
Can you provide sample code for this.
i can't understand where to put  css
0
Rumen
Telerik team
answered on 23 Apr 2013, 02:42 PM
Hello,

For your convenience I recorded a video demonstrating the whole process of customization of the Image Manager and other File Browser dialogs: http://screencast.com/t/Z5Cc8bLdCyB.

All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ajay
Top achievements
Rank 1
answered on 03 May 2013, 09:16 AM
Thanks for reply.
It seems useful but  My question is that Where can I find the EditorDialog folder ?
I've searched it in My hard disk but didn't find.

so is there any extra installation or anything else ?


Thanks..
0
Rumen
Telerik team
answered on 03 May 2013, 12:49 PM
Hi,

The EditorDialogs folder is part of the different RadControls for ASP.NET AJAX installation. You can download for example the hotfix installation and you will find it in the root of the zip file as shown in this screenshot.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Trevor
Top achievements
Rank 1
answered on 08 Oct 2013, 04:08 PM
I tried adding:
.rfeCheckBoxContainer
{
    display: none !Important;
}
to FileBrowser.ascx
but nothing affects the css in that popup.

Please help.
0
Ianko
Telerik team
answered on 11 Oct 2013, 10:11 AM
Hello Todd,

The mentioned approach is intended to hide the overview checkbox in all FileBrowser dialogs of the RadEditor control.

If this is the expected result, then I cannot assume why this approach does not work in your case. I am attaching to this message a video, in which I am showing the suggested setup and the result of it. Also you can find an example project that you could follow for the custom implementation.

If this is not the expected result and I am somehow mislead about the acquired information, please open a support ticket with the details about the needed assistance. 

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Editor
Asked by
Ajay
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Ajay
Top achievements
Rank 1
Trevor
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or