HI
I am using Datetime control in .aspx page,two datetimecontrol startdate, and enddate, my code is like
timespan ts=new timespan(14,0,0,0);
dtcstartdate.selecteddate=datetime.today.subtract(ts);
dtcenddate.selectedate=datetime.now.adddays(-2);
in logs i am getting error as instance of an object not set to an instance at microsoft.sharepoint.datetimecontro.render(),this is the error i found in logs file
please can anybody give solution for this what it is actually i am new to sharepoint, unable to find this error please help me,
CAN ANYBODY PLEASE TELL ME WHAT THIS ERRO AND Y I AM GETTING THIS ERROR I HAVE TRIED DATEONLY "TRUE" BUT IT DOESNT WORK.
PLEASE CAN ANYBODY PROVIDE SOLUTION FOR THIS
THANKS AND REGARDS
MAHESH
- Edited by maheshsp2010 4 hours 44 minutes ago