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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T18:45:27+00:00 2026-05-12T18:45:27+00:00

If for instance, I was to give a response back to an ASP.Net Update

  • 0

If for instance, I was to give a response back to an ASP.Net Update Panel page, but use Response.Write and then end it before anything was rendered, what is the minimum I would need to write in the Response.Write?

  • 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-12T18:45:28+00:00Added an answer on May 12, 2026 at 6:45 pm

    If you take the following UpdatePanel …

    <asp:UpdatePanel runat="server" id="updatePanel" ChildrenAsTriggers="True">
        <ContentTemplate>
            <asp:TextBox runat="server" ID ="textbox1"/>
            <asp:Button  runat="server" ID="go" OnClick="OnGo" text="Go"/>
        </ContentTemplate>
    </asp:UpdatePanel>
    

    … then click the button and view the response in Firebug, you’ll get something like this (I’ve truncated the viewstate and event validation to make it a bit more readable):

    265|updatePanel|updatePanel|
    <input type="text" name="textbox1" value="content" id="input1" />
    <input type="submit" name="go" value="Go" id="go" />|
    52|hiddenField|__VIEWSTATE|/wXPZwUK...|
    64|hiddenField|__EVENTVALIDATION|/wEWB...|
    0|asyncPostBackControlIDs|||0|postBackControlIDs|||
    12|updatePanelIDs||tupdatePanel|0|childUpdatePanelIDs|||
    11|panelsToRefreshIDs||updatePanel|2|asyncPostBackTimeout||90|20|
    formAction||Upagename.aspx|13|pageTitle||Untitled Page|
    

    All that extra data is stuff that the ScriptManager needs to rebuild the contents of the UpdatePanel: control ids, the page name, viewstate, etc.. This is what you’d have to Response.Write manually for the ScriptManager to be able to do its job.

    For details, see “ScriptManager Enables AJAX In Your Web Apps“. At the end of the section titled “Putting the AJAX in ASP.NET AJAX”, the author explains what’s going on:

    Finally, the client framework gets the
    asynchronous response from the server
    and parses out data. The ScriptManager
    control has packed into the response
    all the control IDs and new markup so
    the client framework can simply
    perform scripting operations on the
    browser’s document object model to
    update the page content.

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

Sidebar

Related Questions

I install the MySQL in my EC2 instance, then I give to root a
I quite new to c# and asp.net so plz tell me if i give
Is it possible to give my HtmlHelper textbox an id ? For instance like
For instance, winsock libs works great across all versions of the visual studio. But
I essentially want to give each instance of a class a unique id. So,
I want to be able to give each instance of a particular object a
I'm trying to start a C# program running, and then give it command from
I am using podPress on my Wordpress instance to give users some playback controls
How can i give a class instance the name of an existing variable. I
can someone give me a hint why the umlaut in the model instance's name

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.