Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Professionals
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 27th, 2010, 07:07 AM
Authorized User
 
Join Date: May 2008
Location: Hyderabad, AP, India.
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 04: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 03: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 01: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



All times are GMT -4. The time now is 02:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.