Solved

VS 2008 Design Mode not working with Master Page

Posted on 2010-09-09
1
547 Views
Last Modified: 2013-11-27
I have been using Visual Studio 2008 for some time but have never used the Master Page functionality.   When building standard web forms I can switch to Deisgn mode and drag and drop controls onto the page...no problem there.
The issue I am having now is that I created a very basic master page and a content page. The master page simply has an image header with a single content placeholder.  I then created a content page that referecnes the master page and have some text displaying in the content palceholder.   I can call up the content page fine and it pulls in the master page and looks great.  Everything is good up till this point.
ok, now I want to add a gridview to the content page.  I bring up the content page in VS and click the Design tab to go into design mode so I can drag and drop and gridview control.   When I click the Design tab I see a brief message saying loading master page.  I then see the page with the header on the master page but I dont see text from the content page at all and I cannot edit the page at all.  The window is greyed out and I cant drag any controls onto it.  its almiost like it is locked from editing.  I can switch back to the source window and add controls there and see them when I load the page....but still nothing in design mode.  why?  Thanks
0
Comment
Question by:Jaggster
1 Comment
 

Accepted Solution

by:
Jaggster earned 0 total points
Comment Utility
Was able to get this resolved myself...
Issue was that on the master page I was using an asp:table around the placeholder.  because the table was set to runat=server it was not generating in design mode.   I changed it to a standard html table and it works just great!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

8 Experts available now in Live!

Get 1:1 Help Now