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

RadEditor with embedded video hangs IE6

3 Answers 31 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
lyn smith
Top achievements
Rank 1
lyn smith asked on 25 Oct 2010, 04:54 PM
Hi,

I am using RAd Editor on MVC Application.
All seems fine but I get the following error when I try to submit the page
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

I have looked around for the solution and tried all possible solution but nothing seems to work.

Can anyone please suggest how to work around this problem?

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 26 Oct 2010, 08:37 AM
Hi Lyn,

You are the first to report this problem and we are not familiar with it. I found the following forum which could be helpful: Validation of viewstate MAC failed, e.g.

the offered solution is to set enableViewStateMac to false in the web.config:

<system.web> 
     <pages enableViewStateMac="false" /> 
</system.web>

If this does not solve the issue, please isolate the problem in a sample working project and send it for examination through a support ticket.

You can also try to replace RadEditor for ASP.NET AJAX with its Telerik Editor for MVC counterpart.

Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
lyn smith
Top achievements
Rank 1
answered on 27 Oct 2010, 11:27 AM
Hi Rumen,

Thanks for the reply. That solved my problem.
But now I have another query.
I have the content of the Rad editor in a database column, but when I am displaying the text it still shows the HTML tags around.

Please find the HTML text displayed

This Note is for%3cstrong%3e%3cspan style%3d%22color%3a %23993399%22%3e Internal Testing%3c/span%3e%3c/strong%3e.

How do I show it in Human readble form? I tried with all possible ways like HTML decode and decode.Or am I missing something?
Also i am using ASP.NET MVC.

Please help me with this problem.

Regards,
Lyn



0
Rumen
Telerik team
answered on 27 Oct 2010, 12:44 PM
Hi Lyn,

You should set and get the editor's content through the Content server property as it is shown in this article:
Getting / Setting Content. See this article too: http://www.telerik.com/help/aspnet-ajax/mvc-using-editor.html.

The following forum thread could be helpful for your scenario as well: Get HTML content using Request.Form.


Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
lyn smith
Top achievements
Rank 1
Answers by
Rumen
Telerik team
lyn smith
Top achievements
Rank 1
Share this question
or