ASP .NET Ajax UpdatePanel Sys.WebForms.PageRequestManagerParserErrorException
<p>I have searched, and searched, .. and searched. I have seen many posts here and on other forums regarding a similar issue. However, none of them seem to be helping. I have posted the relating asp and vb code below (please forgive me for the vb it wasn't my choice). If you look at the vb code you will notice that I am building a link "

<p>"Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near '7.180/test/Members/Widget/bob'>leader de'." </p>

<pre><code>&lt;asp:UpdatePanel ID="updatePanel" runat="server"&gt;
        &lt;Triggers&gt;&lt;asp:AsyncPostBackTrigger ControlID="searchBtn" EventName="Click" /&gt;&lt;/Triggers&gt;
        &lt;ContentTemplate&gt;
            &lt;asp:HiddenField ID="focusTab" runat="server" Value="" /&gt;
            &lt;div id="tabs" class="tabsContainer"&gt;
                &lt;ul&gt;
                    &lt;li id="c2Link"&gt;&lt;a href="#c2Tab"&gt;bill&lt;/a&gt;&lt;/li&gt;
                    &lt;li id="intelLink"&gt;&lt;a href="#intelTab"&gt;bob&lt;/a&gt;&lt;/li&gt;
                    &lt;li id="manLink"&gt;&lt;a href="#manTab"&gt;man&lt;/a&gt;&lt;/li&gt;
                    &lt;li id="firesLink"&gt;&lt;a href="#firesTab"&gt;fire&lt;/a&gt;&lt;/li&gt;
                    &lt;li id="protLink"&gt;&lt;a href="#protTab"&gt;joe&lt;/a&gt;&lt;/li&gt;
                    &lt;li id="sustLink"&gt;&lt;a href="#sustTab"&gt;jill&lt;/a&gt;&lt;/li&gt;
                &lt;/ul&gt;                
                &lt;div id="c2Tab" class="panel"&gt;
                    &lt;asp:Label ID="c2Results" runat="server" Text="No results found in this category."&gt;&lt;/asp:Label&gt;
                &lt;/div&gt;
                &lt;div id="intelTab" class="panel"&gt;
                    &lt;asp:Label ID="intelResults" runat="server" Text="No results found in this category."&gt;&lt;/asp:Label&gt;
                &lt;/div&gt;
                &lt;div id="manTab" class="panel"&gt;
                    &lt;asp:Label ID="manResults" runat="server" Text="No results found in this category."&gt;&lt;/asp:Label&gt;
                &lt;/div&gt;
                &lt;div id="firesTab" class="panel"&gt;
                    &lt;asp:Label ID="firesResults" runat="server" Text="No results found in this category."&gt;&lt;/asp:Label&gt;
                &lt;/div&gt;
                &lt;div id="protTab" class="panel"&gt;
                    &lt;asp:Label ID="protResults" runat="server" Text="No results found in this category."&gt;&lt;/asp:Label&gt;
                &lt;/div&gt;
                &lt;div id="sustTab" class="panel"&gt;
                    &lt;asp:Label ID="sustResults" runat="server" Text="No results found in this category."&gt;&lt;/asp:Label&gt;
                &lt;/div&gt;   
            &lt;/div&gt;
        &lt;/ContentTemplate&gt;
   &lt;/asp:UpdatePanel&gt;

   &lt;span class="kwSearchHdr"&gt;Search (seperate keywords w/comma)&lt;/span&gt;
   &lt;asp:TextBox ID="kwSearchTxt" runat="server" CssClass="kwSearchBx"/&gt;  

   &lt;span class="dateHdr"&gt;From/To Date&lt;/span&gt;           
   &lt;asp:TextBox ID="fromDateTxt" runat="server" CssClass="fromDate"/&gt;
   &lt;asp:TextBox ID="toDateTxt" runat="server" CssClass="toDate"/&gt;

   &lt;asp:Button ID="searchBtn" runat="server" Text="Search" CssClass="searchBtn"/&gt;
</code></pre>

<p>VB Code: The returned string as appended to a one of the labels</p>

<pre><code>Private Function buildResultStr(ByVal result As AdvisorInsightView) As String
    Dim resultsStr As String = ""
    Dim baseUrl As String = "./WidgetViewInsight.aspx?Insight={0}"
    Dim text As New TextFunctions
    Dim snippet As String = ""
    Dim member As New JCISFAMember(Convert.ToInt16(result.Author))

    resultsStr += "&lt;p&gt;- &lt;a href='"
    'resultsStr += Page.ResolveUrl(String.Format(baseUrl, result.InsightID))
    resultsStr += "' style='font-size:11;' &gt;"
    resultsStr += result.Subject &amp; "&lt;/a&gt;, "
    resultsStr += Convert.ToDateTime(result.PubDate).ToShortDateString() &amp; ", "
    resultsStr += member.GetAuthorDetails() &amp; "&lt;br /&gt;"

    snippet = text.stripRichTextFormatting(result.Observation)

    If snippet.Length &gt; MAX_SNIP_LEN Then
        snippet = snippet.Substring(0, MAX_SNIP_LEN) &amp; "..."
    End If

    resultsStr += snippet &amp; "&lt;br /&gt;"
    resultsStr += "&lt;b&gt;Keywords: &lt;/b&gt;"

    If result.Keywords.Equals("") Then
        resultsStr += "None.&lt;/p&gt;"
    Else
        resultsStr += "&lt;span class='keywords'&gt;"
        Dim keywords As String() = Split(result.Keywords, ", ")
        Dim keywordStr As String = ""
        Dim charCount As Integer = 0

        For i As Integer = 0 To keywords.Length - 1
            If charCount + keywords(i).Length &gt;= 75 Then
                keywordStr += "..."
                Exit For
            End If
            Dim url As String = "bob" ' "./SearchResults.aspx?CategoryID=" &amp; keywords(i)
            keywordStr += "&lt;a href='" &amp; url &amp; "'&gt;" &amp; keywords(i) &amp; "&lt;/a&gt;"

            If i &lt;&gt; keywords.Length - 1 Then
                keywordStr += ", "
            End If
            charCount += keywords(i).Length
        Next

        resultsStr += keywordStr &amp; "&lt;/span&gt;&lt;/p&gt;"
    End If

    Return resultsStr
End Function
</code></pre>
