Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7418257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:51:13+00:00 2026-05-29T07:51:13+00:00

I have searched, and searched, .. and searched. I have seen many posts here

  • 0

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 ”

“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’.”

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

   <span class="kwSearchHdr">Search (seperate keywords w/comma)</span>
   <asp:TextBox ID="kwSearchTxt" runat="server" CssClass="kwSearchBx"/>  

   <span class="dateHdr">From/To Date</span>           
   <asp:TextBox ID="fromDateTxt" runat="server" CssClass="fromDate"/>
   <asp:TextBox ID="toDateTxt" runat="server" CssClass="toDate"/>

   <asp:Button ID="searchBtn" runat="server" Text="Search" CssClass="searchBtn"/>

VB Code: The returned string as appended to a one of the labels

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 += "<p>- <a href='"
    'resultsStr += Page.ResolveUrl(String.Format(baseUrl, result.InsightID))
    resultsStr += "' style='font-size:11;' >"
    resultsStr += result.Subject & "</a>, "
    resultsStr += Convert.ToDateTime(result.PubDate).ToShortDateString() & ", "
    resultsStr += member.GetAuthorDetails() & "<br />"

    snippet = text.stripRichTextFormatting(result.Observation)

    If snippet.Length > MAX_SNIP_LEN Then
        snippet = snippet.Substring(0, MAX_SNIP_LEN) & "..."
    End If

    resultsStr += snippet & "<br />"
    resultsStr += "<b>Keywords: </b>"

    If result.Keywords.Equals("") Then
        resultsStr += "None.</p>"
    Else
        resultsStr += "<span class='keywords'>"
        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 >= 75 Then
                keywordStr += "..."
                Exit For
            End If
            Dim url As String = "bob" ' "./SearchResults.aspx?CategoryID=" & keywords(i)
            keywordStr += "<a href='" & url & "'>" & keywords(i) & "</a>"

            If i <> keywords.Length - 1 Then
                keywordStr += ", "
            End If
            charCount += keywords(i).Length
        Next

        resultsStr += keywordStr & "</span></p>"
    End If

    Return resultsStr
End Function
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:51:14+00:00Added an answer on May 29, 2026 at 7:51 am

    It turns out the problem was that I was inserting a partial url or path (e.g. href=”./WebPage.aspx”). This causes the browser to fill in the rest of the url which is done by writing out to the response and therefore causes the issue here. I.E. in order to solve this problem I have to build a full uri to put in the href field on server side in order to stop and writes to the response.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have searched through many times but have not seen this before. Probably really
I have searched apple's documentation and other posts on Stack Overflow, but I'm still
I have searched many places and rarely use forums for posting... So I believe
I have seen other posts on this subject, but this seems different. I am
I have seen some similar questions on stackoverflow and on searched on google too
I have seen there are a lot of 'order by relevance' posts on here...
I have searched the internet far and wide and seen many questions like this,
I have searched this topic on google a bit and seen some best practices.
I have searched the forums and all over the web and have not really
Ok, so I have searched in many places for the answer to this question,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.