That's not a terrible place, although the Page_Init event might be better
depending on exactly what it is you're trying to do.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"etam" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> where is the best place for setting components on load but only if
> this is not a postback?
>
> protected void Page_Load(object sender, EventArgs e) {
> if(!Page.IsPostBack) {
> //here?
> }
> }
>
> Regards,
> Etam.
>