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: I use embedded resources, It has no problem to use static resources. Please see the MyCalendar.zip, It inlcude the MyCalendar Extender which is inherited from AjaxControltoolkit Calendar. See the SSCoCalendarExtender.vb, line 84, I have to manually Register the css link for Calendar.css and Background.css to fix the bug. By the way, I have deleted the Nuget packages folder to reduce the attachment size. Thank you very much! Jim Wang
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: I use embedded resources, It has no problem to use static resources. Please see the MyCalendar.zip, It inlcude the MyCalendar Extender which is inherited from AjaxControltoolkit Calendar. See the SSCoCalendarExtender.vb, line 84, I have to manually Register the css link for Calendar.css and Background.css to fix the bug. By the way, I have deleted the Nuget packages folder to reduce the attachment size. Thank you very much! Jim Wang