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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:57:09+00:00 2026-05-16T21:57:09+00:00

I google about Page_preRender that how can we use Page_PreRender rather than page_Load or

  • 0

I google about Page_preRender that how can we use Page_PreRender rather than page_Load or what could be the scenario where we could not use page_Load and have to use Page_PreRender but every place I find that,

“The point at which the objects are prerendered is the last time changes to the objects can be saved or persisted to viewstate. This makes the PreRender step a good place to make final modifications, such as changing properties of controls or changing Control Tree structure, without having to worry about ASP.NET making changes to objects based off of database calls or viewstate updates. After the PreRender phase those changes to objects are locked in and can no longer be saved to the page viewstate. The PreRender step can be overridden using OnPreRender“.

but I could not understand that which sort of changes are which we could not do in page_Load and have to do in PreRender.

As I know that on Page_PreInit we can create Controls dynamically, change or assign MasterPage or Theme which we could not in page_Load or after Init.

But what about Page_PreRender what are things which we can only do in Page_PreRender.

  • 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-16T21:57:10+00:00Added an answer on May 16, 2026 at 9:57 pm

    Certain events are triggered after the Page_Load event. Some are apparent while others are not. This is because these events can only perform after the recreation (or rather after loading). For eg, If you wish to register a piece of client script, The good place could be Page_Render. Or the Page.validate method which you might purposefully call in the Page_Load to validate controls can be understood to be already called in the render stages.

    Likewise certain others which only work when their associated controls are ready to be rendered (fully treated for a user’s browser).

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

Sidebar

Related Questions

Every time I search on Google about OpenGL programming I found articles but it
I've been looking on google about this but I can't find a clear answer.
I have a problem since three days about google map. I want to use
I have a filter that I use for lang support in my webapp. But
I have searched on google about how to get started with the dependency property
I have a little problem about Google Maps. I'm using Geocoding (xml) for getting
I am making app about google documents. but I don't know How to save
One thing that really bothers me about Google Code is that fact that it
I googled this about 1/2 a hour no hit's. Scenario is that, dynamic scripts
i have a question about google maps markers and javascript. i have a page

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.