473,769 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ContentPlaceHol der 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 contentplacehol der 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 ContentPlaceHol der tag. Specifically:

<asp:Content ID="Content1" ContentPlaceHol derID="mainCont ent"
runat="Server">

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

Any workarounds?

Thanks!

Feb 5 '06 #1
4 1753
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*********@gm ail.com> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.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 contentplacehol der 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 ContentPlaceHol der tag. Specifically:

<asp:Content ID="Content1" ContentPlaceHol derID="mainCont ent"
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?...l et 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*********@gm ail.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.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?...l et 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 ContentPlaceHol der object.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

<an*********@gm ail.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.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?...l et 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
1562
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 knows little about ASP.Net. My question is that if she designs the "appearance" of the web page in front page, can I just suck that page into asp.net and then add all of my controls and the code behind page? I know that the framework requires...
8
1284
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, that allows to you edit and be more flexible in your design of ASP.NET pages with out running the risk of losing your code like what can happen in Frontpage. Thank you Devin
2
1634
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 not open in design view. Place quotes around a '<% %>' used as an attribute value or within a <SELECT> element. well, actually I used <% %> as an attribute value, why I shouldn't? would you suggest an alternative?
4
1698
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 supposed to do BUT if I try to change from HTML view to Design view I get this error message: Could not open in Design view. Quote values differently inside a '<%..."value"...%>' block.
1
1392
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 couple properties. For some larger pages, it's a real nuisance. The Design View regenerates the page, and I have to scroll down to find the control I wanted to check.
0
1594
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 <asp:Image> and <asp:HyperLink> controls and when I copy & paste them into a regular page, they work fine. When I paste them into the Master page's ContentPlaceHolder, they do not render. When I view the resulting page source, the controls are...
5
1575
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 programmer oriented but sharepoint designer and expression seem to both be a WYSIWYG editor.
2
4905
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 that I'm learning ASP.NET 2.0, I'm having some trouble figuring out how to do something similar. My web site has a master page with one contentplaceholder. Ordinarily, I would develop another page within the same site using the master page as a...
3
14967
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 not appear where it actually shows up when you run it the code. Is DIV the best way to go? How else can I do this? ContentPlaceHolder
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9422
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10208
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10038
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9857
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8867
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5294
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3952
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2812
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.