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

ValidationSummary in Medium Trust

9 Answers 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Roger asked on 17 Feb 2011, 11:51 PM

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

 

9 Answers, 1 is accepted

Sort by
0
Kiara
Top achievements
Rank 1
answered on 18 Feb 2011, 02:12 PM
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
0
Roger
Top achievements
Rank 1
answered on 18 Feb 2011, 03:31 PM

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.
0
Pavel
Telerik team
answered on 21 Feb 2011, 07:28 AM
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
0
Roger
Top achievements
Rank 1
answered on 21 Feb 2011, 04:57 PM

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="" />

 

 

 

0
Pavel
Telerik team
answered on 22 Feb 2011, 07:59 AM
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!
0
Roger
Top achievements
Rank 1
answered on 22 Feb 2011, 03:34 PM

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" />

 

 

 

0
Nikolay Rusev
Telerik team
answered on 25 Feb 2011, 04:49 PM
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!
0
Collin
Top achievements
Rank 1
answered on 05 Jul 2011, 11:57 PM
0
Sebastian
Telerik team
answered on 06 Jul 2011, 07:32 AM
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!

Tags
General Discussions
Asked by
Roger
Top achievements
Rank 1
Answers by
Kiara
Top achievements
Rank 1
Roger
Top achievements
Rank 1
Pavel
Telerik team
Nikolay Rusev
Telerik team
Collin
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or