Click here to Skip to main content
15,903,856 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys,

I am working on LogIn Name control.
Here is the code:
XML
<asp:loginname id="LoginName" formatstring=" Welcome,{0}" runat="server" xmlns:asp="#unknown" />


This is displaying the login user name in left side of my page but I want to show it on right top of my site.

I may need to change the format string property but don't know how.
Posted
Updated 13-Sep-10 21:36pm
v3
Comments
Dalek Dave 14-Sep-10 3:36am    
Minor Edit for Grammar.

1 solution

keep the loginname control in a div or table and set the align as right.

<div align = "right"> some text</div>


For login control, you can replace soemtext by ur control
 
Share this answer
 
Comments
pawanvats 15-Sep-10 0:28am    
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
pawanvats 15-Sep-10 0:30am    
thanx mohangbits, i was searching this in login name properties .
n really forgot to use div tag .
thnx dear

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900