use the Page.IsPostBack property to check if the Load event is
called for the first time or as a result of a postback.
if(Page.IsPostBack)
{
ur code here
}
--- In [EMAIL PROTECTED], meghanad chitre
<[EMAIL PROTECTED]> wrote:
> hi all,
>
> I am creating few text boxes in Page_Load event of a
> webpage.
> Now a user can keyin the values in those dynamically
> created controls.
> On a click of a button (this is not dynamically
> created) i need to access all those
> controls which were dynamically created (i can trace
> those with fixname + variable name approach)
>
> But when i try this
> all the time the concerned control is not found and
> error is thrown.
> I know that this is happening due to Post Back.
> i.e. the dynamically created controls are wiped off
> since its a postback.
>
> how can this problem be handled ?
> please guide,
> best regards,
> --meghanad
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Domains � Claim yours for only $14.70/year
> http://smallbusiness.promotions.yahoo.com/offer
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/