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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:27:01+00:00 2026-05-23T00:27:01+00:00

I have a page to which I am adding a dynamic UpdatePanel with more

  • 0

I have a page to which I am adding a dynamic UpdatePanel with more dynamic controls in it’s ContentTemplateContainer. ViewState is disabled on the ContentTemplateContainer because the entire state can be recreated on postbacks from a single ID in a HiddenField like so:

        if (request.HttpMethod == "POST")
        {
            string ctrlName = request.Params.Get("__EVENTTARGET");
            int yearID = int.Parse(request.Form["hfPrevYear"]);
            if (!string.IsNullOrEmpty(ctrlName) && ctrlName == "btnYearUp")
            {
                yearID = getNextDataYear(di.getTestData(), yearID);
            }
            else if (!string.IsNullOrEmpty(ctrlName) && ctrlName == "btnYearDown")
            {
                yearID = getPrevDataYear(di.getTestData(), yearID);
            }
        }

The problem is that Opera Mobile is not posting the hidden field, causing my page to throw an exception when it tries to parse that value. It only posts controls outside the update panel like the hidden fields that ASP.NET adds for viewstate and event target. When I was stepping through the postback code in Dragonfly, I notice that the document.forms[0].elements[] collection doesn’t include my controls, which is what the updatepanel code loops through to build the post request.

Other browsers post the field just fine, including Opera Mini and Desktop Opera.

Any idea what’s going on here?

Thanks for the help,
–Nick

  • 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-23T00:27:01+00:00Added an answer on May 23, 2026 at 12:27 am

    Since you haven’t posted an example, I can only give you some general tips. My best guess is that the core version of Opera mobile may have a bug that’s already fixed in Opera desktop/Mini.

    Make sure your markup inside the form is correct – if tags are in the wrong order somewhere, for example something like

    <p><b></p></b>
    

    it can confuse the parser, and an example of such confusion might be that a form is closed too early and controls end up “outside” it. The validator.w3.org service can help you find such problems.

    Also, check that tags that need closing do have a closing tag, for the same reason.

    How are the elements added to the form – are they in the markup from the beginning, or added with JavaScript? If the latter, try adding them to the form itself explicitly (document.forms[x].appendChild().. rather than appending them to an element you think is inside the form).

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

Sidebar

Related Questions

I have a messy stored procedure which uses dynamic sql. I can debug it
I have a page which will contain 4 static divs with IDs. I will
I have a single page website which has a fixed floating nav. I want
My problem is I have a form in an .html page which activates a
I have a custom security principal object which I set in the global.asax for
I'm not sure how to test this question. I have an ASP.NET page for
I wonder if anyone could help me. I have a web page where there
Currently I have some xml documents which are converted via xsl into html. The
How should I be adding additional search/filter criteria to a Dynamic Data Web Application?
I have a Java web application which stores some data in the session. The

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.