Welcome Guest Search | Active Topics | Log In | Register

javascipt error in MonoX Sample Navigation Menu Module Options
namth
#1 Posted : Tuesday, March 03, 2009 2:56:07 AM
Rank: Newbie

Groups: Registered , Users

Joined: 2/15/2009
Posts: 7
Hi ,
I have javascript error with MonoX Sample Navigation Menu Module on IE 6,IE7,not Firefox When I add them to a page(topmenuWebPartZone ) . Error Message is :

" Line 277 - Char 5 - Error : 'this.menuLabelElement' is null or not an object"

This is my .aspx file :

<%@ page language="C#" autoeventwireup="true" masterpagefile="~/MonoX/MasterPages/MonoX.master" theme="Demo" inherits="MonoSoftware.MonoX.Pages.Default, MonoX2" title="Demo" enableEventValidation="false" %>
<%@ MasterType TypeName="MonoSoftware.MonoX.BaseMasterPage" %>
<%@ Register TagPrefix="MonoX" TagName="Editor" Src="~/MonoX/ModuleGallery/MonoXHtmlEditor.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="Rss" Src="~/MonoX/ModuleGallery/RssReader.ascx" %>
<%@ Register Assembly="MonoX.Library" Namespace="MonoSoftware.MonoX" TagPrefix="portal" %>
<%@ Register TagPrefix="MonoX" TagName="AdModule" Src="~/MonoX/ModuleGallery/AdModule.ascx" %>
<asp:Content ContentPlaceHolderID="cp" runat="server">
<!-- JavaScripts-->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/s3Slider.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#slider').s3Slider({
timeOut: 3000
});
});
</script>
<div id="wrapper">
<div id="page">
<div id="header-pic"></div>
<div id="header">
<div id="logo">
</div>
<!-- end #logo -->
<!-- Menu -->
<portal:PortalWebPartZone HeaderText="topmenuWebPartZone" ID="topmenuWebPartZone" runat="server" Width="100%" ChromeTemplateFile="DemoLeftColumn.htm" ShowChromeForNonAdmins="true" >

</portal:PortalWebPartZone>

<!-- end #menu -->
</div>
<div id="header1" style="text-align:right;">
<div id="random_news">

</div>
<div id="search">

<input type="text" id="s" name="s" value="" />
<input type="submit" id="x" value="Search" />

