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

Need to hide/disable a control in one of the popup dialogs

4 Answers 56 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 09 Nov 2011, 11:32 AM
Specifically, I need to hide the Insert Image button and associated controls on the Cell Properties tab of the Table Wizard.

I can do it with a simple bit of CSS (I believe), but I need to know how to inject CSS in to that dialog.

Any/all help will be appreciated.

--
Stuart

4 Answers, 1 is accepted

Sort by
0
Stuart Hemming
Top achievements
Rank 2
answered on 09 Nov 2011, 06:28 PM
Anyone?

At all?

--
Stuart
0
Stuart Hemming
Top achievements
Rank 2
answered on 09 Nov 2011, 06:33 PM
If I can't do that, can I replace the dialog with a custom one? If so, I could have a window that just showed a "Not Allowed" message.

--
Stuart
0
Accepted
Rumen
Telerik team
answered on 10 Nov 2011, 02:37 AM
Hello Stuart,

You can import your own CSS file in the RadEditor's dialogs through the DialogsCssFile property.

Another way to customize the dialogs is to copy the EditorDialogs folder and set the ExternalDialogsPath property to point to it. After that modify the CellProperties.ascx file and hide the desired controls in it.

More information is available here.


Best wishes,
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
Stuart Hemming
Top achievements
Rank 2
answered on 11 Nov 2011, 09:55 AM
Thanks Rumen,

It seems I'm going to have to use a bit of jQuery rather than just CSS, but I note that a DialogScriptFile property exists and I'm guessing this will be my friend.

-- 
Stuart
Tags
Editor
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Stuart Hemming
Top achievements
Rank 2
Rumen
Telerik team
Share this question
or