Solved

VS 2008 Design Mode not working with Master Page

Posted on 2010-09-09
1
554 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

831 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