Author: griff303 | Posted on: 6/30/2008 9:21:12 AM | Views : 327

Is there any reason why the page_load would fire 3 times when I login? I have a page load with the following code and I have had to move my load of my dropdownlist(which is inside the login control) from my post back check to the else of the authentication check. I put a break point and the load fires off 3 times and the 3rd time it seems to lose focus on the dropdownlist.

 

 In the load......

If (Request.IsAuthenticated) Then
Dim userInfo As MembershipUser = Membership.GetUser(Profile.UserName)
Dim UserNameLabel As Label = CType ...

Go to the complete details ...