Positioning a Datagrid from code behind.

J

Jim Mitchell

I was told previously that the following in code behind would position the
datagrid.

DataGrid1.Attributes.Add("top","10")
DataGrid1.Attributes.Add("left","11")

In my case, this is not effective. Is there a way to set the top and left
position of a datagrid? Can it go in the Page_Load routine?

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top