Set Password Default Value in LoginView
-
Hi Friends, I have a TextBox field in LoginView Control of the ASP 2.0 with TextMode="Password", I want to set its default value as we can set with TextMode="SingleLine". I tried but couldn't. anyone of you can help me in this? Regards, Abubakar
-
Hi Friends, I have a TextBox field in LoginView Control of the ASP 2.0 with TextMode="Password", I want to set its default value as we can set with TextMode="SingleLine". I tried but couldn't. anyone of you can help me in this? Regards, Abubakar
hi there: Setting value for password textbox is different from normal...try below...
txtpasswd.Attributes.Add("value", "the password we wish to set");
<< >> -
hi there: Setting value for password textbox is different from normal...try below...
txtpasswd.Attributes.Add("value", "the password we wish to set");
<< >>Thanks, I have done myself, here is code for that; ((TextBox)((Login)LoginView1.FindControl("LoginID")).FindControl("PasswordID")).Attributes.Add("value", "passsss");