473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Login control

Hi,

How I can programatically get text from password and username edit
boxes within Login control?

Thanks
Jun 26 '07 #1
6 1710
hi
check this
http://www.codeproject.com/Purgatory/logincontrol.asp

Husam Al-Aáraj
www.aaraj.net

"Mike" wrote:
Hi,

How I can programatically get text from password and username edit
boxes within Login control?

Thanks
Jun 26 '07 #2

Thanks Husam.
I didn't explain so well, I am not looking for new login control, my
question is in relation with asp.net 2.0 login control.

Mike

On Tue, 26 Jun 2007 12:45:00 -0700, Husam Al-A''araj
<Hu**********@discussions.microsoft.comwrote:
>hi
check this
http://www.codeproject.com/Purgatory/logincontrol.asp

Husam Al-Aáraj
www.aaraj.net

"Mike" wrote:
>Hi,

How I can programatically get text from password and username edit
boxes within Login control?

Thanks
Jun 26 '07 #3

Can somebody help me in this?

Thanks
On Tue, 26 Jun 2007 21:11:43 +0200, Mike <ab******@yahoo.comwrote:
>Hi,

How I can programatically get text from password and username edit
boxes within Login control?

Thanks
Jun 27 '07 #4
use object browser to look at System.Web.UI.WebControls.Login (find it by
doing a search for 'login')

I built a test page with login, button and textbox controls. The
button_click contains
TextBox1.Text = Login1.UserName

B o b
>
How I can programatically get text from password and username edit
boxes within Login control?
Aug 29 '07 #5
If youre using a login control, u can get the ID from the MembershipUser class as

Member user = MembershipUser.getUser();
string userID = user.UserName.toString();
string password=user.Password.toString();

THE ABOVE SYNTAX MAY NOT BE Exact, but its something like this one. Hope you must've got the idea.
Nov 17 '08 #6
If youre using a login control, u can get the ID from the MembershipUser class as

Member user = MembershipUser.getUser();
string userID = user.UserName.toString();
string password=user.Password.toString();

THE ABOVE SYNTAX MAY NOT BE Exact, but its something like this one. Hope you must've got the idea.
Nov 17 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: clintonG | last post by:
This is an appeal for peer support sent to Microsoft as will be noted in closing. The Login control does not include a Cancel button. The only option is to convert the Login control to a...
1
by: EricRybarczyk | last post by:
I am starting a rewrite of an existing Classic ASP web site in ASP.NET 2.0. The existing ASP application has several types of users, each with a separate login process (separate login page,...
1
by: Jeff Lynch | last post by:
I'd like to add the following attributes to the Login control's Login Button to create a CSS rollover effect. How can I access the control's login button from the page's code-behind? ...
3
by: ilockett | last post by:
The background: I have a web app with a simple master page that contains just one content placeholder. I have created a web form that then uses this master page. Within the content...
3
by: Bruce | last post by:
I just started the design of an ASP.NET application which accesses one of our custom web services to provide user authentication, among other purposes. I created a log-in page (code below),...
5
by: Afshar | last post by:
Hi everybody there, I have a special Login page that wants users to enter 3 passwords rather than a single password. But can't do it with Login control. I tried following scenarios: 1. Put an...
3
by: goot | last post by:
I'm trying to use the login control and have it use the membership provider framework to authenticate users and am having a problem (which i'm sure will turn out to be a stupid mistake on my...
2
by: Sasquatch | last post by:
I'm having trouble creating a simple login page using the asp:login control. I followed some instructions in a WROX book, "Beginning ASP.NET 2.0," and the instructions are very straight forward,...
3
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
The majority of pages on our site need authentication (forms auth against the aspnetdb database). I created an '~/auth' folder with its own config file forcing authentication for any pages in the...
6
by: dan | last post by:
Hi, Could someone please let me know how to center a Login control on a page? Can I use CSS to do that? Thanks, Dan
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.