Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 August 4th, 2003, 04:38 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot find HtmlInputPassword?

Hi there...!

I am fairly new to all this .NET stuff. And I was looking in books and in the documentation that goes with the .NET framework, however I cannot find HtmlInputPassword as I would expect to find.

I can find HtmlInputImage, however the equivalent to...

Code:
<INPUT type='password'>
...where is it!?! Or what can I do!?

Best regards
Jacob.
__________________
Danish audio books for download at http://www.lytenbog.dk (Danske lydbøger til download).
 
Old August 4th, 2003, 07:04 AM
Registered User
 
Join Date: Jul 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to admin@martine.cz Send a message via MSN to admin@martine.cz
Default

<asp:TextBox id="TextBox1" TextMode=Password></asp:TextBox>

Martin Chundela
 
Old August 4th, 2003, 08:06 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, but I was probably not precise enough, my fault ...

I would like to do the controls dynamically as in (not tested)...
Code:
...
HtmlForm form = new HtmlForm();
HtmlInputImage image = new HtmlInputImage()
form.Controls.Add(image);
Page.Controls.Add(form);
...
Then how do I make a password field?

Thanks
Jacob.
 
Old August 5th, 2003, 02:26 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, figured it out myself :D... and if anybody is interested, here it is...
Code:
HtmlInputText passwordControl = new HtmlInputText("password");
Simple, right!?

Jacob.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to find more? JpaulH Access VBA 2 May 3rd, 2006 06:56 AM
Open Word Doc from Access - find, find next save donaldmaloney Access VBA 1 May 25th, 2005 11:09 AM
Create a find and a find and replace in VB.NET snowy0 VB How-To 0 January 26th, 2004 07:03 PM
How can I use Find with % Omar2003 ADO.NET 0 August 6th, 2003 10:19 AM





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