Cannot prevent user from entering the footer when document is protected

2 posts, 1 answers
  1. Mihajlo
    Mihajlo avatar
    27 posts
    Member since:
    Aug 2018

    Posted 14 Nov 2018 Link to this post

    Create new Word-inspired project. Add the event handler below:

    private void radRichTextEditor1_CommandExecuting(object sender, CommandExecutingEventArgs e)
        if (e.Command is EditFooterCommand)
            e.Cancel = true;


    If document is not protected then user cannot enter the footer, either by menu or by double-click. If the document is protected (menu Review > button Protect Document) the user cannot edit the footer (as document is protected), nor can they enter it by menu (Insert > Footer), but they can still enter it by double-click. Is there a way to prevent them even from entering the footer by double-click when the document is protected?

  2. Answer
    Boby avatar
    696 posts

    Posted 19 Nov 2018 Link to this post

    Hi Mihajlo,

    I can confirm that the CommandExecuting event is not raised when the document is protected. I logged the issue here: 
    FIX. RadRichTextEditor - Entering header and footer cannot be prevented using CommandExecuting event when the document is protected

    We've investigated the case with the team, and identified a possible fix. If the integration testing goes well, the fix will be included in the next official release (R1 2019), expected in January. I've also tried to find a workaround, but one seems not possible.

    Please, excuse us for the inconvenience. We have added points to your account for the report. Don't hesitate to contact us if you have other questions.

    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top