Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Membership Services Problem (http://www.velocityreviews.com/forums/t119831-membership-services-problem.html)

Wayne Wengert 02-17-2006 11:29 AM

Membership Services Problem
 
I am trying to add some profiles to an ASP.NET 2.0 application that uses the
membership services login control. I created a Sub for
Public Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As
EventArgs)

But that event never fires. The new registration information is getting
recorded in aspnetdb_Membership, apnetdb_users and MemberInfo tables so I
know the user is being created. Also, if I put a break in the

Protected Sub CreateUserFinished(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.WizardNavigationEventArg s)

event I can see that that event fires?

Any ideas on why the "CreatedUser" event never fires?



Wayne



=?Utf-8?B?RFdT?= 02-17-2006 04:30 PM

RE: Membership Services Problem
 
Wayne much easier to use the ide select the control and the events from the
dropdownlists in the code editor.

Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e
As System.EventArgs) Handles CreateUserWizard1.CreatedUser

End Sub
Good Luck
DWS


"Wayne Wengert" wrote:

> I am trying to add some profiles to an ASP.NET 2.0 application that uses the
> membership services login control. I created a Sub for
> Public Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As
> EventArgs)
>
> But that event never fires. The new registration information is getting
> recorded in aspnetdb_Membership, apnetdb_users and MemberInfo tables so I
> know the user is being created. Also, if I put a break in the
>
> Protected Sub CreateUserFinished(ByVal sender As Object, ByVal e As
> System.Web.UI.WebControls.WizardNavigationEventArg s)
>
> event I can see that that event fires?
>
> Any ideas on why the "CreatedUser" event never fires?
>
>
>
> Wayne
>
>
>


Wayne Wengert 02-17-2006 05:24 PM

Re: Membership Services Problem
 
Interesting. I actually deleted the sub and recreated it as you suggested
but it still never fired. Then I manually added the "Handles..." phrase and
now it fires.

Thanks for the help. I don't understand why the IDE creates the sub without
the handles phrase?

Wayne

"DWS" <DWS@discussions.microsoft.com> wrote in message
news:B2FB20D0-03E8-494F-B30E-370FBB54CD7F@microsoft.com...
> Wayne much easier to use the ide select the control and the events from
> the
> dropdownlists in the code editor.
>
> Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal
> e
> As System.EventArgs) Handles CreateUserWizard1.CreatedUser
>
> End Sub
> Good Luck
> DWS
>
>
> "Wayne Wengert" wrote:
>
>> I am trying to add some profiles to an ASP.NET 2.0 application that uses
>> the
>> membership services login control. I created a Sub for
>> Public Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e
>> As
>> EventArgs)
>>
>> But that event never fires. The new registration information is getting
>> recorded in aspnetdb_Membership, apnetdb_users and MemberInfo tables so I
>> know the user is being created. Also, if I put a break in the
>>
>> Protected Sub CreateUserFinished(ByVal sender As Object, ByVal e As
>> System.Web.UI.WebControls.WizardNavigationEventArg s)
>>
>> event I can see that that event fires?
>>
>> Any ideas on why the "CreatedUser" event never fires?
>>
>>
>>
>> Wayne
>>
>>
>>





All times are GMT. The time now is 02:30 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57