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
Post a Comment