Question about sitemenu

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/9/2012 8:22:26 AM
Gravatar
Total Posts 192

Question about sitemenu

hi.

I have been facing a problem for sometime and don't know what is the cause.

any help is appreciated.

sometimes the sitemenu control without any change in code, renders itself as a table. (the full code on the bottom).

but it gets fixed by itself and I wonder how and why.

also no exception is thrown.

what can be the cause?

 

 

<table cellspacing="0" cellpadding="0" border="0" class="ctl00_SiteMenu1_ctl00_2" id="ctl00_SiteMenu1_ctl00">
<tbody><tr>
<td id="ctl00_SiteMenu1_ctl00n0" onkeyup="Menu_Key(event)" onmouseout="Menu_Unhover(this)" onmouseover="Menu_HoverStatic(this)"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td style="white-space:nowrap;"><a href="home.aspx" class="ctl00_SiteMenu1_ctl00_1">خانه</a></td>
</tr>
</tbody></table></td><td style="width:3px;"></td><td id="ctl00_SiteMenu1_ctl00n1" onkeyup="Menu_Key(event)" onmouseout="Menu_Unhover(this)" onmouseover="Menu_HoverStatic(this)"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td style="white-space:nowrap;"><a href="%D8%AF%D8%B1%D8%A8%D8%A7%D8%B1%D9%87-%D9%85%D8%A7.aspx" class="ctl00_SiteMenu1_ctl00_1">درباره ما</a></td>
</tr>
</tbody></table></td><td style="width:3px;"></td><td id="ctl00_SiteMenu1_ctl00n2" onkeyup="Menu_Key(event)" onmouseout="Menu_Unhover(this)" onmouseover="Menu_HoverStatic(this)"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td style="white-space:nowrap;"><a href="%D8%B3%D9%81%D8%A7%D8%B1%D8%B4-%D8%AA%D8%A8%D9%84%DB%8C%D8%BA%D8%A7%D8%AA.aspx" class="ctl00_SiteMenu1_ctl00_1">سفارش تبلیغات</a></td>
</tr>
</tbody></table></td><td style="width:3px;"></td><td id="ctl00_SiteMenu1_ctl00n3" onkeyup="Menu_Key(event)" onmouseout="Menu_Unhover(this)" onmouseover="Menu_HoverStatic(this)"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td style="white-space:nowrap;"><a href="%D9%85%D9%86%D8%A7%D8%B7%D9%82-%DB%8C%DB%8C%D9%84%D8%A7%D9%82%DB%8C.aspx" class="ctl00_SiteMenu1_ctl00_1">مناطق ییلاقی</a></td>
</tr>
</tbody></table></td><td style="width:3px;"></td><td id="ctl00_SiteMenu1_ctl00n4" onkeyup="Menu_Key(event)" onmouseout="Menu_Unhover(this)" onmouseover="Menu_HoverStatic(this)"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td style="white-space:nowrap;"><a href="%D8%B1%D8%A7%D9%87%D9%86%D9%85%D8%A7.aspx" class="ctl00_SiteMenu1_ctl00_1">راهنما</a></td>
</tr>
</tbody></table></td><td style="width:3px;"></td><td id="ctl00_SiteMenu1_ctl00n5" onkeyup="Menu_Key(event)" onmouseout="Menu_Unhover(this)" onmouseover="Menu_HoverStatic(this)"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td style="white-space:nowrap;"><a href="%D8%B9%D8%B6%D9%88%DB%8C%D8%AA-%D9%85%D8%B4%D8%A7%D9%88%D8%B1%DB%8C%D9%86-%D8%A7%D9%85%D9%84%D8%A7%DA%A9.aspx" class="ctl00_SiteMenu1_ctl00_1">عضویت مشاورین املاک</a></td>
</tr>
</tbody></table></td><td style="width:3px;"></td><td id="ctl00_SiteMenu1_ctl00n6" onkeyup="Menu_Key(event)" onmouseout="Menu_Unhover(this)" onmouseover="Menu_HoverStatic(this)"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td style="white-space:nowrap;"><a href="%D8%B1%D8%A7%D9%87%D9%86%D9%85%D8%A7%DB%8C-%D8%AB%D8%A8%D8%AA-%D9%85%D9%84%DA%A9.aspx" class="ctl00_SiteMenu1_ctl00_1">راهنمای ثبت ملک</a></td>
</tr>
</tbody></table></td><td style="width:3px;"></td><td id="ctl00_SiteMenu1_ctl00n7" onkeyup="Menu_Key(event)" onmouseout="Menu_Unhover(this)" onmouseover="Menu_HoverStatic(this)"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td style="white-space:nowrap;"><a href="%D8%AA%D9%85%D8%A7%D8%B3-%D8%A8%D8%A7-%D9%85%D8%A7.aspx" class="ctl00_SiteMenu1_ctl00_1">تماس با ما</a></td>
</tr>
</tbody></table></td><td style="width:3px;"></td><td id="ctl00_SiteMenu1_ctl00n8" onkeyup="Menu_Key(event)" onmouseout="Menu_Unhover(this)" onmouseover="Menu_HoverStatic(this)"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td style="white-space:nowrap;"><a href="%D8%AA%D8%A8%D8%A7%D8%AF%D9%84-%D9%84%DB%8C%D9%86%DA%A9.aspx" class="ctl00_SiteMenu1_ctl00_1">تبادل لینک</a></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table>

4/9/2012 9:16:49 AM
Gravatar
Total Posts 81
Website Hobbyist and Software Engineer
Proud member of the mojoPortal team
www.doan.me

Re: Question about sitemenu

Is this in your development environment? Do you use optimizeCompilations="true" in your web.config?

I am not 100% sure, but this sounds a lot like an issue that I experience at times when using optimizeCompilations="true" in my web.config for my development environment. You can check out my full notes on the blog entry I wrote about this.

4/9/2012 9:29:00 AM
Gravatar
Total Posts 192

Re: Question about sitemenu

thankyou, yes, and I didn't have this problem on a site which is online.

probably this is the reason.

You must sign in to post in the forums. This thread is closed to new posts.