C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

(so so urgent)---password field getting cleared on postback


Posted Date: 10 Oct 2008      Posted By: Prasanth Kumar S.D      Member Level: Gold     Points: 1   Responses: 1



its so so urgent


I am developing a C# asp.net application.
in my aspx page, which contains 2 dropdowns and a textbox with
type="password".
On "SelectedIndexChanged" event of the first dropdown, there is a postback,
in order to fill the second dropdown according to the value selected in the
first dropdown.
The problem is that the password field which has been filled up before is
cleared after postback.
I know this is for security, but is there a way to keep the password??


i ve used ajax update pannel

tried to save in session and bind again.

but doesnt works


pls provide a correct solution





Responses

Author: Mari raj k    10 Oct 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 3

since u are using the server controls the request is sent to the server and the whole page gets refreshed again,

so check the ispostback in the form load and control it



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Extract Text from Word Document
Previous : how to show the first menu item as the selected menu in menu control
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use