Select Categories Below
Advertisement
Start Your Own Q&A Site
Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.
Status: Closed Points: 25 Time: 23:02 - Feb 04, 2007
Nithya
what is the purpose of using prerender event in asp.net
Categories:
Add Categories
When adding more than one category, separate them with commas.
PeterNZ
Date:: Feb 19, 2007
Time:: 18:01
It is the event before the page is actually displayed on the screen. Or more technical, it happens BEFORE the render method gets called which creates the HTML code using the HtmlWriter. What's intersting is, that the viewstate isn' t updated and stored yet. Viewstate is the state of the webpage. If you need to change/update something which has to go into the viewstate, you should do this in the prerender event handler. If you do this after the render event, it will not be written to the viewstate, since the viewstate gets written just after the render event occurred. Does this makes sense? Cheers Peter
admin
Date:: Jun 16, 2007
Time:: 15:55
Nithya, please close this question and distribute the points. If you didn't get a solution to your problem or you found it yourself, please leave a comment here to let the experts know. Thanks, Quomon Admin
Date:: Jun 25, 2007
Time:: 05:54
The question has been closed. Quomon Admin
pathumca
Date:: Apr 10, 2009
Time:: 07:51
For every request to .aspx page the ASP.NET work processor will create a new instance of the corresponding page class object, once the request is executed the object of page class is destroyed automatically, the page object life cycle is controlled by its page life cycle events those are: 1 page_Init 2 page_Load 3 page_Prerender 4 Page_Unload Page_Prerender: After page executed and before rendering the output values to the the requested browser this event executes
nicholascage
Date:: Oct 08, 2010
Time:: 06:01
It is the event before the page is actually displayed on the screen. Or more technical, it happens BEFORE the render method gets called which creates the HTML code using the HtmlWriter. What's intersting is, that the viewstate isn' t updated and stored yet. http://www.neu92.com/
aimee
Date:: Dec 29, 2010
Time:: 00:39
My pc runs very slow, which drives me crazy, my friend recommended me a software tuneup360 several days ago, he said it is a pc cleaner; it seems very useful, but I wonder what’s the function of a pc cleaner?
digsingh1986
Date:: Feb 21, 2011
Time:: 00:11
Pre-Render is a part of page life circle. after that page loaded the event handling process is executed. when it is completed, the next step is data binding. the pretender is executed just before the data binding that means when pre-render is executed the data binding process is started.
support
Date:: Dec 22, 2011
Time:: 01:23
Enable Trace=true in your page directive- to see all the page life cycle event. Pre-Render event is just before the page send to the final output (html). Here you can make change the properties of the control because after that it will be saved to the viewstate
Question Answered
This question has been closed, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.
Answer this Question
New User
Email:
Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address
Registered User
Username:
Password:
Forgot Your Password?
Enter your email address below and we will resend your login information to you.
Login Information Sent
Questions
when we use prerender event in asp.net page?
ASP.NET radgrid pre render event
pre render event for rad grid
how to bind data in listview prerender event and set and add datetime with aj...
what will do init event i .net
You have 100 characters to use
Rank
Expert
Points
1.
10279
2.
6493
3.
5596
4.
4848
5.
3487
6.
2840
7.
2770
8.
2303
9.
1820
10.
917
Register today to share your knowledge with the community and be recognized and rewarded for your contributions.
Register Here
"Psst, Quomon is a great site. Pass it on." Tell a Friend | Link To Us | Save to Delicious | Digg it
Language Options
English:
Español:
Sponsors
Questions and Answers Software