Home > DeveloperSection > Forums > Page_Load Fired everytime
Monaj Singh
Monaj Singh

Total Post:41

Points:287
Posted on    October-14-2010 7:59 AM

 ASP.Net ASP.Net 
Ratings:


 1 Reply(s)
 1263  View(s)
Rate this:
Hi Guys

 I am new for ASP.NET , please help i have problem with page_load which firing every time.



Uttam Misra

Total Post:124

Points:888
Posted on    October-14-2010 8:31 AM

use Page.IsPostBack to prevent reinitialization of your page.


Sub Page_Load
if Not Page.IsPostBack then
  lbl1.Text="MindStick"
end if
End Sub




If Page.IsPostBack = False
If Me.IsPostBack = False




Modified On Oct-14-2010 08:32:25 AM

Don't want to miss updates? Please click the below button!

Follow MindStick