title: not able to bind Text file content .net
body: <p>I am trying to bind text saved at a location as mentioned in Code below.<br>
  The text file is accessible and able to bind content to controls on ASP page, but not able to bind to <a href="http://www.tinymce.com/" rel="nofollow noreferrer"><strong>tinyMCE</strong></a> control!<br>
  Page just keeps Loading for infinite time!</p>
  
  <h2>Code:</h2>
  
  <pre><code>If ddlQuestions.SelectedValue = 0 Then
      Dim lineOfContents As String() = File.ReadAllLines("C:\FAQs\Answers.txt")
  
  For Each line In lineOfContents
      Dim regex As New Regex("&lt;span id=""s(.*)"" class=""abc""&gt;")
      Dim v = regex.Match(line)
      Dim s As String = v.Groups(1).ToString()
      If Convert.ToInt32(s) = ddlQuestions.SelectedValue Then
          Dim regex1 As New Regex("&lt;span id=""s" + s + """ class=""abc""&gt;(.*)&lt;/span&gt;")
          Dim v1 = regex1.Match(line)
          Dim s1 As String = v1.Groups(1).ToString()
          'txtAns: Editor TextArea
          txtAns.Text = s1 'getting text value in s1
          GoTo end_of_for
      End If
  Next
  end_of_for:
  End If
  </code></pre>
  
  <h2>Content in Text file:</h2>
  
  <blockquote>
  <pre><code>&lt;span id="s1" class="abc"&gt;The database management system.&lt;/span&gt;
  &lt;span id="s2" class="abc"&gt;Relational Database Management system (RDBMS).&lt;/span&gt;
  &lt;span id="s8" class="abc"&gt;&lt;div class="code"&gt;&lt;pre&gt;A table&lt;/pre&gt;&lt;/div&gt;&lt;/span&gt;
  &lt;span id="s9" class="abc"&gt;&lt;div style="font-size:20px"&gt;&lt;i&gt;The lead&lt;/i&gt;&lt;/div&gt;&lt;/span&gt;
  &lt;span id="s10" class="abc"&gt;&lt;p&gt;Test &lt;em&gt;Answer&lt;/em&gt;&lt;/span&gt;
  </code></pre>
  </blockquote>
  
  <p>Here, while debugging NO ERROR occurs, no message is displayed. Also no error is being captured by Firebug as well!</p>
  
  <p>I've referred <a href="https://stackoverflow.com/questions/3191762/whats-the-best-wysiwyg-editor-currently-available-jquery-suppport-integration/3192178#comment3288948_3192178">This Comment</a> about tinyMCE editor, but didn't get any solution on that.</p>
  
  <p>Thanks!</p>