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

5 posts, 1 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 09 Nov 2011 Link to this post

    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
  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 09 Nov 2011 Link to this post

    Anyone?

    At all?

    --
    Stuart
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 09 Nov 2011 Link to this post

    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
  5. Answer
    Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 09 Nov 2011 Link to this post

    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
  6. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 11 Nov 2011 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017