</div>
</div>
<div id="content">
<div id="left_center">
<div id="slider">
<ul id="sliderContent">
<li class="sliderImage">
<a href=""><img src="App_themes/Demo/img/1.jpg" alt="1" align="left" /></a>
<span class="bottom"><strong>Title text 1</strong>
<br />
Content text...Content text...Content text...Content text...Content text...Content text...Content text
</span>
</li>
<li class="sliderImage">
<a href=""><img src="App_themes/Demo/img/2.jpg" alt="2" align="left" /></a>
<span class="bottom"><strong>Title text 2</strong><br />Content text...Content text...Content text...
</span>
</li>
<li class="sliderImage">
<img src="App_themes/Demo/img/3.jpg" alt="3" align="left" />
<span class="bottom"><strong>Title text 2</strong><br />Content text...Content text...Content text...Content text...
</span>
</li>
<li class="sliderImage">
<img src="App_themes/Demo/img/4.jpg" alt="4" align="left"/>
<span class="bottom"><strong>Title text 2</strong><br />Content text...Content text...Content text...Content text...
</span>
</li>
<li class="sliderImage">
<img src="App_themes/Demo/img/5.jpg" alt="5" align="left"/>
<span class="bottom"><strong>Title text 2</strong><br />Content text...Content text...Content text...Content text...</span>
</li>
<div class="clear sliderImage"></div>
</ul>
</div>
</div>
<div id="right_center">
<div id="hot_news">
<ul>
<li>
<h3>Các tin nổi bật</h3>
</li>
<portal:PortalWebPartZone HeaderText="Hot News part zone" ID="hotNewsPartZone" runat="server" Width="100%" ChromeTemplateFile="RightColumn.htm">
</portal:PortalWebPartZone>
</ul>
</div>
<div id="confirm">
<ul>
<li>
<h3>Thông báo</h3>
</li>
<li class="title">
<a href="#">My NewsPaper NewsPaper NewsPape Com My NewsPaper Com NewsPaper Com</a><br/>
</li>
<li class="title">
<a href="#">Personalize Your Newspaper</a>
</li>
<li class="title">
<a href="#" class="tah9">Subscribe</a>
</li>
<li class="title">
<a href="#">Print Edition</a>
</li>
<li class="title">
<a href="#">Print Edition</a>
</li>
<li class="title">
<a href="#">Print Edition</a>
</li>
</ul>
</div>
</div>
<table cellspacing="0" cellpadding="0" width="758" style="border: 1px solid rgb(211, 221, 167);" style="margin-top:5px">
<tbody><tr>
<td width="758" valign="top">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="padding-left: 20px; padding-top: 5px;color:#FF7900;font-weight:bold;text-transform:uppercase;"><font class="FontClass2">Tin công đoàn</font></td>
<td style="padding-left: 20px; padding-top: 5px;color:#FF7900;font-weight:bold;text-transform:uppercase;"><font class="FontClass2">Phòng GD&DT</font></td>
<td style="padding-left: 20px; padding-top: 5px;color:#FF7900;font-weight:bold;text-transform:uppercase;"><font class="FontClass2">Chuyên đề GD&DT</font></td>
</tr>
<tr>
<td width="254" valign="top">
<div id="short_link">
<ul>
<portal:PortalWebPartZone HeaderText="CD News part zone" ID="cdNewsPartZone" runat="server" Width="100%" ChromeTemplateFile="RightColumn.htm">
</portal:PortalWebPartZone>
</div>
</ul>
</td>
<td width="254" valign="top" >
<div id="short_link">
<ul>
<portal:PortalWebPartZone HeaderText="PGD News part zone" ID="pgdNewsPartZone" runat="server" Width="100%" ChromeTemplateFile="RightColumn.htm">
</portal:PortalWebPartZone>
</div>
</ul>
</td>
<td width="254" valign="top" >
<div id="short_link">
<ul>
<portal:PortalWebPartZone HeaderText="CDGD News part zone" ID="cdgdNewsPartZone" runat="server" Width="100%" ChromeTemplateFile="RightColumn.htm">
</portal:PortalWebPartZone>
</ul>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<!-- ads -->
<div class="ads">
<a href="#"><img height="45" border="0" width="94" title="Dollar" alt="Dollar" src="App_Themes/Demo/img/ads01.jpg"/></a>
<a href="#"><img border="0" title="Thrifty" alt="Thrifty" src="App_Themes/Demo/img/ads02.jpg"/></a>
<a href="#"><img height="45" border="0" width="80" title="Avis" alt="Avis" src="App_Themes/Demo/img/ads03.jpg"/></a>
<a href="#"><img border="0" title="Budget" alt="Budget" src="App_Themes/Demo/img/ads04.jpg"/></a>
<a href="#"><img border="0" title="enterprise" alt="enterprise" src="App_Themes/Demo/img/ads05.jpg"/></a>
<a href="#"><img height="45" border="0" width="101" title="National" alt="National" src="App_Themes/Demo/img/ads06.jpg"/></a>
<a href="#"><img height="45" border="0" width="81" title="Alamo" alt="Alamo" src="App_Themes/Demo/img/ads07.jpg"/></a>

</div>
<!-- end ads-->
</div>
<!-- end #content -->
<div id="sidebar">
<div id="sidebar-bgtop"></div>
<div id="sidebar-content">
<div id="sidebar-bgbtm">
<portal:PortalWebPartZone HeaderText="Left part zone" ID="leftWebPartZone" runat="server" Width="100%" ChromeTemplateFile="LeftColumn.htm" ShowChromeForNonAdmins="true" >
</portal:PortalWebPartZone>
<ul>
<li>
<h2>Liên kết website</h2>
<p>
<select>
<option selected >Bộ giáo dục</option>
<option>Bộ tài chính</option>
</select>
</p>
</li>
<li>
<h2>Thăm dò ý kiến</h2>
<p>
Bạn biết website qua kênh nào?<br>
<input type="radio" name="group1" value="Milk" checked> Báo chí<br>
<input type="radio" name="group1" value="Butter" > Bạn giới thiệu<br>
<input type="radio" name="group1" value="Cheese"> Qua internet<br>
<input type="radio" name="group2" value="Water"> Tình cờ<br>
<input type="radio" name="group2" value="Beer"> Khác
</p>
</li>
<li>
<portal:PortalWebPartZone HeaderText="Left Log part zone" ID="leftLogWebPartZone" runat="server" Width="100%" ChromeTemplateFile="LoginLeftColumn.htm" ShowChromeForNonAdmins="true" >
</portal:PortalWebPartZone>
</li>
</ul>
</div>
</div>
</div>
<!-- end #sidebar -->
<div style="clear:both; margin:0;"></div>
</div>
<!-- end #page -->
</div>
<div id="footer">
<p>&copy; 2008. All Rights Reserved. </a>.</p>
</div>
<!-- end #footer -->
</asp:Content>

