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

Custom Skin of RadMenu

4 Answers 146 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 08 Jun 2011, 05:28 PM
Hi, I'd really appreciate your help on this.

I am trying to apply a custom skin to a RadMenu, contained within the MasterPage of an ASP.Net website. I'm using Visual Web Developer.

I've followed the 'help' instructions to exhaustion, set Embedded skins to false, registered the custom CSS file, set the skin property to my custom skin, etc.

When I do all of this, the Radmenu skin changes in the Design view. Which is great but when I launch the site in a browser, the menu is unstyled.

Any thoughts?

Thanks in advance

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 09 Jun 2011, 11:50 AM
Hi Brian,

At this point I cannot tell what is the reason for the problem as the information that you provided is not enough for me to determine the reason for it. What I can suggest though, is to use Fiddler in IE or Firebug in Firefox to check why the images are not loaded.
If you still experience problems after that, please open a support ticket and send us the project or a sample one that reproduces the case so we can investigate further.

Best wishes,
Georgi Tunev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Brian
Top achievements
Rank 1
answered on 09 Jun 2011, 04:41 PM
I managed to fix this, then it failed again. I fixed it by dragging the skin's css file into the login page (manually registering it) It worked for a little while, then it stopped. The result I'm getting now is, after logging in, the custom skin kicks in. When the log-in page is active, the browser just cant see the custom skin. I've searched, root and branch to find why the login page is blocking the css but cant find anything.
0
Accepted
Helen
Telerik team
answered on 10 Jun 2011, 03:01 PM
Hi Brian,

I just answered your support ticket regarding the same issue. Could you please review our answer and let us know how it goes?
Here is my answer:

Probably you will find helpful the following forum post:
http://forums.asp.net/t/1258260.aspx/1?Cannot+use+external+CSS+in+Login+aspx

Just add the following setting to your web.config file:
Copy Code
<?xml version="1.0"?>
.......................
<location path="StyleSheet.css">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
<location path="Partner/Menu.Partner.css">
  <system.web>
    <authorization>
        <allow users="*"/>
    </authorization>
  </system.web>
</location>
  <location path="Images">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
  <location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
 .......................
</configuration>


Regards,
Helen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Brian
Top achievements
Rank 1
answered on 10 Jun 2011, 03:18 PM
Many thanks Helen, looks fairly obvious now that I understand it now.

I have a team of crack IT guys next door, I'll maybe run stuff like this by them next time!
Tags
General Discussions
Asked by
Brian
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Brian
Top achievements
Rank 1
Helen
Telerik team
Share this question
or