rmatthew Posted March 5, 2003 Posted March 5, 2003 I need to dynamically load a number of listbox controls on a webform. Is there a way that I can specifiy a position for the newly loaded controls? Thanks in advance! Quote
Moderators Robby Posted March 5, 2003 Moderators Posted March 5, 2003 There may be a better way of doing this, but here's one way.... PlaceHolder1.Controls.Add(new LiteralControl("<center>")); label1.Width = System.Web.UI.WebControls.Unit.Parse("100%"); Label1.Height = System.Web.UI.WebControls.Unit.Parse("50pt"); Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.