Re: Single Page_Load Event
Code:
if(!IsPostBack) BindDDL();
Re: Single Page_Load Event
Hello..
I'm having a simular problem.. I have code that I only want to run ONCE..
I have this code
Code:
Protected Sub Page_Load(....) Handles Me.Load
If (Not IsPostBack) Then
Me.txtTest.Visible = True
Me.txtTest.Text = "test"
End If
End Sub
When I load the page it doesn't do anything.. Whe I press a button it fills my txt with "test", and after that it works fine..
It will run ONCE, but after a click.. But I want it to run on the load of the page..
Why doesn't it work?
thanks in advance!
nickname