3.0: initial password for asp:Login

R

R.A.M.

Hello,

I have created asp:Login control on default.aspx page. In Page_Load() I
wanted to initialize login name and password:

LoginControl.UserName = ...; LoginControl.Password = ...;

but I received error:

Cannot assign value to 'System.Web.UI.WebControls.Login.Password -- it is
readonly.

Could you help me please to solve the problem? Thank you!

/RAM/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,709
Latest member
AustinMudi

Latest Threads

Top