Control.PreRender Event
.NET Framework 2.0
Occurs after the Control object is loaded but prior to rendering.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: event EventHandler^ PreRender { void add (EventHandler^ value); void remove (EventHandler^ value); }
/** @event */ public void add_PreRender (EventHandler value) /** @event */ public void remove_PreRender (EventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.
Use this event to perform any updates before the server control is rendered to the page. Any changes in the view state of the server control can be saved during this event. Such changes made in the rendering phase will not be saved.
| Topic | Location |
|---|---|
| How to: Create Event Handlers in ASP.NET Web Pages | Building ASP .NET Web Applications |
| How to: Create Event Handlers in ASP.NET Web Pages | Building ASP .NET Web Applications |
Community Additions
ADD
Show: