I have strings from an external source like the following:
<p style="font-family: Times New Roman; font-size: 11pt; color: #000000; font-weight: normal; "><b><span style="font-family: 'Times New Roman', serif;">Critical Thinking Questions</span></b></p>< p style="font-family: Times New Roman; font-size: 11pt; color: #000000; font-weight: normal; "><b><span style="font-family: 'Times New Roman', serif;">Case 1-1</span></b></p>< p style="font-family: Times New Roman; font-size: 11pt; color: #000000; font-weight: normal; ">​</p>< p style="font-family: Times New Roman; font-size: 11pt; color: #000000; font-weight: normal; "><span style="font-size: 11pt; font-family: 'Times New Roman', serif;">Mark is given the responsibility of setting up a method for distributing information at the university where he works.</span></p>< p style="font-family: Times New Roman; font-size: 11pt; color: #000000; font-weight: normal; ">​</p><br /><div data-keepme="true" style="font-family: Times New Roman; font-size: 11pt; color: #000000; font-weight: normal; ">​<span style="font-size:11pt;font-family:'Times New Roman', serif;">The content that needs to be distributed will include course lists with student data, lecture notes, and slides that should be available only to the students in a given course. Which of the following technologies is the best choice for Mark?</span></div>
When I set the .Text field of my TextBox control to the above string, I see exactly the above in the HtmlEditorExtender control. What I really want to see is this:
Critical Thinking Questions
Case 1-1
Mark is given the responsibility of setting up a method for distributing information at the university where he works.
The content that needs to be distributed will include course lists with student data, lecture notes, and slides that should be available only to the students in a given course. Which of the following technologies is the best choice for Mark?
Here is my code:
<asp:TextBox
Text="<%#:Item.HtmlText%>"
Height="200"
Width="75%"
CssClass="question-field-view"
TextMode="MultiLine"
ID="QuestionTextBox"
runat="server" />
<ajaxToolkit:HtmlEditorExtender
ID="Question_HtmlEditorExtender"
TargetControlID="QuestionTextBox"
runat="server" >
</ajaxToolkit:HtmlEditorExtender>
I have installed the following packages:
AjaxControlToolkit.16.1.1.0
AjaxControlToolkit.HtmlEditor.Sanitizer.16.1.1.0
AjaxControlToolkit.StaticResources.16.1.1.0
Antlr.3.4.1.9004
Antlr.3.5.0.2
AspNet.ScriptManager.bootstrap.3.3.7
AspNet.ScriptManager.jQuery.3.1.1
bootstrap.3.0.0
bootstrap.3.3.7
BuildBundlerMinifier.2.2.306
DotNetZip.1.10.1
EntityFramework.6.1.3
HtmlAgilityPack.1.4.9.5
jQuery.1.10.2
jQuery.3.1.1
jQuery.Validation.1.11.1
Microsoft.AspNet.FriendlyUrls.1.0.2
Microsoft.AspNet.FriendlyUrls.Core.1.0.2
Microsoft.AspNet.Identity.Core.2.2.1
Microsoft.AspNet.Identity.EntityFramework.2.2.1
Microsoft.AspNet.Identity.Owin.2.2.1
Microsoft.AspNet.Mvc.5.2.3
Microsoft.AspNet.Razor.3.2.3
Microsoft.AspNet.ScriptManager.MSAjax.5.0.0
Microsoft.AspNet.ScriptManager.WebForms.5.0.0
Microsoft.AspNet.Web.Optimization.1.1.3
Microsoft.AspNet.Web.Optimization.WebForms.1.1.3
Microsoft.AspNet.WebApi.5.2.3
Microsoft.AspNet.WebApi.Client.5.2.3
Microsoft.AspNet.WebApi.Core.5.2.3
Microsoft.AspNet.WebApi.HelpPage.5.2.3
Microsoft.AspNet.WebApi.Owin.5.2.3
Microsoft.AspNet.WebApi.WebHost.5.2.3
Microsoft.AspNet.WebPages.3.2.3
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0
Microsoft.jQuery.Unobtrusive.Validation.3.2.3
Microsoft.Net.Compilers.1.0.0
Microsoft.Net.Compilers.1.3.2
Microsoft.Owin.3.0.1
Microsoft.Owin.Host.SystemWeb.3.0.1
Microsoft.Owin.Security.3.0.1
Microsoft.Owin.Security.Cookies.3.0.1
Microsoft.Owin.Security.Facebook.3.0.1
Microsoft.Owin.Security.Google.3.0.1
Microsoft.Owin.Security.MicrosoftAccount.3.0.1
Microsoft.Owin.Security.OAuth.3.0.1
Microsoft.Owin.Security.Twitter.3.0.1
Microsoft.Web.Infrastructure.1.0.0.0
Microsoft.WindowsAzure.ConfigurationManager.3.2.3
Modernizr.2.6.2
Modernizr.2.8.3
Newtonsoft.Json.6.0.4
Newtonsoft.Json.9.0.1
Owin.1.0
Respond.1.2.0
Respond.1.4.2
SharpFileSystem.1.0.0.37
SlowCheetah.Tasks.Unofficial.1.0.0
WebGrease.1.5.2
WebGrease.1.6.0
What am I missing here? Is there some setting that need to set?