function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NisarNisar 

Getting a calendar in a VF page.

Hi All,


I am getting this calendar (as shown below) in my VF page even though I have not written a code for this.

 

JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember
2010201120122013201420152016
SunMonTueWedThuFriSat
Today


Please let me know about this or its solution if anyone had come across this same problem.


Thank You.

Best Answer chosen by Admin (Salesforce Developers) 
Pradeep_NavatarPradeep_Navatar

This calender will be removed on putting standardstylesheet="false" with apex:page attribute :

 

<apexpage standardstylesheet="false" renderAs="pdf" controller="controller_name">

 

Hope this helps.

All Answers

kamlesh_chauhankamlesh_chauhan

Hi Nishar,

 

I think your VF page contains ShowHeader=false and you have used some input field with datetime datatype.

 

Regards,

Kamlesh

Pradeep_NavatarPradeep_Navatar

This calender will be removed on putting standardstylesheet="false" with apex:page attribute :

 

<apexpage standardstylesheet="false" renderAs="pdf" controller="controller_name">

 

Hope this helps.

This was selected as the best answer
NisarNisar

Hi Pradeep,

 

Your reply worked for me.

 

Thank you very much.

JPlayEHRJPlayEHR

Guuuhhhhhhh!!!! This was driving me crazy!! Thanks Pradeep! (also...standardstylesheet should be standardstylesheets - with an 's'.  Not a huge issue if you're looking through the Standard Component Reference, but it's those little details that keep stuff from working a lot of the time).  :robotvery-happy:

sekharasekhara

Hi Nisar,

Can u post classes & visual force pages for Getting a calendar