Pls help me . Thanks
khorvat
#2 Posted : Tuesday, March 03, 2009 10:24:23 AM
Rank: Member

Groups: Administrator , Administrators, Publishers

Joined: 2/3/2009
Posts: 11
Hi,

as we can see this is not related to MonoX Simple Navigation Menu. This module does not contain any javascripts. To be sure we need more information.

Can you please send us original file that contains the error (not rendered one) and all of your custom dependencies (with any scripts that you may use). At the moment we can't find any relation to error in hand.
......................................................................
Kristijan Horvat

Mono Ltd.
tel: + 385 (0)31 213 966
fax: + 385 (0)31 213 967
http://www.mono-software.com
......................................................................

khorvat
#3 Posted : Friday, August 14, 2009 1:30:54 PM
Rank: Member

Groups: Administrator , Administrators, Publishers

Joined: 2/3/2009
Posts: 11
Hi,

we couldn't find anything related to this error inside the MonoX CMS. What we did find is a incomplete explanation by one user here - http://forums.asp.net/t/1096938.aspx.

Basically he stated that this might be related to WebParts labels. But the problem is that we can't reproduce the issue. To proceed we need more information to solve this.
......................................................................
Kristijan Horvat

Mono Ltd.
tel: + 385 (0)31 213 966
fax: + 385 (0)31 213 967
http://www.mono-software.com
......................................................................

UericC
#4 Posted : Friday, August 14, 2009 2:18:52 PM
Rank: Newbie

Groups: Registered , Users

Joined: 8/14/2009
Posts: 1
Kristijan,

I'm getting this same error. My page uses web parts including web part zones and labels. It also uses Ajax Update Panel.

We first started experiencing this error when we upgraded to Visual Studio 2008 3.5 SP1

Let me know if you need more details.

Thanks, Eric
khorvat
#5 Posted : Monday, August 17, 2009 8:00:26 AM
Rank: Member

Groups: Administrator , Administrators, Publishers

Joined: 2/3/2009
Posts: 11
Eric,

Maybe this is related to fact that MonoX is using MS Ajax 1.0 and now you are using MS Ajax 3.5 incorporated with upgrade you did. If that is the case then that is the reason why we can't reproduce the issue on our side. The good thing is that we are about to release the new version of MonoX 3.0 based on the .Net 3.5 which would hopefully solve your problem. I'll try to find a workaround till then, and post it in this thread.

......................................................................
Kristijan Horvat

Mono Ltd.
tel: + 385 (0)31 213 966
fax: + 385 (0)31 213 967
http://www.mono-software.com
......................................................................

khorvat
#6 Posted : Monday, August 17, 2009 2:17:18 PM
Rank: Member

Groups: Administrator , Administrators, Publishers

Joined: 2/3/2009
Posts: 11
Eric,

If you want we could provide you with MonoX 3.0 Beta 1 version so you can test it or you can wait 2-3 weeks until we publish MonoX 3.0 RC ?
......................................................................
Kristijan Horvat

Mono Ltd.
tel: + 385 (0)31 213 966
fax: + 385 (0)31 213 967
http://www.mono-software.com
......................................................................

emiliebonam
#7 Posted : Tuesday, August 03, 2010 3:53:50 AM
Rank: Newbie

Groups: Registered , Users

Joined: 8/3/2010
Posts: 1
"Maybe this is related to fact that MonoX is using MS Ajax 1.0 and now you are using MS Ajax 3.5 incorporated with upgrade you did. If that is the case then that is the reason why we can't reproduce the issue on our side."

I totally agree with this statement. thanks for the post.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.