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
-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.
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?
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.
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
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.
Tsvetina
the Telerik team
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??
Please advise...
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
Artiel 's Solution