1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Issues when using a Control Designer

Issues when using a Control Designer

4 posts, 0 answered
  1. Luc Baeten
    Luc Baeten avatar
    169 posts
    Registered:
    23 Sep 2005
    24 Jan 2008
    Link to this post

    Hi

    Because of my development with Control Designers I encountered the following issues:

    Issue1:
    I developed a Control Designer with a RadEditor control in it.
    I created a page where the user control with the Control Designer is used.
    When I add content in the RadEditor everything went well after submitting the content (by selecting the Done button of the control designer).

    However when I reopen the Control Designer again and submitting the content again I am getting the error: A potentially dangerous Request.Form value was detected from the client.

    This security issue I could solve by adding validateRequest="false" in the Page Directive of the Sitefinity/Admin/CtrlProps.aspx

    Issue 2
    Another issue I have with the Control Designer is when I add to much information in the Control Designer it is not visible anymore because the CtrlProps.aspx is to small and doesn't have scrollbars.


    I don't know if you are already aware of these issues. I hope they can be solved in future releases.

    Kind regards
    Luc
  2. Katia
    Katia avatar
    194 posts
    Registered:
    01 Jul 2016
    25 Jan 2008
    Link to this post
    Hello Luc Baeten,

    Thank you for your comments on the first issue. As for the second one,  please make sure you have added a DIV tag with class name of ctrlProps or ctrlPropsGeneric in the control designer template you have made. Either of these classes should force a scroll bar to appear if content overflows the container.

    Sincerely yours,
    Katia
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Luc Baeten
    Luc Baeten avatar
    169 posts
    Registered:
    23 Sep 2005
    25 Jan 2008
    Link to this post

    Hello Katia

    Define DIV CtrlProps in the Control Designer works great. Thanks

    Regards
    Luc

  4. Jason Green
    Jason Green avatar
    53 posts
    Registered:
    18 Sep 2009
    26 Jun 2010
    Link to this post
    Running Sitefinity 3.7 Standard Edition

    I have some textareas on a normal page in a Generic Content control to hold some code for links for users to copy and paste from.  This was causing the same error in the admin when the page was being published:

    A potentially dangerous Request.Form value was detected from the client

    My "Sitefinity/Admin/CtrlProps.aspx" page already had validateRequest="false" set on it.  I had to update "/Sitefinity/Admin/EditPage.aspx" to fix it.

    Now it works.
Register for webinar
4 posts, 0 answered