Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Closed Issue: HTMLEditor Fails in Medium Trust [26772]

$
0
0
The HTML Editor control fails on post back in medium trust with a security exception.

In the LoadPostData method this line of code is failing:
post = postCollection[ActiveModeId];
if (!string.IsNullOrEmpty(post))
{
ActiveMode = (ActiveModeType) Int64.Parse(post, CultureInfo.InvariantCulture);
}

In the setter for ActiveMode the call to RefreshDesigner and ultimately _designer.UpdateDesignTimeHtml() is what is causing the failure.
Comments: We recommend using the new HtmlEditorExtender control instead of the old HtmlEditor control -- the new HtmlEditorExtender control works in Medium Trust

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>