I have an UpdatePanel that needs to maintain the value of several TextBoxes
with TextMode=Passwo rd. Since the browser clears all password fields
client-side, I obviously need to use JavaScript to do this. Can someone help
me? Thanks.
Nathan Sokalski nj********@hotm ail.com http://www.nathansokalski.com/ 3 2995
Which browser is this (IE, FireFox) ? How are those fields cleared ? Are
they part of the update panel ? AFAIK there is nothing special with
passwords.
My first move would be likely to change them to textboxes so that you can
see how it behaves (and to see if it works as expected). For now I'm not
sure that the fact they are for passwords has something to do with the
problem...
--
Patrice
"Nathan Sokalski" <ns*******@kyle davidgroup.coma écrit dans le message de
groupe de discussion : uh************* *@TK2MSFTNGP04. phx.gbl...
I have an UpdatePanel that needs to maintain the value of several
TextBoxes with TextMode=Passwo rd. Since the browser clears all password
fields client-side, I obviously need to use JavaScript to do this. Can
someone help me? Thanks.
Nathan Sokalski nj********@hotm ail.com http://www.nathansokalski.com/
"Patrice" <http://www.chez.com/scribe/wrote in message
news:eX******** ******@TK2MSFTN GP04.phx.gbl...
[top-posting corrected]
>I have an UpdatePanel that needs to maintain the value of several TextBoxes with TextMode=Passwo rd. Since the browser clears all password fields client-side, I obviously need to use JavaScript to do this. Can someone help me? Thanks.
AFAIK there is nothing special with passwords.
There is...
My first move would be likely to change them to textboxes
I believe that they are already TextBoxes, judging by the OP's statement of
"several TextBoxes"...
For now I'm not sure that the fact they are for passwords has something to
do with the problem...
It has - this is the default behaviour for TextBoxes which have their
TextMode set to "Password".
Fortunately, it's simple enough to work round: http://www.codeproject.com/KB/custom...d_TextBox.aspx
--
Mark Rae
ASP.NET MVP http://www.markrae.net
The browser is IE7, and the password fields are cleared by the browser,
there is no code that I use to clear them. I know that it is only the
password fields that this is happening to because the UpdatePanel contains
password and non-password fields, but only the password fields are cleared.
I have seen many other websites in which the password fields get cleared
after a submit button is clicked, so I am pretty sure it's not just me. If I
make them regular textboxes, then I obviously won't have this problem, but
we do make certain fields password fields for a reason. Any ideas? Thanks.
--
Nathan Sokalski nj********@hotm ail.com http://www.nathansokalski.com/
"Patrice" <http://www.chez.com/scribe/wrote in message
news:eX******** ******@TK2MSFTN GP04.phx.gbl...
Which browser is this (IE, FireFox) ? How are those fields cleared ? Are
they part of the update panel ? AFAIK there is nothing special with
passwords.
My first move would be likely to change them to textboxes so that you can
see how it behaves (and to see if it works as expected). For now I'm not
sure that the fact they are for passwords has something to do with the
problem...
--
Patrice
"Nathan Sokalski" <ns*******@kyle davidgroup.coma écrit dans le message
de groupe de discussion : uh************* *@TK2MSFTNGP04. phx.gbl...
>I have an UpdatePanel that needs to maintain the value of several TextBoxes with TextMode=Passwo rd. Since the browser clears all password fields client-side, I obviously need to use JavaScript to do this. Can someone help me? Thanks.
Nathan Sokalski nj********@hotm ail.com http://www.nathansokalski.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Antoni |
last post by:
Hello,
I wondered if anyone could advise? I am trying to write a basic
script, which allows user's to enter there username, password in text
fields. Then we take these values and pass them to the method
login_user($userid, $password);
I was unsure how to take the text fields values, and store them in
variables, when the submit button is clicked?
|
by: lost hope |
last post by:
hey guys,
on the main page of my site, i have a login area (user/pass text
boxes). when the user submits the form, the page is reloaded with with
a global php variable "loggedIn" set to true. i also store the
username and password in the page in a hidden form -- so that it can be
passed to other pages on the site through standard navigation
(maintaining the "loggedIn" status). however, is there any way to save
this information if the...
|
by: Zb Bornemann |
last post by:
Hi All,
Ok. Here's what my table looks like:
Field1 Field2 Field3 Field4...
Record1 1 3 2 9
Record2 9 1 9 4
Record3 1 3 1 2 etc, etc.
What I want to do is for each record, count the number of values across the
|
by: MattC |
last post by:
I have created a container class and instantiated it in one of my pages. I
fill the object on page load when not on a postback. On a button click i
want to do somethign with the values in that object, but on my button event
being reached the object is now empty.
private Visitor VisitorObj = new Visitor();
protected Label label1;
private void Page_Load(object sender, System.EventArgs e)
{
|
by: User |
last post by:
Form A (Main)
Text Box 1
Text Box 2
Text Box 3
Form B (Pop-up)
Choose a selection for Form A/Text Box 3
Scenario:
| |
by: mkjets |
last post by:
I have worked for hours on trying to find a solution and have not
figured it out. I am working in Access 2003. I need to create a query
that takes values from 1 table and displays them in multiple fields. I
don't have the option of changing the structure of the existing tables
because I am importing them from a separate data source on a regular
basis. I also need to use a query instead of a form because I then
need to be able to export...
|
by: M |
last post by:
I have about 14 tables that I am trying to tie together in a view to
see a user's status in our company.
Joe User:
Email - Active
ADP - Active
Portal - Inactive
etc.
We need to track application access across the company, so we have
|
by: Nathan Sokalski |
last post by:
I have 2 private variables in my class that I need to remember the values of
between postbacks (or actually callbacks, since I am using AJAX). I want to
avoid using session variables, if possible. Is there any other way to have
VB.NET maintain the values of these variables between postbacks & callbacks?
Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
|
by: =?Utf-8?B?R3JlZw==?= |
last post by:
I have the following three files.
1. Users.aspx is a webpage that uses the <asp:ObjectDataSourcecontrol to
populate a simple <asp:ListBoxcontrol.
2. The UserDetails.cs file creates a Namespace named UserComponents and
creates an object named UserDetails.
3. The UserDB.cs file retrieves the actual data from the database.
The code below has been condensed and only includes two fields from my
datasource. I actually am also
retrieving...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |