This is a migrated thread and some comments may be shown as answers.

[Solved] Rendering in IE & Virtual directory

4 Answers 114 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Qwizdom
Top achievements
Rank 1
Qwizdom asked on 17 May 2010, 09:44 PM
So I am having a few issues with rendering in IE8 with the menu control.  When I view the control with Chrome everything looks great.

The can be seen in my attachment 'menu.png'
The first menu is rendered with IE, the second with Chrome

 I published my MVC site using IIS7 and I used 'QOPS' as the virtual directory for the site.

Next bug is odd.  Grouping the js files works great on my machine but fails when I put it on the webserver.
I register my Telerik controls with:
Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.Combined(true)).jQuery(false).Render();

It generates the following (QOPS is my virtual directory):

Which gives me a 404 when I attempt to look at the file.

The last problem I have is really confusing me.  This could be my error or something wrong with the menu.  In this case I turned off the grouping of javascript files.
When I run the site on my local machine (non-virtual directory obviously) I get the normal output for the menu (beside the fact that it is rendering incorrectly in IE8).  

Last week when I would render it in IE8, nothing would show up other than the background for the menu bar.  It would render fine in Chrome.  Attachment 'menu2.png'
I registered my css as such:
Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css").Add("telerik.vista.css"))

I republished the project today by grouping the style sheets and now the menu shows up as an unordered list.

4 Answers, 1 is accepted

Sort by
0
Qwizdom
Top achievements
Rank 1
answered on 17 May 2010, 10:05 PM
Sorry for the double post but editing the attachments wasn't working for me.
Here is 'menu2.png'
0
Atanas Korchev
Telerik team
answered on 18 May 2010, 07:20 AM
Hi Stefan Bolder,

The first issue may be due to unregistered HTTP handler (asset.axd). Verify that it is registered in both <system.web><httpHandlers> and <system.webServer><handlers> sections in your web.config.

The menu issue looks like a CSS conflict. Perhaps some CSS rule from your web site is interfering with the menu's. Is there a chance for us to see a live version of your web site? If this requires exchanging sensitive information you could open a support ticket.

Kind regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Qwizdom
Top achievements
Rank 1
answered on 01 Jun 2010, 10:42 PM
Hi Atanas,

For the time being I have reverted back to my old menus but I am still interested in getting this issue resolved.  I forgot to mention it but I am using the visual style builder and images for the various states of the menu.  I think that the problem lays somewhere with IE and the unselected state.  When I mouse over the links, the image for the selected state will show.

** Edit **
I also added the asset handlers but it did not fix the problem.

Thanks
0
Atanas Korchev
Telerik team
answered on 02 Jun 2010, 06:40 AM
Hello Stefan Bolder,

Is it possible to open a support ticket and send us a sample project? It would be the best way to debug this problem.

Regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Menu
Asked by
Qwizdom
Top achievements
Rank 1
Answers by
Qwizdom
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or