ToolBox HTML Control HTMLPassword

HTML Password Web Server Control

In ASP.NET environment,This article describes you how to work with HTML Password Control.In HTML environment, Password is an object that represents a HTML Password in an HTML form. The Password control in a HTML form contains all instance of an <input type="password"> tag.

The Value property of the Password control is posted to the server each time the form is submitted. The Value property for the HtmlInputPassword control is not available in view state.All of these characters are represented as asterisk(*). The MaxLength property specifies the maximum number of characters that can be entered in the text box. The Size property allows you to specify the width of the text box.

There are several functions available to access the HTML Password.some of its funtions are as follows,

  • document.getElementById()
  • document.getElementByName()
Password Objects Properties
  • id -Sets or returns the id of a Password
  • form -Returns a reference to the form that contains the Password
  • accessKey -Sets or returns the keyboard key to access a Password
  • alt -Sets or returns an alternate text to display if a browser does not support Passwords
  • disabled -Sets or returns whether or not a Password should be disabled
  • tabIndex -Sets or returns the tab order for a Password
  • name -Sets or returns the name of a Password
  • type -Returns the type of form element a Password is
  • maxLength - Sets or returns the maximum number of characters in a text field
  • readOnly -Sets or returns whether or not a text field should be read-only
  • value -Sets or returns the text that is displayed on the Password
  • title -Sets or returns an element's advisory title
  • lang -Sets or returns the language code for an element
  • dir -Sets or returns the direction of text
  • className -Sets or returns the class attribute of an element
Password Objects Methods
  • blur() -Performs focus when leave from the control
  • click() -Simulates a mouse-click on a Password
  • focus() -Performs focus when enter into the control

The following code snippets explains you the HTML Password in the web form.

in .aspx page,

<html  >
  <body>
    <form id="Form2" runat="server">
          
        <p></p><div>Email</div> <br />
        <input id="Text1" type="text" runat="server" />
        <p></p><div>Email</div> <br />
        <input id="Password1" type="password" runat="server" />
        <p></p><input id="Submit1" type="submit" runat="server" value="Submit" />
    </form>
  </body>
</html>
 
Related Links

Posted by: Admin
Posted on: 9/18/2009 at 4:52 PM
Tags: , ,
Categories: Asp.net
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (37) | Post RSSRSS comment feed

Comments

Onlineatoz.net

Friday, September 18, 2009 4:53 PM

trackback

ToolBox HTML Control HTMLRadio

ToolBox HTML Control HTMLRadio

cash loans United States

Friday, October 30, 2009 8:33 PM

cash loans

Yea nice Work !Laughing

payday loans United States

Saturday, November 14, 2009 5:17 PM

payday loans

I just hope to have understood this the way it was meant

Alaska Payday Loans United States

Monday, January 04, 2010 3:37 PM

Alaska Payday Loans

I just hope to have understood this the way it was meant

payday loans United States

Tuesday, January 26, 2010 10:40 AM

payday loans

nothing more to say. just great

usa payday loan United States

Friday, March 26, 2010 8:04 AM

usa payday loan

This is a great article thanks for sharing this informative information.. I will visit your blog regularly for some latest post.

overnight cash advances United States

Saturday, March 27, 2010 7:48 AM

overnight cash advances

Finally, got what I was looking for!! I definitely enjoying every little bit of it. Glad I stumbled into this article! smile I have you bookmarked to check out new stuff you post

quick pay loan United States

Monday, March 29, 2010 11:06 PM

quick pay loan

Keep working ,great job!

bad credit loans lenders United States

Tuesday, March 30, 2010 8:55 AM

bad credit loans lenders

In searching for sites related to web hosting and specifically comparison hosting linux plan web, your site came up.You are a very smart person!

stretch mark lotion United States

Thursday, April 01, 2010 10:23 PM

stretch mark lotion

This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article!

Rapidshare United States

Wednesday, April 28, 2010 3:17 AM

Rapidshare

I\'m happy I found this blog, I couldnt discover any info on this subject matter prior to. I also run a site and if you want to ever serious in a little bit of guest writing for me if possible feel free to let me know, i\'m always look for people to check out my site. Please stop by and leave a comment sometime!

loans until payday United States

Friday, April 30, 2010 5:13 AM

loans until payday

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It's always nice when you can not only be informed, but also entertained! I'm sure you had fun writing this article.

ten dollar payday loan United States

Thursday, May 06, 2010 5:30 PM

ten dollar payday loan

Super-Duper site! I am loving it!! Will come back again - taking you feeds also, Thanks.

belkin laptop bags United States

Thursday, May 20, 2010 3:54 AM

belkin laptop bags

Don’t stop blogging! It’s nice to read a sane commentary for once

coach bags United States

Thursday, June 03, 2010 4:59 AM

coach bags

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

herve leger dress People's Republic of China

Monday, June 07, 2010 9:33 AM

herve leger dress

I really appreciate what you’re doing here.

herve leger dress People's Republic of China

Monday, June 07, 2010 9:34 AM

herve leger dress

I really appreciate what you’re doing here.

Svitlana.Net.Ua United States

Thursday, June 17, 2010 3:09 AM

Svitlana.Net.Ua

I would like to thank you for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now.

няня United States

Tuesday, June 22, 2010 7:18 PM

няня

