473,473 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Login control

Hi,

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

Thanks
Jun 26 '07 #1
6 1711
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.