Solved

Master Page Walkthrough is Confusing

Posted on 2013-05-25
8
673 Views
Last Modified: 2013-05-25
I am attempting to understand the master page definition in vs 2012.  I have developed several projects in vs 2008.

Here is what I have done:
Using ASP.NET Master Pages in Visual Web Developer

 .NET Framework 4  


p://msdn.microsoft.com/en-us/library/ehszf8ax(v=vs.100).aspx

To create the master page

1.
In Solution Explorer, right-click the name of your Web site, and then click Add New Item.

2.
Under Visual Studio installed templates, click Master Page.

3.
In the Name box, type Master1.  (There is no Name box)

To create a layout table for the master page

1.
With the Master1.master file selected in Source view, use the Target Schema for Validation drop-down list on the toolbar to set the target schema to Microsoft Internet Explorer 6.0.

Problems :Source view is the default. Where is the toolbar that contains the target schema option?

2.
Switch to Design view.
Problem: Cannot select Design view

Was this article tested in Windows 8?
0
Comment
Question by:Dovberman
  • 3
  • 3
  • 2
8 Comments
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 400 total points
ID: 39196522
There are too many changes to Visual Studio..  older versions of VS supported the ie6 newer ones don't

File - Edit - View - ... Tools    <select this  one> then Options, Text Editor, HTML , Xhtml 1.0 Transitional is about the closest for this example walkthrough.. Mine was set to HTML5 and I couldn't find the background colour option in properties (doesn't exist in html5)

Like so
When you are editing master1.master you don't get the following:

You don't see this?
0
 

Author Comment

by:Dovberman
ID: 39196620
There is no Design option because an empty website is created if you follow the walk through instructions:

3.Under Installed Templates, click Visual Basic or Visual C# and then select ASP.NET Empty Web Site.

My site needs to work in ie versions up to 10.

I wish I had not installed VS 2012.  However I need DOTNET 4.5 to support programmable capture of a specific area on the client's window.

Where is? : Target Schema for Validation drop-down list on the toolbar to set the target schema to Microsoft Internet Explorer 6.0.

VS 2012 is about as useless as Windows 8. In my opinion these products are not ready to build Mobile device apps.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39196629
There is no Design option because an empty website is created...
You won't have access to the "Design" tab until you actually add a Master (or other) page to your project. The "Design" tab is only displayed when you are viewing the markup of an .aspx page.

VS 2012 is about as useless...
I've been using it for well over a year now. I have to say that I haven't found it to be that obnoxious. Some things have changed since the last version--some better; some worse. You just have to get comfortable using the tool.

Out of curiosity:  Why are you supporting IE 6? Unless your userbase is mainland China, how many users are you supporting that use this browser?
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 39196674
As I mentioned use XHTML 1.0 Transitional instead.. Top row where the File Edit commands are.. go to Tools|Options|Editor|HTML and select  XHTML 1.0 Transitional instead.. IE6 is no longer supported in the Visual Studio Tools, as I also mentioned but you blatantly IGNORED
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:Dovberman
ID: 39196694
OK, I am willing to learn VS 2012 in spite of documentation errors.

1.With the Master1.master file selected in Source view, use the Target Schema for Validation drop-down list on the toolbar to set the target schema to Microsoft Internet Explorer 6.0.

This is why I was lead to think about supporting ie 6.

>>My site needs to work in ie versions up to 10.<<

Actually I need to support versions newer than ie 6.

I am also willing to continue without your comments.
0
 

Author Closing Comment

by:Dovberman
ID: 39196695
Not one of the most congenial or helpful replies I have received.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39196699
I believe that documentation was written against VS 2010, which may have that schema option. (I don't have 2010 installed on my home machine to confirm.)
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 39196848
I went through the walkthrough and it was as clear as mud on that point.. I kept going to the page properties ... no background color.. no setting for changing the target schema.. not in the Toolbox, and not in the properties.. I hunted and found out that it was hidden in 'tools', editors, html ... and once I changed it from the default of HTML5 I was able to finish the walk through.. I also started on the previous walk through.. Just confirmed that VS2010 does have the ie6 setting.. in the same spot.. and it is only for validation and intellisense it doesn't change what your site is compatible with.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now