Hi..
does anyone know how to get loginname control value in textbox
I am using loginname control after login,where it will display the username of the user.
Now i want to get that username value to textbox.
How do i suppose to do that?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
samPosted Aug 23, 2010, 3:35 AM
The name 'TextBox1' does not exist in the current context
any code to add on?
samPosted Aug 19, 2010, 11:53 PM
Hiren SoniPosted Aug 19, 2010, 11:49 PM
you can put in page_load event if you want it page_load.
it is based on your requirement.
samPosted Aug 19, 2010, 11:42 PM
Hiren SoniPosted Aug 19, 2010, 11:29 PM
TextBox1.Text = LoginName1.FormatString;