Solved

.net 2005 DataGrid cannot drag and drop

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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