473,830 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
+ 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 1284
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**********@d ell.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
2166
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
7193
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 for the ADP to determine programatically wether the correct service pack is installed (or if they are using a newer version such as 2002/2003)? Ta.
3
2536
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 or disabled accounts. Please help. I have read the following article: http://msdn.microsoft.com/library/default.asp?
1
2001
by: Tarundeep Singh Kalra | last post by:
How to programatically determine the .NET Framework Version - -- Tarun ********************************************************************** Tarundeep Singh Kalra (tarundeep1976_nospam_at_yahoo_dot_nospam_dot_com) *************************************************************************
3
2516
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. What I'd like to do during installation is the following: - run the database creation script - determine the user context that the ASP.NET worker process is running under - assign privileges for that user in the new database
10
6843
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
1878
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 page where we want them?? Thanks, T
2
1102
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. :( Isn't there a way to get the GridView back!?!?!?!???? This is driving me crazy, and would instantly keep me from upgrading. --
4
2520
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
9793
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10491
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10526
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9315
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7746
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5617
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4411
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 we have to send another system

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.