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

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,073
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top