By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,462 Members | 799 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,462 IT Pros & Developers. It's quick & easy.

How To Programmatically Place an asp:label and Other Web Controls

P: n/a
I need to be able to change the location of asp:labels in a C# ASP.NET web application from code. How can this be done. the WebControls.Label class has no apparent location properties. I see them as part of the style property but it is not clear how to access and change the X-Y coordinates of the control from program code

Thanks
Eagle
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
place a Panel control on the Form in design mode. You can add the Controls
(Label) to this Panel.

Av.

"Ea******@HighFlyingBirds.com" <an*******@discussions.microsoft.com> wrote
in message news:8B**********************************@microsof t.com...
I need to be able to change the location of asp:labels in a C# ASP.NET web
application from code. How can this be done. the WebControls.Label class
has no apparent location properties. I see them as part of the style
property but it is not clear how to access and change the X-Y coordinates
of the control from program code.

Thanks,
Eagle

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.