Hi,
I have built a custom assembly skin, and I know that it is working correctly as the controls on the page are showing the correct skin.
However, if I am to add a simple control telerik raddatepicker like the below
protected void Page_Load(object sender, EventArgs e)
{
RadDatePicker oDate = new RadDatePicker();
oDate.Skin = "IWCL";
pnlMain.Controls.Add(oDate);
}
The following error is thrown
Telerik.Web.UI.DatePickingInput with ID='dateInput' was unable to find an embedded skin with the name 'IWCL'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.
I am pretty sure that there isn't any issue with the custom assembly, as without adding a control through a code behind, the page runs ok without any error.
You can reproduce the same error by using the sample project that telerik have provided in the below
Thank you and I look forwards to hear from you
Hi,
It looks like even when you do it as a normal control in the page (Not adding through code behind), the issue still exist.
It seems that the reason for this is since I am using the skin included in the telerik folder as a base, there isn't any css for DatePicker, there is only css for Calendar, but including that in the RadDatePicker class still throwing an error
Is there any example of RadDatePicker class that I can use to make this work?