473,466 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Determine PageLayout programatically

I am building a custom server control. I need to
determine whether the page the custom control resides in
is in flow layout or grid layout. Because I am doing this
from the server control, I need to determine this
programatically.

Any help is appreciated.
Nov 17 '05 #1
1 1263
I dont' think this is possible. The layout mode of the page is really just
for the designer. It determines whether the resulting html will have
absolute positioning (i.e. specify the location of every element), or if it
will just have the elements on the page, and they will be rendered as layed
out.

There is only a directive in the .aspx for design time support that let's
VS.NET which mode you are in - it is irrelevant as far as the browser is
concerned.

"Tim Pacl" <ti**********@dell.com> wrote in message
news:10****************************@phx.gbl...
I am building a custom server control. I need to
determine whether the page the custom control resides in
is in flow layout or grid layout. Because I am doing this
from the server control, I need to determine this
programatically.

Any help is appreciated.

Nov 17 '05 #2

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

Similar topics

5
by: Anushi | last post by:
Hi All, Is there a way to determine if a Dll is a Com Dll or a .Net Dll ? Any pointers are greatly appreciated. Thanks, Anushi
4
by: Br | last post by:
We're using an Access2000 ADP with an SQL2000 back-end. Because SQL2000 was released after Access2000 you need to be running Access2000 SP1 (2 or 3) for it to work properly. Is there an easy way...
3
by: dave | last post by:
How do I programatically determine the enabled or disabled status of AD accounts? I have queried the userAccountControl key, but all I get back is an int, and it seems to be the same for enabled...
1
by: Tarundeep Singh Kalra | last post by:
How to programatically determine the .NET Framework Version - -- Tarun ********************************************************************** Tarundeep Singh Kalra...
3
by: Danny Miller | last post by:
Hi there, I've got a web app that uses impersonation and makes calls to a SQL Server backend. I'd like to be able to automate the setting of database security for the web app upon deployment....
10
by: Raffi | last post by:
Hi, I'm looking for a way using JavaScript to determine if the browser window has an address bar. Thanks, Raffi
1
by: Tina | last post by:
First thing I noticed with vs.net 2005 is that the page is in flowlayout and there is no pagelayout property that I can set to gridlayout. Are we no longer going to be able to place things on our...
2
by: Joseph Bittman MVP MCSD | last post by:
December 18, 2005 I'm trying out VS 05 Std, and cannot find the PageLayout feature of asp.net web forms. I have to use the spacebar & tab to get my controls to where I want them on the form. :(...
4
controlbox
by: controlbox | last post by:
Does anyone know a way to programatically determine the Windows Account IIS is using from inside an ASP or ASP.Net page?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.