MrTV
asked on
c# how can webcon trol fill user name
c# how can webcontrol fill user name automatic fill username(david) and password (1234) in the sign inform
in this case if it have user name teera it should delete it and fill david
in this case if it have user name teera it should delete it and fill david
<span class="formValue">
<input id="msuLoginName" name="msuLoginName" value="teera" class="text rightEdge" style="width: 276px; height: 16px;" type="text">
</span>
</div>
<div class="formRow">
<span class="formName">
<label for="msuPassword">Password:</label>
</span>
<span class="formValue">
<input id="msuPassword" name="msuPassword" class="text rightEdge" style="width: 276px; height: 16px;" type="password">
</span>
Is it possible to set the textbox tht has a password property from code-behind. I dnt think so.
ASKER
Hi expert
My job is go to website and post promotion of the shop I need to put user name and password then put my personal information the problem is auto complete pro gram not work well for my language My idea is use c# to fill some information and some in formation some and the rest i fill by myself so I just want some example to do this
My job is go to website and post promotion of the shop I need to put user name and password then put my personal information the problem is auto complete pro gram not work well for my language My idea is use c# to fill some information and some in formation some and the rest i fill by myself so I just want some example to do this
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You want to know how can you make a user control which includes a textbox for username and a password, automatically. right?
If yes, then you can use properties to do this. In your user control, you need to define public properties which you will populate on the Page_Load of your webpage which uses the user control.
Your property's 'SET' clause should then assign the value to the TEXT property of the textboxes.
Hope it helps.
If this is not what you were looking at, please clarify and i will try to help you out.