c# - Disable calendar dates between to dates in Sharepoint -


i making booking application in sharepoint , want disable dates on calendar booked. have started , got stuck here.

datetime datestart = datetime.parse(radsp["startdatum"].tostring()); datetime dateend = datetime.parse(radsp["startdatum"].tostring());                  while (datestart < dateend)                {                    calendar2.selecteddate = datestart;                    calendar2.selecteddate.day.isselectable = false;                    datestart.adddays(1);                    e.day.isselectable = false;   //dont have acces on "e"                                        e.cell.forecolor = system.drawing.color.gray; //dont have acces on "e"                                      } 

my dates stored in list in sharepoint


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -