Skin files not found

12 posts, 1 answers
  1. Yen
    Yen avatar
    12 posts
    Member since:
    Jan 2009

    Posted 26 Mar 2009 Link to this post

    Dear support team,

    I had an issue integrating the RadGrid from the RadControls for ASP.NET Q1 2009 release with MOSS 2007 SP1/.NET 3.5 SP1.  The RadGrid shows up, but the skin files appear to be missing, so all I see is the content of the grid without any CSS styles or images whatsoever.  I can confirm that the skin files are properly installed to the directory \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadGrid.Net2\5.1.6.0__ec87bc2939ec45df\RadControls\Grid\Skins.  The RadGrid.Net2 dll is installed into the GAC, and its strong name matches the directory described earlier.

    To elaborate, I took these steps, based on Andrew Connell's MOSS Whitepaper for automated installation:
    1) Ran the EXE utilities to create DDF and manifest.xml entries for the RadGrid skin files 
    2) Since we're only using the Glassy skin, I copied only the appropriate skins to the DDF and manifest.xml files
    3) Added RadGrid.Net2.dll as a SafeControl to manifest.xml
    4) Registered RadGrid.Net2.dll in my ASPX page with:

    <%

     

    @ Register Assembly="RadGrid.Net2, Version=5.1.6.0, Culture=neutral, PublicKeyToken=ec87bc2939ec45df" Namespace="Telerik.WebControls" TagPrefix="rad" %>

     

    5) Deployed the solution in SharePoint

     

     


    The solution deployed successfully.  As I mentioned, all I was able to see is the de-skinned RadGrid.  The HTML contains an entries such as
    <link type="text/css" rel="stylesheet" href="/RadControls/Grid/Skins/Glassy/Styles.css" />
    but of course the CSS file was not found.  When I deployed the ASPX page outside of SharePoint, the RadGrid rendered properly.

    As a test, I deployed another ASPX page containing RadAjaxPanel and an AjaxLoadingPanel.  The Ajax functionality worked properly, but again the loading panel failed to show any animated gif.

    Am I missing something?

    Lastly, I read elsewhere regarding the new Telerik.Web.UI assembly replacing separate assemblies for each control.  However, even in the Q1 2009 release there are individual assemblies such as RadGrid.Net2.dll.  Could you clarify?

    Any help would be greatly appreciated.

    Thanks,

    Yen

     

     

     

     

  2. Yen
    Yen avatar
    12 posts
    Member since:
    Jan 2009

    Posted 27 Mar 2009 Link to this post

    As a follow-up, the RadGrid was skinned properly if I copied the skin files starting at the RadControls directory to the SharePoint virtual directory at \Inetpub\wwwroot\wss\VirtualDirectories\80.  However, this approach would not give us the same convenience as deploying a solution file.

    -Yen

  3. Answer
    Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 30 Mar 2009 Link to this post

    Hello Yen,

    I am not sure what causes the issue in your particular case since your settings look correct to me. Does setting the RadControlsDir property of your RadGrid for ASP.NET to point explicitly to some specific location where the /RadControls folder resides helps? It seems that you found another option as well and may consider using it if applicable.

    Alternatively, consider migrating to the ASP.NET AJAX version of the control which exposes numerous new features/enhancements that you may find useful:

    http://www.telerik.com/help/aspnet-ajax/grdwhatsnew.html

    In it RadGrid is part of the Telerik.Web.UI assembly and you can deploy all controls with a single assembly registration. Furthermore, you may interested in reviewing the "Integrating RadCotnrols in MOSS" chapter from the online documentation which provides detailed instructions about how to incorporate our ASP.NET AJAX controls in Sharepoint:

    http://www.telerik.com/help/aspnet-ajax/introduction.html

    Best regards,
    Sebastian
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  4. Yen
    Yen avatar
    12 posts
    Member since:
    Jan 2009

    Posted 30 Mar 2009 Link to this post

    Hi Sebastian,

    Thank you for your reply.  Using your suggestion, I found another workaround that allows us to use a SharePoint solution file after all.  I actually set the SkinsPath property of the RadGrid to the eventual location of the images in SharePoint, allowing the RadGrid to be rendered properly.

    I confirm that we're using RadControls for ASP.NET, not the AJAX version.  This may be a reason for the problem with the skin files.  I have not been able to find any information on your website regarding the plain ASP.NET version.  However, it does support AJAX as well.  Is it no longer supported in favor of the AJAX version?
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 31 Mar 2009 Link to this post

    Hello Yen,

    I am glad that you found a solution which conforms to your requirements. The ASP.NET versions of RadControls are still supported as shown on the graphic at the bottom of this page:

    http://www.telerik.com/products/aspnet-ajax/resources/dotnet-support.aspx

    Please have in mind that the product support lifecycle of the .NET 1.x versions of RadControls for ASP.NET has already passed the free support boundary and we offer paid support for them as of the Q1 2009 release.

    Best regards,
    Sebastian
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  6. Riz
    Riz avatar
    1 posts
    Member since:
    Feb 2012

    Posted 20 Feb 2012 Link to this post

    Getting a error message No Skins assembly found when trying to attach other skin other than default for the control

     

    RadMenu


    I do have reference to Telerik.Web.UI.Skins.dll
  7. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 21 Feb 2012 Link to this post

    Hello,

    Have you tried closing and reloading the project after adding the Telerik.Web.UI.Skins.dll reference? Once the project is "aware" of the skins dll there should be no such error.
     

    Regards,
    Tsvetina
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  8. Saloua
    Saloua avatar
    1 posts
    Member since:
    May 2012

    Posted 31 May 2012 Link to this post

    Hello , 

    I have the same probleme as Riz , However I did clse and reopen the projet several time but i still have the same error ! 
    What should i Do??
  9. Bill
    Bill avatar
    3 posts
    Member since:
    Oct 2012

    Posted 29 Jun 2012 Link to this post

    I had the same problem with AsyncUpload.   Added a reference to the Skin dll using Project->Add Reference but the error persisted after restarting VS.  Copied the dll from the install area into my project bin folder, restarted VS and the problem went away.
  10. Vartan
    Vartan avatar
    1 posts
    Member since:
    Aug 2012

    Posted 01 Aug 2012 Link to this post

    I am having this error as well... after updating my controls today to the version released last week, my radgrid can no longer use any skin except the default. It says to add the dll but that is already in place. I have even tried removing it and adding it back with no luck.

    Please advise...
  11. Ariel
    Ariel avatar
    8 posts
    Member since:
    Jan 2011

    Posted 01 Aug 2012 Link to this post

    Vartan;

        I had the same issue and the following worked for me:
        -   Place dll (webskins) in bin and reference ( make sure is the right version ) .
        -   Close VS 2010 -X completely.
        -   Open VS ( make sure as adminnistrator)
        -   Load Project.

     Hope works for you
          
     
  12. mohamed
    mohamed avatar
    1 posts
    Member since:
    Dec 2015

    Posted 20 Jun in reply to Ariel Link to this post

    I had the same issue and the following worked for me: 
        Artiel 's Solution
Back to Top