Solved

.net 2005 DataGrid cannot drag and drop

Posted on 2007-11-26
4
649 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
4 Comments
 

Author Comment

by:kenhoppe
Comment Utility
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
Comment Utility
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
Comment Utility
Forced accept.

Computer101
EE Admin
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now