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 6781843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:40:18+00:00 2026-05-26T16:40:18+00:00

I have a page that is based on a master page, the page has

  • 0

I have a page that is based on a master page, the page has a few UpdatePanel controls and things works fine.

Problem starts when I try to update a hiddenfield control from my code behind like this –

**Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
scrollerHiddenField1.Value = getLatest10()
End Sub
Private Function getLatest10() As String
Dim db As New DataClassesDataContext

    Dim r = From p In db.LATEST10s
            Select p.carId
    Dim retString As String = ""

    For Each c As String In r
        Dim fnumber As String = Mid(c, 1, 2) & "-" & Mid(c, 3, 3) & "-" & Mid(c, 6, 2)

        retString &= fnumber & ","

    Next
    Return retString

End Function**

if getLatest10 function returns a string that has html tags inside and then I click a button I am getting the following error-

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error
occurred while processing the request on the server. The status code
returned from the server was: 500

if getLatest10 function returns a string that has NO html tags inside things works fine.

Any Idea of how to solve this?

  • 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-26T16:40:19+00:00Added an answer on May 26, 2026 at 4:40 pm

    I’m not sure but please check if you are doing this in the right state of the page life cycle:
    http://msdn.microsoft.com/en-us/library/ms178472.aspx

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

Sidebar

Related Questions

I have a Master Page based Web site that has menu functionality. CSS is
I have the following situation: Page1.aspx is based on a master page and has
I have a panel in my master page that has textboxes for users login.
What I have going on is a Master Page, that has the following ContactPlaceHolder
I have a single page website that changes content based on variables passed through
I have a page full of links that each AJAX in an article based
I have a page that I want to update non stop, every few seconds.
I have a page that has no vertical scroll, rather, everything is displayed horizontally.
My problem is this I have a base page that creates content dynamically. There
I am working on a web application that has a single master page and

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.