CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/2/2008 5:47:10 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 38 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
Raj_TheKing
Asp.Net User
Syntax error in masterpage4/2/2008 5:47:10 AM

0/0

Hi,

My Masterpage is as below:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head id="DefaultHeader" runat="server">

<title id="ctrlTitle" runat="server"></title>

<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.3)" />

<meta http-equiv="Page-Exit" content="blendTrans(duration=0.3)" />

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<script language="javascript" type="text/javascript" src="../JavaScripts/BrowserStatusBar.js"></script>

</head>

<body>

When I run this page for the first time, I get a javascript error (says Syntax error). When I refresh the page, the error is gone. If I remove the call to the external js file, then it always works fine without the js error. The content of the external js file is as below. I have also commented the content in the js file. Still no luck.

 function MasterPages_StatusBarMessage()

{

window.status =
"VOSS";

return true;

}

if (document.layers)

{

document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);

}

document.onmouseover = MasterPages_StatusBarMessage;

document.onmouseout = MasterPages_StatusBarMessage;

document.onfocus = MasterPages_StatusBarMessage;

Please help

Regards

Raj

Raj_TheKing
Asp.Net User
Re: Syntax error in masterpage4/2/2008 6:40:29 AM

0/0

Hi,

Fixed this - solution at http://forums.asp.net/p/987646/1276008.aspx#1276008

Regards

Raj

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Mastering BEA WebLogic Server: Best Practices for Building and Deploying J2EE Applications Authors: Gregory Nyberg, Robert Patrick, Paul Bauerschmidt, Jeff McDaniel, Raja Mukherjee, Pages: 768, Published: 2003
Real World SharePoint 2007: Indispensable Experiences from 16 MOSS and WSS MVPs Authors: Robert Bogue, Adam Buenz, Scot Hillier, Andrew Connell, Stacy Draper, Luis Du Solier Grinda, Todd Klindt, Jason Medero, Dustin Miller, Shane Perran, Joris Poelmans, Heather Solomon, Nick Swan, Jan Tielens, Mike Walsh, Shane Young, Pages: 504, Published: 2007
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005
Mastering JSP Authors: Todd Cook, Charles Mohnike, Pages: 648, Published: 2002
Macromedia Dreamweaver MX Dynamic Applications: Advanced Training from the Source Authors: Jeffrey Bardzell, Pages: 440, Published: 2003
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
The Software Catalog: Microcomputers, Winter, 1990 Authors: Menu International Software, Pages: 0, Published: 1990
Macromedia Dreamweaver MX 2004: Training from the Source Authors: Jeffrey Bardzell, Pages: 512, Published: 2004

Web:
Scriptmager Bug : Forms Authentication + MasterPage = Javascript ... I'm getting this annoying javascript error from the script manager ('syntax error on line 3') when I have a script manager on a master page ...
How to: Create a Minimal Master Page A master page contains references to elements that you can share across multiple ... Did you actually receive a syntax error when using this template code? ...
Javascript in Master Page - following this example : javascript ... 1, Adding Javascript body onload events in WebPages with MasterPage · ASP.Net Programming. 2, ASP.Net/ Javascript syntax error in this code · ASP. ...
Template master page : language_select.php link missing Aug 22, 2008 ... Message boards : Web interfaces : Template master page ... When this happens it means that one of the .po files has a syntax error. ...
Reference A var on Master Page from User Control Page property, from which you can get its MasterPage ex: this.Page. MasterPageFile ..... Note: I get a syntax error on the AddHandler line. ...
RegisterClientScriptInclude in masterpage - ASP.NET Forums Re: RegisterClientScriptInclude in masterpage ... Perhaps there is a syntax error inside the javascript file? ...
how to reference multiple css files on a master page? - ASP.NET Forums I'm having trouble getting a master page to reference 3 css files (one ... is also indicating some syntax error: the word is underlined in a ...
TheMSsForum.com >> Asp >> asp.net master page question - The ... Thank you for any help. Tag: asp.net master page question Tag: 487862 .... Trouble joining 3 tables I'm getting incorrect syntax error. ...
master page problem? - SitePoint Forums However, when I try to access my page, MasterPageFile="~/Master/myMasterPage. master", I get an error that it can't find the master page. ...
How to call MasterPage Javascript function? • mozillaZine Forums showModalPopupViaClient is the function which is reside in masterpage. ... Is there any error in the Error Console (Tools menu)? What is the syntax of the ...




Search This Site:










system.security.cryptography.cryptographicexception

calling server.htmlencode from my class file

if (!ispostback)

visual studio performance slowing to crawl down due to real-time designer class updates

dynamic .aspx pages

can a method in an aspx page update a user control?

any samples for .net 2.0?

report veiwer add in for vwd 2005 express

running asp or asp.net off a cd

isapi rewrite

just finished my first dnn installation...it's not working

custom module instructions

using dropdowns in master page to display results in detail page gridview

dnn 3.0.12 no module icons on xp

survey private assembly

web sitemap errors

noob question: is this possible?

help with reports

error trying to write to a text file

asp.net membershipprovider - is it a recommended approach?

asp.net 2.0 webservice rad..how to actually fill the dataset?

asp.net 2.0 issues

current ip address

securityexception

resolve content-id when reading emails using webdav

bookmark

basic skinning video overview by nina meiers

vs project reference problem

content management questions

listbox and sql 2005 e

 
All Times Are GMT