Here is the situation, I have a MyCalendar control which is inherited from CalendarExtender. After I update to reference to the new version v15.1.2. I find the calendar.css is not loaded, the web resource link return a 404 error.
As I checked the source code, I find the problem is in ToolkitResourceManager.cs, GetStyleHref, line 138. It use MyCalendar control type in GetWebResourceUrl.
Jim Wang
Comments: The problem is that ``` control.Page.ClientScript.GetWebResourceUrl(controlType, FormatStyleResourceName(name, minified)) ``` won't work for an inherited control. Since control type is the type of the inherited control then. Maybe you could embed the needed resources (CSS) in your custom control's assembly?
As I checked the source code, I find the problem is in ToolkitResourceManager.cs, GetStyleHref, line 138. It use MyCalendar control type in GetWebResourceUrl.
Jim Wang
Comments: The problem is that ``` control.Page.ClientScript.GetWebResourceUrl(controlType, FormatStyleResourceName(name, minified)) ``` won't work for an inherited control. Since control type is the type of the inherited control then. Maybe you could embed the needed resources (CSS) in your custom control's assembly?