ValidationSummary in Medium Trust

10 posts, 0 answers
  1. Roger
    Roger avatar
    38 posts
    Member since:
    May 2008

    Posted 17 Feb 2011 Link to this post


    Is there a simple workaround for asp:ValidationSummary not working in medium trust when inside a RadAjaxPanel?

    When in full trust, no issues, when in medium no validationsummary.

    Thanks in advance

     

  2. Kiara
    Kiara avatar
    309 posts
    Member since:
    Jul 2006

    Posted 18 Feb 2011 Link to this post

    Do you use the latest and greatest RadControls ajax version - 2010.3.1317? I am using it and I do not encounter problems with ajax panel, validation summary and medium trust.

    Kiara
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Roger
    Roger avatar
    38 posts
    Member since:
    May 2008

    Posted 18 Feb 2011 Link to this post


    I was one release behind, I just installed the latest version, same issue.

    Let me clarify a bit more, validationsummary doesn't work for validators inside an editform formtemplate when in medium trust, when in full trust there are no issues.  I've tried the validationsummary inside and outside of the formtemplate, same problem.  The fields are validated, but the summary doesn't display when in medium trust.
  5. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 21 Feb 2011 Link to this post

    Hello Roger,

    I cannot reproduce the described problem. You can find attached to this message a simple test page which works on my end with "Medium" trust level. Please take a look at it and let me know what is different in your actual application.

    Best wishes,
    Pavel
    the Telerik team
  6. Roger
    Roger avatar
    38 posts
    Member since:
    May 2008

    Posted 21 Feb 2011 Link to this post


    Did you have  the trust level set to Medium in the web.config, if I set to Medium the issue occurs, this issue also occured with your test files and the below added to the web.config.
     

     

     

    <trust level="Medium" originUrl="" />

     

     

     

  7. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 22 Feb 2011 Link to this post

    Hi Roger,

    As stated in my previous reply, I tested the page in "Medium" trust level. I am attaching a video illustrating the behavior. Let me know if I am missing something.

    All the best,
    Pavel
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  8. Roger
    Roger avatar
    38 posts
    Member since:
    May 2008

    Posted 22 Feb 2011 Link to this post


    Try the below ValidationSummary on your page,

    ShowSummary works which is the default, ShowMessageBox doesn't
     

    <

     

    asp:ValidationSummary ID="Summary1" runat="server" DisplayMode="BulletList" ShowMessageBox="True" ShowSummary="False" />

     

     

     

  9. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 25 Feb 2011 Link to this post

    Hello Roger,

    I am afraid that this is limitation in RadAjax in medium trust.

    Greetings,
    Nikolay
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  10. Collin
    Collin avatar
    24 posts
    Member since:
    Feb 2008
  11. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 06 Jul 2011 Link to this post

    Hi Collin,

    Thank you for sharing your workaround with the other Telerik community members - I updated your Telerik points for the involvement.

    Kind regards,
    Sebastian
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017