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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:52:21+00:00 2026-05-11T00:52:21+00:00

For example, If I have a textbox with runat=server on a page, The value

  • 0

For example,

If I have a textbox with runat=server on a page, The value will be posted back to the server so I can access the properties in the code-behind.

However, under the following situations, does it still hold true?

  • A textbox with runat=server but does not appear in the function that is post back to. For example, a button is also on the page, when clicked a post back occurs and within the method that is raised, this textbox was not used.
  • Within a MasterPage, will a textbox residing on the Masterpage itself be posted back?

Because just thinking, isn’t this mechanism bloated in nature?

If all input controls and its value are posted back on every single button click (even when the input control is not needed), doesn’t this deteriorate performance?

Having just one Form Tag on the page really restricts us to using this mechanism?

  • 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. 2026-05-11T00:52:22+00:00Added an answer on May 11, 2026 at 12:52 am

    There are several options to cut down on the bloat (and yes, there’s a lot of it when dealing with lots of controls):

    1. Use AJAX to post only the items required – although be careful to allow clients that don’t have JavaScript enabled to still use the page/ site.
    2. The MVC framework allows multiple form tags to be used so you can group sections if needs be.
    3. Set the EnableViewState to false on pages/ controls.
    4. Break up your pages into smaller ones.

    Additionally, check out this brilliant graphical representation of the Page Life Cycle in ASP.NET.

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

Sidebar

Related Questions

Here is my code, simplified: <form id=form1 style=height: 759px runat=server> <%= Html.TextBox(txtDateFrom)%> <input type=button
I have a TextBox and a Gridview . <asp:Textbox ID=TextBox1 runat=server ></asp:Textbox> <asp:GridView ID=GridView1
Take this simple example for example: <asp:Panel ID=pnlTest runat=server> <asp:TextBox ID=txPanelText Text=Text runat=server />
If I for example have <p> some long text </p> on my HTML page,
Why does: const char example; (uint64*)example have a value of 140734799798420 and *(uint64*)example have
In my current project, I have a textbox where the user will enter some
I have a textbox in asp page which is a concrete view. User enters
I am wondering how I can get the value from an asp.net textbox that
Assuming I have the following ASP.NET HTML Code: <html> <head><title>Test Page</title></head> <body id=bodyID> <asp:Label
I have timepicker in page for one textbox, i want to use it for

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.