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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:06:50+00:00 2026-05-30T00:06:50+00:00

I have a webform that uses events in the master page to log activity.

  • 0
  • I have a webform that uses events in the master page to log activity.
  • I have a sitemap.aspx file that generates proper XML for Google.
  • The sitemap.aspx calls Response.End() to ensure the normal ASP.NET stuff (view state, master page content, etc) does not render. This XML must be exact.
  • When I call Response.End() from the content page, none of the master page’s events fire.

Is there a way to tell the CLR to send exactly this string as the response, while allowing the Master page to continue its normal execution, and without having to decouple the ASPX from the Master page and call the logging methods manually?

  • 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-30T00:06:51+00:00Added an answer on May 30, 2026 at 12:06 am

    There’s no pre-packaged way to do what you’re asking.

    One approach might be to set a flag somewhere (maybe in HttpContext.Items) after you write your string to the output buffer. Then, in your page class, override the Render() method; if the flag is not set, then call base.Render(), otherwise don’t. By skipping Render(), no additional output will be generated.

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

Sidebar

Related Questions

I have a page that uses multiple UpdatePanels and a MasterPage. Upon switching my
I have a web form that uses if statements to create a string of
We have an ASP.NET 2.0 WebForms app that uses MS Ajax 1.0. It's working
I have a WebForm that contains the following definition for the FCKeditor: <FCKeditorV2:FCKeditor ID=txtBody
Good Morning, I have created an ASP.NET 3.5 webform that allows users to search
I have a webforms page that makes quite extensive use of AJAX. There are
Using Visual Studio 2008 and VB.Net: I have a working web app that uses
I have Webview application that uses progress bar dialog. It works fine but the
We have a system that uses sp_getapplock to create an exclusive mutex any time
I have a standalone webform (no masterpage) that opens in a div from another

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.