DateTimeControl is not showing it’s calendar in proper format


Hi,

Some time we have to create our own customized asp form or visual web part or simple web parts where we use SharePoint’s Date Time Control . Some time that control works properly but some time this control does not show calendar in proper format as we see in SharePoint. Control should show calendar like :
















But instead of the format, It shows like this :


















If you want to change this format for default format you have to write this code:

dateTimeControl1.DatePickerFrameUrl=ResoulveRul(SPContext.Current.Site.Url+”/_layouts/iframe.aspx”);

Comments

Anonymous said…
Thank you. I could not figure why this occurred because the DateTimeControl calendar was displaying correctly previously.
Abhijith said…
Thanks bro...it was very helpful and i was stuck with it...thanks :)
Abhijith said…
Thanks bro..it was very helpful and i was stuck with it..thanks :)
Anonymous said…
It is a helpful post.Thank you :)

Popular Posts

SharePoint Interview Questions and Answers

Download Infopath Form Templates

How to get current logged user information using JavaScript ?

Steps to set Form based authentication (FBA) for SharePoint 2010

SharePoint Interview Questions and Answers II

Get List Items - JavaScript

Change Language for current user with JSOM in SharePoint Online

Cross Site List Rollup Web Part for SharePoint 2010

Hide Recently Modified Items

SharePoint 2010 CSS Chart