Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 11th, 2006, 04:12 PM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Refreshing Property Window?

In Source view of VS 2005 Standard (for a web page), isn't the property window supposed to update as you select various tags?

Mine doesn't.

For example, if I have a combo box on my page, and I select it in view, the property window shows properties for the combo box. But, in Source view, if I select the combo box tag, the property window doesn't change.

Is this a problem with my installation? Or, is this how it's supposed to work?


-Kaprice
Reply With Quote
  #2 (permalink)  
Old November 11th, 2006, 06:15 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

What doctype does your page have? E.g. what do you see on the line directly after the <%@ Page declaration? And what doctype does the book use?

The number of properties you see depend on the page's doctype...

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #3 (permalink)  
Old November 11th, 2006, 06:22 PM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You mean this: <%@ Master Language="VB" %>

That matches the book.

One difference I DID discover, though, is that the book seems to be refering to Visual Web Developer 2005 Express Edition.

I'm using Visual Studio 2005 Standard. But, I AM using the Web Developer within it. Might that make a difference?


-Kaprice
Reply With Quote
  #4 (permalink)  
Old November 11th, 2006, 06:25 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

No, I meant the line right below that. Didn't know you're using a Master Page.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #5 (permalink)  
Old November 11th, 2006, 06:35 PM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ahh. This one?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

It just automatically got set when I created the page.


-Kaprice
Reply With Quote
  #6 (permalink)  
Old November 11th, 2006, 07:30 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Yeah, that's the default doc type for every page you add to your web project.

The doctype determines the properties you have available on a page. For example, leftmargin on the <body> tag is considered to be outdated, so it doesn't show up with a modern doctype like XHTML 1.0. Maybe the book is using a different doctype?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #7 (permalink)  
Old November 11th, 2006, 08:02 PM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ahh, ok, that clarifies a bit. The doc type does seem to match the book. Odd.

There are a lot of properties that seem to be missing, like TabOrder, as well.

Why would these no longer be considered important?

So, what's considered the modern equivelent to set margins and tab orders?

BTW, thanks so much for your help.


-Kaprice
Reply With Quote
  #8 (permalink)  
Old November 11th, 2006, 08:25 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

On second thought, it may not be the doctype, but the validation scheme.

On the HTML Source Editing Toolbar there's a drop-down that allows you to select a scheme for validation, like Internet Explorer 6 and XHTML 1. This scheme influences the properties available on your page. With IE 6, you get stuff like LeftMargin, while with XHTML 1 you don't get that.

Most outdated properties have been replaced with CSS, a large subject on it own. If you add a style sheet to your site and reference it in your (master) page, you can influence the margin like this:

body
{
  margin: 10px;
}

This gives the body tag a margin of 10px on all four sides.

TabIndex (if that's what you mean with TabOrder) should show up for controls. This page tells you to what HTML elements this attribute applies: http://www.w3.org/TR/html4/index/attributes.html

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #9 (permalink)  
Old November 11th, 2006, 08:39 PM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar, you da MAN!

Thank you SO MUCH for that. That was, indeed, the culprit. Changing the Target Schema got me the properties I was looking for.

That's an awfully BIG feature to not be prominent in the books and help files. I've been googling for 3 hours trying to find the solution. I'm really surprised it wasn't easy to find. You'd think a lot of people would have that problem.

Anyway, thank you so much for sticking with me on this. You're a lifesaver.


-Kaprice
Reply With Quote
  #10 (permalink)  
Old November 11th, 2006, 08:42 PM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar,

Is the property window supposed to refresh when you select a tag in Source view? The only way I've found to get mine to refresh is to switch to Design view and select the elements there.


-Kaprice
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Confused about Property Window for web pages Kaprice BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 November 15th, 2006 02:36 PM
Refreshing Parent Window rupen Javascript How-To 0 October 17th, 2006 09:31 AM
Resolution of property names on window object AGS BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 3 August 5th, 2006 11:50 AM
Refreshing "main" page from "pop up" window acedanger Javascript How-To 2 May 12th, 2006 08:44 AM
Blank Property window... aoskayak BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 3 May 5th, 2006 11:26 AM



All times are GMT -4. The time now is 12:41 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.