Hi!
I'm trying to theme my Telerik controls via ASP.NET theming mechanism. I'm using 2008.2.723.35. We're using ASP.NET 3.5 and I've seen this being done in 2.0. Below is my skinfile:
However, upon i compile i get the error:
What's wrong here?
I should tell you that the site works otherwise, i.e. no problem loading the assembly and using the Telerik controls in the "normal" way.
Regards
Linus
I'm trying to theme my Telerik controls via ASP.NET theming mechanism. I'm using 2008.2.723.35. We're using ASP.NET 3.5 and I've seen this being done in 2.0. Below is my skinfile:
| <%@ Register Assembly="Telerik.Web.UI, Version=2008.2.723.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> <telerik:RadCalendar runat="server"></telerik:RadCalendar> |
However, upon i compile i get the error:
| Type 'Telerik.Web.UI.RadCalendar' is not defined. |
What's wrong here?
I should tell you that the site works otherwise, i.e. no problem loading the assembly and using the Telerik controls in the "normal" way.
Regards
Linus
6 Answers, 1 is accepted
0
Hello Linus Karlsson,
I have followed the instructions described here and created a sample project which works fine.
Please download it and give it a try.
Let me know what is different in your case.
Greetings,
Veskoni
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I have followed the instructions described here and created a sample project which works fine.
Please download it and give it a try.
Let me know what is different in your case.
Greetings,
Veskoni
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Linus
Top achievements
Rank 2
answered on 11 Aug 2008, 08:56 AM
Hey, I tried your code out and obviously it worked. My still didn't. However, thanks to this link, i realized whats's causing the error... The skin was named 'Telerik', which means at compile time it's compiled into the namespace ASP.Telerik, hence messing up the runtimes ability to locate Telerik.Web.UI.XRadControl.
Solution, don't name your skin Telerik :)
Solution, don't name your skin Telerik :)
0
Jon
Top achievements
Rank 1
answered on 03 Feb 2010, 09:15 AM
Hi All,
This is kind of an old thread but I've got the same problem on the current version of the controls. I'm trying to use the Telerik skin (not one I'm calling Telerik), all others such as Web20 (my normal) work just fine but when using the Telerik skin I get the 'Telerik.Web.UI.RadCalendar' is not defined error.
Is there an alternate name that the Telerik skin goes by?
My skin file for the Telerik skin/theme is shown below.
Thanks for any assistance.
Regards,
Jon
This is kind of an old thread but I've got the same problem on the current version of the controls. I'm trying to use the Telerik skin (not one I'm calling Telerik), all others such as Web20 (my normal) work just fine but when using the Telerik skin I get the 'Telerik.Web.UI.RadCalendar' is not defined error.
Is there an alternate name that the Telerik skin goes by?
My skin file for the Telerik skin/theme is shown below.
Thanks for any assistance.
Regards,
Jon
| <%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %> |
| <telerik:RadCalendar runat="server" Skin="Telerik" /> |
| <telerik:RadChart runat="server" Skin="Telerik" /> |
| <telerik:RadColorPicker runat="server" Skin="Telerik" /> |
| <telerik:RadComboBox runat="server" Skin="Telerik" /> |
| <telerik:RadDock runat="server" Skin="Telerik" /> |
| <telerik:RadDatePicker runat="server" Skin="Telerik" /> |
| <telerik:RadDateTimePicker runat="server" Skin="Telerik" /> |
| <telerik:RadTimePicker runat="server" Skin="Telerik" /> |
| <telerik:RadGrid runat="server" Skin="Telerik" /> |
| <telerik:RadEditor runat="server" Skin="Telerik" /> |
| <telerik:RadFileExplorer runat="server" Skin="Telerik" /> |
| <telerik:RadFormDecorator runat="server" Skin="Telerik" /> |
| <telerik:RadMaskedTextBox runat="server" Skin="Telerik" /> |
| <telerik:RadMenu runat="server" Skin="Telerik" /> |
| <telerik:RadTextBox runat="server" Skin="Telerik" /> |
| <telerik:RadDateInput runat="server" Skin="Telerik" /> |
| <telerik:RadPanelBar runat="server" Skin="Telerik" /> |
| <telerik:RadProgressArea runat="server" Skin="Telerik" /> |
| <telerik:RadRotator runat="server" Skin="Telerik" /> |
| <telerik:RadScheduler runat="server" Skin="Telerik" /> |
| <telerik:RadSlider runat="server" Skin="Telerik" /> |
| <telerik:RadSpell runat="server" Skin="Telerik" /> |
| <telerik:RadSplitter runat="server" Skin="Telerik" /> |
| <telerik:RadTabStrip runat="server" Skin="Telerik" /> |
| <telerik:RadToolBar runat="server" Skin="Telerik" /> |
| <telerik:RadToolTip runat="server" Skin="Telerik" /> |
| <telerik:RadTreeView runat="server" Skin="Telerik" /> |
| <telerik:RadUpload runat="server" Skin="Telerik" /> |
| <telerik:RadWindow runat="server" Skin="Telerik" /> |
| <telerik:RadWindowManager runat="server" Skin="Telerik" /> |
| <telerik:RadAjaxLoadingPanel runat="server" Skin="Telerik" /> |
0
Hello Jon,
Unfortunately themes with the name of Telerik are not supported in RadControls for ASP.NET AJAX. Just change the theme name to work around that.
Sincerely yours,
Kamen Bundev
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Unfortunately themes with the name of Telerik are not supported in RadControls for ASP.NET AJAX. Just change the theme name to work around that.
Sincerely yours,
Kamen Bundev
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Jon
Top achievements
Rank 1
answered on 03 Feb 2010, 12:11 PM
Hi Kamen,
Do you mean that the skin file name needs to be changed to something like TelerikSkin while retaining the content (with Telerik) as pasted in.
This problem is occuring because the Telerik theme that ships with the controls is called Telerik - not through any custom skin of mine...
Regards,
Jon
Do you mean that the skin file name needs to be changed to something like TelerikSkin while retaining the content (with Telerik) as pasted in.
This problem is occuring because the Telerik theme that ships with the controls is called Telerik - not through any custom skin of mine...
Regards,
Jon
0
Hello Jon,
ASP.NET themes called "Telerik" are not supported, because the ASP.NET framework messes up the RadControls namespace with the theme's namespace.
So you have to rename your ASP.NET theme. The "Telerik" skin name that RadControls use is something different.
We don't ship any ASP.NET themes named "Telerik". There are two ASP.NET themes called "Default" and "Vista" in the Demos website.
Kind regards,
Dimo
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
ASP.NET themes called "Telerik" are not supported, because the ASP.NET framework messes up the RadControls namespace with the theme's namespace.
So you have to rename your ASP.NET theme. The "Telerik" skin name that RadControls use is something different.
We don't ship any ASP.NET themes named "Telerik". There are two ASP.NET themes called "Default" and "Vista" in the Demos website.
Kind regards,
Dimo
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.

