.NETGURU
How can I detect the webform layout type?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolscs' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Karl Kemp
Hello,=20

Sorry to sent the same question twice, but my last one was mangled.

I would like to be able to have my server control be able to detect =
whether or not it has been placed on a webform that is using flow layout =
or grid layout. I have not had much luckk searching the internet so far =
for an answer to this, and I was wondering if anyone on this list =
perhaps had some insight?=20

Thank you,=20
Karl Kemp=20
Click here to reveal e-mail address

Reply to this message...
 
    
Steve Sharrock (VIP)
The might consider trying to look at the <BODY> attribute
"ms_positioning='GridLayout'. Perhaps you could set runat=server on the
<BODY> and examine the generic html control to see if this attribute is
set.

Just a 1-cent guess. I've never tried this.

Steve Sharrock
programmer / designer
www.sharkcode.com

-----Original Message-----
From: Karl Kemp [mailto:Click here to reveal e-mail address]
Sent: Friday, July 12, 2002 5:50 AM
To: aspngcontrolscs
Subject: [aspngcontrolscs] How can I detect the webform layout type?

Hello,

Sorry to sent the same question twice, but my last one was mangled.

I would like to be able to have my server control be able to detect
whether or not it has been placed on a webform that is using flow layout
or grid layout. I have not had much luckk searching the internet so far
for an answer to this, and I was wondering if anyone on this list
perhaps had some insight?

Thank you,
Karl Kemp
Click here to reveal e-mail address

| [aspngcontrolscs] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcontrolscs.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Alex Dresko
Do you want to know at design time, or run time?

Alex Dresko
Three Point Oh!

-----Original Message-----
From: Karl Kemp [mailto:Click here to reveal e-mail address]
Sent: Friday, July 12, 2002 8:50 AM
To: aspngcontrolscs
Subject: [aspngcontrolscs] How can I detect the webform layout type?

Hello,

Sorry to sent the same question twice, but my last one was mangled.

I would like to be able to have my server control be able to detect
whether or not it has been placed on a webform that is using flow layout
or grid layout. I have not had much luckk searching the internet so far
for an answer to this, and I was wondering if anyone on this list
perhaps had some insight?

Thank you,
Karl Kemp
Click here to reveal e-mail address

| [aspngcontrolscs] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcontrolscs.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Pattam, Prasanna
Controls grid layout is actually a style attribute with Position set to
absolute. To check you can use the controls style.

Like Button1.Style("POSITION")

-----Original Message-----
From: Karl Kemp [mailto:Click here to reveal e-mail address]
Sent: Friday, July 12, 2002 8:50 AM
To: aspngcontrolscs
Subject: [aspngcontrolscs] How can I detect the webform layout type?

Hello,

Sorry to sent the same question twice, but my last one was mangled.

I would like to be able to have my server control be able to detect whether
or not it has been placed on a webform that is using flow layout or grid
layout. I have not had much luckk searching the internet so far for an
answer to this, and I was wondering if anyone on this list perhaps had some
insight?

Thank you,
Karl Kemp
Click here to reveal e-mail address

| [aspngcontrolscs] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcontrolscs.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Srinivas R

Hi,
I think it is better to use grid layout .
Regsrds,
Srini.

Contact Information
===================
R.Srinivasan
#5A,NorthWing,
Kumaran Systems,
Tidel Park,
#4,Canal Bank Road,
TaraMani,
Chennai.
Email :Click here to reveal e-mail address
:Click here to reveal e-mail address
Phone :2540160/61 Ext:133.

----------------- Original Message ----------------
From        : Karl Kemp <Click here to reveal e-mail address>
To        : "aspngcontrolscs" <Click here to reveal e-mail address>
Received on    : 2002-07-13 12:31:06.0
Subject    : [aspngcontrolscs] How can I detect the webform layout type?
---------------------------------------------------
Hello,

Sorry to sent the same question twice, but my last one was mangled.

I would like to be able to have my server control be able to detect
whether or not it has been placed on a webform that is using flow layout
or grid layout. I have not had much luckk searching the internet so far
for an answer to this, and I was wondering if anyone on this list
perhaps had some insight?

Thank you,
Karl Kemp
Click here to reveal e-mail address

| [aspngcontrolscs] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcontrolscs.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification