I know that there is a lot of small tutorial in order to modify the sharepoint rendering templates and allow the removal of toolbar items etc.
I've been fiddling with the DefaultTemplate.ascx in the CONTROLTEMPLATES folder of your sharepoint server.
I've been trying to copy one of the rendering templates and simply tweak it, by giving it a different ID. (all for the sake of css magic on certain views)
Once that is done, I went through the Calendar list view .aspx and modified the webpart to use the CalendarViewStyle of my new templates.
This unfortunately didn't work and threw a big "An unexpected error has occured"
I revert to the original and everything works. While looking through the DefaultTemplate, there is another rendering template defined for calendars, which I try to apply using the same CalendarViewStyle, and once again I'm baffled to see the above error, even though this is a built-in sharepoint template.
My question is then how can one easily modify these Sharepoint Rendering templates without breaking the functionality and be able to apply any of the templates to their liking?