DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sun, 5 Aug 2007 23:11:43 +0100,    posted on: microsoft.public.dotnet.framework.aspnet.webcontrols        back       

Thread Index
  1    Silicon Strawberry
          2    Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
          3    Steve C. Orr [MCSD, MVP, CSM, ASP Insider]


Unable to place controls in layout grid cells   
Hello,

When I do the following:

- create a layout grid by going 'Layout' > 'Insert Table';

- accept the default settings (3 x 3 grid);

- drag a text box from the toolbox on the centre cell of the grid (i.e. at 
row 2, column 2);

instead of the edit box to be placed in the centre cell, it is placed in the 
top left row (row 1, column 1).

What's more, when I look at the source code for the page, it *does* tell me 
that the control *is* in the centre. The reason it appears not to display 
correctly is that it is css position attribute is *absolute*, not 
*relative*.

Is there any way I can make the attribute relative by default when I drag 
and drop controls into layouts?

Thanks in advance,

Akin
-- 
akyak at aksoto dot idps dot co dot uk
Date:Sun, 5 Aug 2007 23:11:43 +0100   Author:  

Re: Unable to place controls in layout grid cells   
Yes, this is done in Visual Studio's "Tools|Options" dialog box.
It's under the HTML Designer, CSS Positioning option.

-- 
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"Silicon Strawberry"  wrote in message 
news:zWrti.13818$fR5.1687@newsfet01.ams...

> Hello,
>
> When I do the following:
>
> - create a layout grid by going 'Layout' > 'Insert Table';
>
> - accept the default settings (3 x 3 grid);
>
> - drag a text box from the toolbox on the centre cell of the grid (i.e. at 
> row 2, column 2);
>
> instead of the edit box to be placed in the centre cell, it is placed in 
> the top left row (row 1, column 1).
>
> What's more, when I look at the source code for the page, it *does* tell 
> me that the control *is* in the centre. The reason it appears not to 
> display correctly is that it is css position attribute is *absolute*, not 
> *relative*.
>
> Is there any way I can make the attribute relative by default when I drag 
> and drop controls into layouts?
>
> Thanks in advance,
>
> Akin
> -- 
> akyak at aksoto dot idps dot co dot uk
> 
Date:Mon, 13 Aug 2007 15:27:33 -0700   Author:  

Re: Unable to place controls in layout grid cells   
Yes, this is done in Visual Studio's "Tools|Options" dialog box.
It's under the HTML Designer, CSS Positioning option.

-- 
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"Silicon Strawberry"  wrote in message 
news:zWrti.13818$fR5.1687@newsfet01.ams...

> Hello,
>
> When I do the following:
>
> - create a layout grid by going 'Layout' > 'Insert Table';
>
> - accept the default settings (3 x 3 grid);
>
> - drag a text box from the toolbox on the centre cell of the grid (i.e. at 
> row 2, column 2);
>
> instead of the edit box to be placed in the centre cell, it is placed in 
> the top left row (row 1, column 1).
>
> What's more, when I look at the source code for the page, it *does* tell 
> me that the control *is* in the centre. The reason it appears not to 
> display correctly is that it is css position attribute is *absolute*, not 
> *relative*.
>
> Is there any way I can make the attribute relative by default when I drag 
> and drop controls into layouts?
>
> Thanks in advance,
>
> Akin
> -- 
> akyak at aksoto dot idps dot co dot uk
> 
Date:Mon, 13 Aug 2007 15:27:33 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us