473,382 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

ContentPlaceHolder tag in ASP.NET 2.0 prevents design view in FrontPage 2003

ASP.NET 2.0 master pages are great. However, I want to edit an ASPX
page in FrontPage for aesthetic styling reasons. The ASPX page is
linked to a master page so it naturally has a contentplaceholder ID.

Right-click in VS2005 and open it in MS FrontPage. Source appears
file. However, design view (the real reason I'm in FP anyway) will not
display unless I remove the ContentPlaceHolder tag. Specifically:

<asp:Content ID="Content1" ContentPlaceHolderID="mainContent"
runat="Server">

Cutting the line above will let FP show the design view.

Any workarounds?

Thanks!

Feb 5 '06 #1
4 1738
FP 2003 is not designed for .NET 2.0. Why not use the designer in VS 2005?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

<an*********@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
ASP.NET 2.0 master pages are great. However, I want to edit an ASPX
page in FrontPage for aesthetic styling reasons. The ASPX page is
linked to a master page so it naturally has a contentplaceholder ID.

Right-click in VS2005 and open it in MS FrontPage. Source appears
file. However, design view (the real reason I'm in FP anyway) will not
display unless I remove the ContentPlaceHolder tag. Specifically:

<asp:Content ID="Content1" ContentPlaceHolderID="mainContent"
runat="Server">

Cutting the line above will let FP show the design view.

Any workarounds?

Thanks!

Feb 5 '06 #2
Is the design in VS 2005 Professional+ the same as provided in the 2005
Express Edition? If so, then FrontPage clearly is superior from a
design standpoint. I thought that was the whole point behind
CodeBehind?...let the designers work on pretty pages while the
developers write the logic.

Feb 10 '06 #3
Code-behind has nothing to do with design.
It has to do with functionality.

If you want to work on design, work with the VS IDE in design mode,
and you'll be able to place your controls in esthetically pleasing locations.

While the design tools in the VS IDE are not top-level,
they provide enough location pin-pointing to please most programmers.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
<an*********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Is the design in VS 2005 Professional+ the same as provided in the 2005
Express Edition? If so, then FrontPage clearly is superior from a
design standpoint. I thought that was the whole point behind
CodeBehind?...let the designers work on pretty pages while the
developers write the logic.

Feb 10 '06 #4
I'm not sure if I completely agree. While FP 2003 will support .NET 1.x, it
still has issues, especially since you cannot use code-behind if you use FP
2003.

Frankly, having used both FP 2003 and VS 2003, both designers are rather
kludgy. On the other hand, VS 2005 will at least keep the HTML code stable
and not reformat it each and every time you go in and out of the designer.
Still, in the long run, you're probably better with writing the code and
then previewing the page in your browser.

Yes, let the designers design; however, the intent behind that is that the
designer using the VS designer and the programmer uses VS to program the
code-behind.

Overall, FP 2003 does not support .NET 2.0, so I don't believe that it'll be
an option for you if you use something like a ContentPlaceHolder object.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

<an*********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Is the design in VS 2005 Professional+ the same as provided in the 2005
Express Edition? If so, then FrontPage clearly is superior from a
design standpoint. I thought that was the whole point behind
CodeBehind?...let the designers work on pretty pages while the
developers write the logic.

Feb 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jim Heavey | last post by:
I have a friend that does all of their web page development in FrontPage and she has asked me to create some asp.net pages for here with some db functionality. I know nothing of Frontpage ans she...
8
by: Devin | last post by:
I am using Microsoft WebMatrix to write my ASP.NEt pages, and one functionality that that seems to lack is the ability to make these pages look nice. Is there any program out there like Frontpage,...
2
by: Saber | last post by:
I've a repeater and here is a piece of HTML when I use, I can't switch back to Design view: <a href=default.aspx?id=<%#container.dataitem("id")%>Some Link</a> I get this error message: Could...
4
by: Ken McCrory | last post by:
I have a page with some inline server-side code. An example line is: <input type="hidden" name="fmFirstName" value="<%=Session("FirstName")%> "> The code and logic works and does what it is...
1
by: GMartin | last post by:
Is there any way you can stop Visual Studio .NET 2003, from regenerating the HTML every time you go into Design View? I'm mostly in the Code behind page, and just want to pop over to check a...
0
by: nickster | last post by:
For some reason when I use asp controls for the default content of a ContentPlaceHolder, they do not get rendered. Static content is rendered just fine however! Specifically I'm using multiple...
5
by: Howard | last post by:
Visual Web Developer 2005 Expression Web Designer Microsoft Office SharePoint Designer 2007 Could someone explain the difference between these products? I think web developer is more...
2
by: news.sbcglobal.net | last post by:
Back in the good old days (or bad old days depending on your point of view) when I used frames to develop some of my web sites, I was able to designate which frame I wanted a page to open in. Now...
3
by: jobs | last post by:
Hello. I have a master page with ContentPlaceHolder under a html Div tag. That DIV tag has CSS that positions it. While in Visual Studio design view, that div tag and contentplace holder does...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.