473,385 Members | 1,817 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,385 software developers and data experts.

Newby C# Web App Question - Z-INDEX Style

Hi:

I'm working on a VS2005 web application and I have what is probabably a
"newby" question.

In VS2003 I could drag a textbox/button/etc on to a form and position it
with the mouse. I converted an app to VS2005 and this still worked.

In VS2005 I can't do this. I have examined the code for VS2003 and I
see that there is a style="Z-INDEX... " in the asp code for the
objects. If I add this to VS2005 then I can position everything as I
could in VS2003. By default the code is not there and I can't find a
property to set to put it there. It only works if I enter the code
myself.

I remember some mention of this at the Microsoft Launch event - I think
that there was some page property that had to be set to make this
possible. I've looked all over (perhaps not enough) and I can't find
anything.

Does anyone now if there is a page property that can be set to make the
Z-INDEX format be the default for controls?

Your help is GREATLY appreciated!
Feb 17 '06 #1
2 4134
The Z-INDEX is not about X-Y (Horizontal-Vertical) positioning. Z-Index
identifies which item is foremost on the screen when multiple objects are
positioned at the same x-y position.

VS2003 had a property for the Document called pageLayout. If you set it to
GridLayout then the designer would, by default, set the style of all objects
put on the page to include position=absolute, and set the left and top styles
appropriately.

You can do basically the same thing in Visual Studio 2005 but you have to
enable it. You can find out how at
http://msdn2.microsoft.com/en-us/library/ms178151.aspx.

HTH
--
Dale Preston
MCAD C#
MCSE, MCDBA
"Fred Nelson" wrote:
Hi:

I'm working on a VS2005 web application and I have what is probabably a
"newby" question.

In VS2003 I could drag a textbox/button/etc on to a form and position it
with the mouse. I converted an app to VS2005 and this still worked.

In VS2005 I can't do this. I have examined the code for VS2003 and I
see that there is a style="Z-INDEX... " in the asp code for the
objects. If I add this to VS2005 then I can position everything as I
could in VS2003. By default the code is not there and I can't find a
property to set to put it there. It only works if I enter the code
myself.

I remember some mention of this at the Microsoft Launch event - I think
that there was some page property that had to be set to make this
possible. I've looked all over (perhaps not enough) and I can't find
anything.

Does anyone now if there is a page property that can be set to make the
Z-INDEX format be the default for controls?

Your help is GREATLY appreciated!

Feb 17 '06 #2
Dale:

Thank you VERY much for your help!

Fred
Dale wrote:
http://msdn2.microsoft.com/en-us/library/ms178151.aspx


Feb 18 '06 #3

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

Similar topics

9
by: Damien | last post by:
I have just built a simple stopwatch application, but when i f5 to get things goings i get this message, An unhandled exception of type 'System.ArithmeticException' occurred in...
0
by: Pete | last post by:
Hi All, A total Newby with, possibly, a daft question? However, until I can get a reasonable explanation I am disinclined towards going further. Here goes: I recently downloaded the latest...
0
by: marco | last post by:
I'm trying to parse a xml bookmarkpage with php. I found a very useful example script about how you can parse a xml document with php. The scriptworks really smooth. The xml test document (See...
8
by: Ask | last post by:
G'day All, Just thought I'd drop in and say hi. I'm new to Python, but old to software development. Python is one of the languages used in my new job, so I've just bought a book, read it, and...
10
by: Fred Nelson | last post by:
Hi: I have programmed in VB.NET for about a year and I'm in the process of learing C#. I'm really stuck on this question - and I know it's a "newby" question: In VB.NET I have several...
4
by: Fred Nelson | last post by:
I have an applicatioin that I'm writing that uses a "case" file that contains over 350 columns and more may be added in the future. I would like to create a dataset with all the column names and...
4
by: Fred Nelson | last post by:
Hi: I'm developing a web application that needs to have five values, each retrieved from cookies on many pages. If I have five "Request.Cookies" commands together does this cause five "round...
2
by: johnnyG | last post by:
Greetings, I'm studying for the 70-330 Exam using the MS Press book by Tony Northrup and there are 2 side-by-side examples of using the SHA1CryptoServiceProvider to create a hash value from a...
5
by: alexrixhardson | last post by:
Hi guys, I am a newby in the C/C++ world, and I am beginning to work on a rather simple TCP/IP proxy application which must be able to handle large volume of data as quickly as possible. ...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.