Solved

VS 2008 Design Mode not working with Master Page

Posted on 2010-09-09
1
555 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
ID: 33645555
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Function after success of Jquery/AJAX action 9 28
How to seperate number and letters from a string 3 22
jquery tab header text 1 23
linq, c# 8 22
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 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