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

Skin files not found

11 Answers 339 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Yen
Top achievements
Rank 1
Yen asked on 26 Mar 2009, 03:25 PM

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

 

 

 

 

11 Answers, 1 is accepted

Sort by
0
Yen
Top achievements
Rank 1
answered on 27 Mar 2009, 02:40 PM
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
0
Accepted
Sebastian
Telerik team
answered on 30 Mar 2009, 03:56 PM
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.
0
Yen
Top achievements
Rank 1
answered on 30 Mar 2009, 08:22 PM
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?
0
Sebastian
Telerik team
answered on 31 Mar 2009, 08:48 AM
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.
0
Riz
Top achievements
Rank 1
answered on 20 Feb 2012, 11:48 PM

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
0
Tsvetina
Telerik team
answered on 21 Feb 2012, 09:41 PM
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 >>
0
Saloua
Top achievements
Rank 1
answered on 31 May 2012, 10:43 AM
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??
0
Bill
Top achievements
Rank 1
answered on 29 Jun 2012, 07:05 PM
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.
0
Vartan
Top achievements
Rank 1
answered on 01 Aug 2012, 05:48 PM
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...
0
Ariel
Top achievements
Rank 1
answered on 01 Aug 2012, 07:16 PM
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
      
 
0
mohamed
Top achievements
Rank 1
answered on 20 Jun 2016, 11:44 AM
I had the same issue and the following worked for me: 
    Artiel 's Solution
Tags
Sharepoint Integration
Asked by
Yen
Top achievements
Rank 1
Answers by
Yen
Top achievements
Rank 1
Sebastian
Telerik team
Riz
Top achievements
Rank 1
Tsvetina
Telerik team
Saloua
Top achievements
Rank 1
Bill
Top achievements
Rank 1
Vartan
Top achievements
Rank 1
Ariel
Top achievements
Rank 1
mohamed
Top achievements
Rank 1
Share this question
or