I want to customize some aspx / ascx files of a precompiled site (the
project portofolio web access site). I have no access to source code.
Using Visual Studio, when I try to edit one these files in "design view", I
get the following two categories of errors:
1) Some "Cannot switch views" errors, like the following:
"Cannot switch views: This end tag has no matching start tag."
"Cannot switch views: Validation (XHTML 1.0 Transitional): Element '
myElement ' cannot be nested within element 'body'."
"Cannot switch views: Validation (XHTML 1.0 Transitional): Attribute 'align'
can be specified only once in a tag."
2) MANY "Element 'myElement' is not a known element.." errors, as:
"Element 'Benefits' is not a known element. This can occur if there is a
compilation error in the Web site"
In relation to registered user controls, like:
..
<%@ Register TagPrefix="WP" TagName="Schedu le"
Src="../Parts/Projects/Schedule.ascx" %>
..
The web site I´m trying to customize is the Project Portfolio 2007 Web
Access (fresh install and working properly).
Using VS 2005 SP1, opening the site by using the "Open site" from "file"
menu. 2 2140
On Dec 4, 9:10 pm, "Handle" <no...@no.fiwro te:
I want to customize some aspx / ascx files of a precompiled site (the
project portofolio web access site). I have no access to source code.
Using Visual Studio, when I try to edit one these files in "design view", I
get the following two categories of errors:
1) Some "Cannot switch views" errors, like the following:
"Cannot switch views: This end tag has no matching start tag."
"Cannot switch views: Validation (XHTML 1.0 Transitional): Element '
myElement ' cannot be nested within element 'body'."
"Cannot switch views: Validation (XHTML 1.0 Transitional): Attribute 'align'
can be specified only once in a tag."
2) MANY "Element 'myElement' is not a known element.." errors, as:
"Element 'Benefits' is not a known element. This can occur if there is a
compilation error in the Web site"
In relation to registered user controls, like:
.
<%@ Register TagPrefix="WP" TagName="Schedu le"
Src="../Parts/Projects/Schedule.ascx" %>
.
The web site I´m trying to customize is the Project Portfolio 2007 Web
Access (fresh install and working properly).
Using VS 2005 SP1, opening the site by using the "Open site" from "file"
menu.
These errors are related to the XML validation. Try changing the XML
validation from the context menu on the html code itself. Try changing
it to some older browser config. Hope this helps.
>These errors are related to the XML validation. Try changing the XML
>validation from the context menu on the html code itself. Try changing it to some older browser config. Hope this helps.
I disabled validation from "tools" --"options" -- it did not work. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: BH |
last post by:
I'm looking at the source code of the ASP.NET forum sample application. It
has the "code-behind" classes compiled into a separate DLL, totally
separated from the aspx/ascx files. Adding the class files alone in VS.NET
is straightforward, but is there a way configure VS.NET to add aspx/ascx
files alone?
|
by: Peter Jackson |
last post by:
I'm using v2 of the UIP App. Block. I've created all my .aspx pages, all of which contain .ascx user controls. The .ascx user controls provide the standard server controls (i.e., LinkButtons, etc.) for the user to navigate the site and perform their tasks. None of the site's actual functionality is contained in the .aspx pages--they're just kinda containers for all the .ascx user controls.
So, I'm to the point in the UIP App. Block where I...
|
by: Ric |
last post by:
im new to asp.net. from what i understand, you have the aspx file
(presentation), user-control(ascx file), code-behind(vb file) and
components(compiled vb and dll files). the aspx file contains a
reference to the ascx which can contain a reference to a component.
can an aspx file contain a reference to an ascx file which contains a
reference to a code-behind file? ive tried to do this then load the
user-control via LoadControl(), but i...
|
by: Ron Weldy |
last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net
files. On my workstation I have a share set up to the folder where the web
files reside. I am just doing quick and dirty asp editing (like I used to be
able to do with 2K/IIS5) where I use VS.NET, open an asp file, make changes,
save and refresh my browser.
Problem is that I get an Access is Denied error when I try to save the file
and then the file gets wiped on...
|
by: chuckdfoster |
last post by:
One of my co-workers created an ASP.NET project which is located on a web
server on site in our building. I need to change something in this project.
I have access to her PC.
How do I get the project on my PC in order to make the changes? Do I need
to copy her ProjectFolder\ProjectSolution.sln file and folder? Is there
best practice that we should be following regarding this issue?
Any advice will be great help as we will be needing...
| |
by: Steve Franks |
last post by:
I'm using VS.NET 2005 Beta 2. I have a helper C# class I wrote that I placed
in my /App_Code directory. Everything runs fine locally. However when I
use the "Copy Web" function to upload the site to the production server, I
get the following error when trying to run the page on production:
"System.Web.HttpException: The directory '/App_Code' is not allowed
because the application is precompiled."
Anyone know this works fine locally but...
|
by: Rob |
last post by:
Ok, I am a beginner when it comes to ASP.NET and C#. I have been "playing"
with Visual Studio 2005 for about 1 week now and I cannot figure out how to
create a .aspx or .ascx page in VS 2005. I want to use these files so I can
create the code behind (.ascx.cs) file.
I don't see either as a "template" option when I select "New Item" in VS
2005. What am I doing wrong? (or am I completely blind :) ....)
Thanks
Rob Cuscaden
|
by: Martin Eyles |
last post by:
Hi,
I have a .aspx page which has a .ascx file included through the lines
<%@ Register TagPrefix="aspcustom" TagName="menu" Src="Menu.ascx" %>
and
<aspcustom:menu id="Menu1" runat="server"></aspcustom:menu>
both of these files have vb.net code behind.
I am processing some information from a post back in the code behind for the
|
by: Bob Jones |
last post by:
Here is my situation:
I have an aspx file stored in a resource file. All of the C# code is
written inline via <script runat="server"tags. Let's call this page
B. I also have page A that contains some javascript code that calls
window.open. I pass the resource url of page B to Page A's window.open
call. Page B is then loaded and executed but none of the server-side
code is rendered. If I view the source of the page, the code (and page...
|
by: Handle |
last post by:
I want to customize some aspx / ascx files of a precompiled site (the
project portofolio web access site). I have no access to source code.
Using Visual Studio, when I try to edit one these files in "design view", I
get the following two categories of errors:
1) Some "Cannot switch views" errors, like the following:
"Cannot switch views: This end tag has no matching start tag."
"Cannot switch views: Validation (XHTML 1.0...
|
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...
| |
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,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |