Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Editing .aspx/.ascx of precompiled web site (Project Portfolio Server Web Access)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Handle - 04 Dec 2007 16:10 GMT
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="Schedule"
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.
coolCoder - 04 Dec 2007 16:20 GMT
> 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.
[quoted text clipped - 26 lines]
> 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.
Handle - 04 Dec 2007 16:42 GMT
>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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.