Hello Abdul,
To address the error, consider wrapping your javascript code which contains server code blocks inside
RadCodeBlock or RadScriptBlock.
Furthermore, you may be happy to know that with the Q1 2011 release of the AJAX suite (ETA is mid March) we will introduce a separate month/year picker control. The Q1 2011 Beta version is expected at the end of this week, you may want to give it a spin.
Best,
Sebastian
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and
book your seat for a walk through all the exciting stuff we ship with the new release!