Solved

.net 2005 DataGrid cannot drag and drop

Posted on 2007-11-26
4
699 Views
Last Modified: 2013-11-07
Hello All,

I am working in asp.net 2005 and have created a DataGrid in the design area.  I have done this many times but this time I cannot drag and drop the datagrid.  It is locked to the top left corner of the design area.

any ideas.

thanks,

Ken
0
Comment
Question by:kenhoppe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Author Comment

by:kenhoppe
ID: 20352052
Hello All,

I am working in asp.net 2005 and have created a DataGrid in the design area.  I have done this many times but this time I cannot drag and drop the datagrid.  It is locked to the top left corner of the design area.

any ideas.

thanks,

Ken
0
 
LVL 16

Accepted Solution

by:
McExp earned 250 total points
ID: 20353154
Quick question, have you "done this many times" in 2005? I'm assuming your aware of the differnce between Flow Layout and Grid Layout? VS.NET offered Grid Layout as the default, whereas VS 2005 defaults to Flow Layout.

To set VS2005 to grid layout Go to Tools | Options | HTML Designer | CSS Positioning and change dropdown to Absolute Positioning. This way every time you drop control it becomes absolutely positioned and you can move it around.

Remember though that pages with absolutely positioned elements work poorly in different browsers running at different screen resolutions. It is better to do table based or CSS based layout.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 21146864
Forced accept.

Computer101
EE Admin
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question