Register  |  Login



Earn money by sharing your knowledge through Quomon's revenue sharing program

Question

Status: Closed Points: 25 Time: 23:02 - Feb 04, 2007  

Nithya

What will do prerender event in .net

what is the purpose of using prerender event in asp.net

Categories:

Answer Discussion
Tutorials

 

Q&A System for Websites and Corporate Collaboration

Advertisement

  • Generates significant organic traffic for websites
  • Saves companies money, resources, and time

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

admin

Date:: Jun 25, 2007

Time:: 05:54

The question has been closed.

Quomon Admin

Question Answered

This question has been closed, and points have been rewarded to the following experts:

PeterNZ: 25

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?

No tutorials have been submitted yet. Want to be the first?

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?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top .net Experts

View More

Rank

Expert

Points

1.

PeterNZ

885

2.

nidhi

560

3.

rcastagna

488

4.

multani.sarbjit

200

5.

dustPuppy

75

6.

Sergio Costa

50

7.

Zoush

50

8.

manohar.patil

30

9.

xarcus

25

10.

prashanth.guru

20

Become an Expert

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! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es