I would like to thank you for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now.
http://svitlana.net.ua/staff/category/3/ гувернантка, http://svitlana.net.ua/staff/category/5/ повар, http://svitlana.net.ua/staff/category/6/ садовник, http://svitlana.net.ua/staff/category/10/ репетитор, http://svitlana.net.ua/staff/category/4 домработница, http://svitlana.net.ua/staff/category/8/ семейная пара, http://svitlana.net.ua/pages/2/ работа няней.

bag to school United States

Wednesday, June 23, 2010 5:28 AM

bag to school

Nice post to hang on..I really loved it the way of the stuff provided in this article..This has given very useful information..

Покер Онлайн United States

Friday, June 25, 2010 9:21 AM

Покер Онлайн

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts.Any way Ill be subscribing to your feed and I hope you post again soon

ugg boots People's Republic of China

Saturday, June 26, 2010 4:05 AM

ugg boots

Well , the view of the passage is totally correct ,your details is really  reasonable and  you <a href=" http://www.discountbootsonsale.co.uk/
" >wslmart.net </a> guy give us  valuable  informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!

moncler jackets People's Republic of China

Tuesday, June 29, 2010 8:48 AM

moncler jackets

I always enjoy coming back to this blog for posts like this.

Wedding accessories wholesale People's Republic of China

Tuesday, June 29, 2010 8:48 AM

Wedding accessories wholesale

Thanks for this brilliant article. I am delighted after reading this. Thank you!

nfl jersey People's Republic of China

Thursday, July 01, 2010 3:06 AM

nfl jersey

Thanks for the info!!

Красивые проститутки United States

Sunday, July 04, 2010 11:37 AM

Красивые проститутки

Отдых в Сочи всегда скрасят проститутки
Мы всей компанией очень часто ездим отдыхать в Сочи. Каждый год, летом, мы отбрасываем все дела и отправляемся к морю и солнцу. Сколько я себя помню, столько мы этим и занимаемся, что самое интересно, мы всегда ездим отдыхать не в санаторий или гостиницу, а дикарем. Берем с собой палатки, набираем самую необходимую провизию и на  целый месяц отказываемся от всех благ цивилизации, что бы насладиться морем, солнцем и проститутками.

Магазин сантехники United States

Sunday, July 04, 2010 12:01 PM

Магазин сантехники

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts.Any way Ill be subscribing to your feed and I hope you post again soon

moncler jackets People's Republic of China

Monday, July 05, 2010 7:49 AM

moncler jackets

In a statement issued after his meeting with Biden, Maliki said he expected political blocs to agree on <a href="www.nikemaxsale.com/AIR-MAX-TURBULENCE.html" >AIR MAX TURBULENCE</a> the distribution of main government posts before the next parliamentary session, due on July 14. The prime minister is seeking a second term

проститутки Подмосковья United States

Wednesday, July 07, 2010 4:06 PM

проститутки Подмосковья

You have some honest ideas here. I done a research on the issue and discovered most peoples will agree with your blog.

Новинки сантехники United States

Sunday, July 11, 2010 9:25 AM

Новинки сантехники

It\\\'s an intriguing approach. I commonly see minimalist judgments on the matter but yours it\'s written in a pretty special way. For sure, I will revisit your site for more info.

diet for a six pack United States

Sunday, July 11, 2010 10:48 AM

diet for a six pack

But soon after reading The Fact About 6 pack Abdominal muscles I couldn t wait to acquire to my pc to write this review  It was the very best publication on ab education that I ve ever examine and in the event you adhere to it  you might see effects If you're just attempting to get rid of a good deal of pounds  then producing little modifications in your diet regime will guide you make a great deal of progress incredibly quick  For illustration  in case you were to only consume drinking water  unsweetened iced tea  and green tea  then you won't be consuming any energy from beverages  For an individual who just w

diet for a six pack United States

Sunday, July 11, 2010 1:15 PM

diet for a six pack

Require some motivational helpIJA    For motivation I notify men and women to examine this as if you might get greatly rewarded  aside from just obtaining abdominal muscles   you possibly can notify your self  a oeIf I get 6 pack ab muscles Ia  ll be positive to land that job  or finally obtain the confidence to ask Jessica out on the datea   and so on A    T

diet for a six pack United States

Sunday, July 11, 2010 11:53 PM

diet for a six pack

All physical exercises are completed in supersets  For instance  Squat are supersetted with Chest Press while using band  Will not sleep inside of the superset  in between Squat and chest press   but relaxation one minute following squats previous to repeating the superset

Проститутки United States

Monday, July 12, 2010 9:50 AM

Проститутки

You gave nice ideas here. I done a research on the issue and learnt most peoples will agree with your blog. Certainly, these practices are unfair; but they say that most of their rules are only to apply to people who overdraw.

pay day loans United States

Monday, July 12, 2010 4:22 PM

pay day loans

The only way to find the limits of the possible is by going beyond them to the impossible. http://www.clicknpayday.com

make up artist classes in michigan United States

Thursday, July 15, 2010 2:04 PM

make up artist classes in michigan

The 1 glimpse my friends constantly request me to teach them could be the smoky eyesight  They kind of sneak as much as me and shyly inquire  as if there're asking me to divulge a secret sex method  It s amusing how the smoky eyesight has this sort of a forbidden-fruit top quality for some females  It s not just a good nighttime  come-hither

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading