Re: Prerender(): what is it?
I'm not sure if you're talking about the page event PreRender or a specific control?
But generally in ASP.NET PreRender is the last event run before actually transmitting the page to the client (well, one of the last, which the coder himself can access) aka the page/controls being actually rendered.
It is often used if having a lot of dynamically created controls, due to the page life-cycle of PageLoad -> Event -> PreRender
Re: Prerender(): what is it?
Quote:
Originally Posted by
Alsvha
I'm not sure if you're talking about the page event PreRender or a specific control?
But generally in ASP.NET PreRender is the last event run before actually transmitting the page to the client (well, one of the last, which the coder himself can access) aka the page/controls being actually rendered.
It is often used if having a lot of dynamically created controls, due to the page life-cycle of PageLoad -> Event -> PreRender
yes, the event Prereder() but can you give me an example code of "what it can do" for example for a componenet Calendar? thanks
Re: Prerender(): what is it?
No I can't give code because you put normal code into that event, when you for example have to deal with dynamically loaded controls which needs to have values set but which then can't be set in for example the page load.
It's just an event run at a specific time in the life cycle of the page.