Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Professionals
|
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 27th, 2010, 06:07 AM
Authorized User
 
Join Date: May 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to kalyanykk
Default How to call login control's LoggingIn event manually

Hi All,
I am using asp.net login control in my login screen for one of my project.
I am using forms authentication in that project.

After I enter user name and password & clicked on "log in" button of the login control, then the event Login1_LoggingIn(object sender, LoginCancelEventArgs e) is fired followed by Login1_LoggedIn
event.

Now my requirement is i have to call the event Login1_LoggingIn in page load without clicking on "log in" button after i set the username as Login1.UserName = "username" in my code behind.
How do i login by directly calling the above event without clicking the "log in" button manually.
Also how can i set the password for login control through code behind.

please anyone suggest me some tips..

thanks & regards,
kalyan





Similar Threads
Thread Thread Starter Forum Replies Last Post
Call a Button's click event sams ASP.NET 1.0 and 1.1 Professional 3 July 24th, 2007 03:32 AM
How to call a codebehin function on onblur event?? kv Priya ASP.NET 1.0 and 1.1 Professional 1 June 14th, 2006 02:43 PM
call button's click event explicitly sansircar ASP.NET 1.0 and 1.1 Professional 1 January 25th, 2006 01:07 AM
Call code behind from HTML button event X-Ken VS.NET 2002/2003 1 July 27th, 2004 12:46 PM
how to call serverControl Button event using .... alyeng2000 ASP.NET 1.0 and 1.1 Basics 1 December 9th, 2003 10:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.