473,395 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Moving controls aroundi n design mode

Ant
Hi,

I come from Winforms where you simply drag a control to where you want it.
Not so in ASP it seems. (Visual studio 2003).

When I drag a control onto the form, it sticks all over the place except for
where I want it to. When I try to drag it, it gets stuck here & there. I
understand there is HTML creating formatting rules underneath like DIV &
etc, but is there any way I can treat controls just like in good old
Winforms? Does VS 2005 improve on this?
I notice 'sometimes' an arrow appears on the top right which lets me drag
the control around. Other times you can drag it if the whole box has drag
handles around it & it seens buttons act differently to labels

It's driving me n-n-n-n- crazy!

Any suggestions? Nice ones please...

Thank you for your thoughts

Ant
Jan 10 '06 #1
1 1402
Try setting this:

<body MS_POSITIONING="GridLayout">

The you should be able to drag and drop controls where you like and they
will be absolutely positioned. Carefull though, controls will not move out
of the way of datagrids you place and with get draawn over if the grid
covers it.

MattC
"Ant" <An*@discussions.microsoft.com> wrote in message
news:14**********************************@microsof t.com...
Hi,

I come from Winforms where you simply drag a control to where you want
it.
Not so in ASP it seems. (Visual studio 2003).

When I drag a control onto the form, it sticks all over the place except
for
where I want it to. When I try to drag it, it gets stuck here & there. I
understand there is HTML creating formatting rules underneath like DIV &
etc, but is there any way I can treat controls just like in good old
Winforms? Does VS 2005 improve on this?
I notice 'sometimes' an arrow appears on the top right which lets me drag
the control around. Other times you can drag it if the whole box has drag
handles around it & it seens buttons act differently to labels

It's driving me n-n-n-n- crazy!

Any suggestions? Nice ones please...

Thank you for your thoughts

Ant

Jan 10 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: TD | last post by:
This is the code under a command button - Dim ctl As Control For Each ctl In Me.Controls If ctl.BackColor <> RGB(255, 255, 255) Then ctl.BackColor = RGB(255, 255, 255) End If Next ctl
2
by: A.M | last post by:
Hi, When I use my UserControls in Visual Studio.NET 2003, it just shows a gray box at design time. How can i have VS.NET renders the user control during design time? Thanks, Ali
0
by: Jim Heavey | last post by:
Working in VS.Net, If I create and ASP.Net table and place ASP.Net controls into this table, I can not accesses these controls property values when I am in the design mode. The controls are...
5
by: Electrified Research | last post by:
>From ASP.NET 1.1 I have a very useful UserControl which acts like a template control. I call it a CustomTemplate. Basically it gives me a re-usable look to sections of the site without having...
11
by: Crirus | last post by:
I need to derive the Windows.Forms.Control 2 times so I design a class like this Public Class BMControl Inherits System.Windows.Forms.UserControl Public Class MapControl Inherits BMControl
4
by: Michael | last post by:
Hi Everyone, I need to write a utility for an app that will get the list of controls on the form. I would also need to get the info on how the parent is, ect... What is the best way to go about...
1
by: Rich | last post by:
I have a solution that is in development under VS2003 and has been 'ported' to VS2005. The painful experience of running this newer version of VS revolves around one form. This form is very dense...
15
by: Arpan | last post by:
Consider the following code which retrieves data from a SQL Server 2005 DB table & displays it in a DataGrid: <script runat="server"> Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)...
6
by: ajk | last post by:
Hi I was wondering how to show different properties in design and run-mode for a user control? Is it possible to do this when implementing the System.ComponentModel.ICustomTypeDescriptor...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.