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?
Loginname control value
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Hiren SoniRank #694 · 3.5K reputationPosted Aug 19, 2010, 7:29 PM EDT
TextBox1.Text = LoginName1.FormatString;
sam147 reputationPosted Aug 19, 2010, 7:42 PM EDT
Hiren SoniRank #694 · 3.5K reputationPosted Aug 19, 2010, 7:49 PM EDT
you can put in page_load event if you want it page_load.
it is based on your requirement.
sam147 reputationPosted Aug 19, 2010, 7:53 PM EDT
sam147 reputationPosted Aug 22, 2010, 11:35 PM EDT
The name 'TextBox1' does not exist in the current context
any code to add on?