protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { //date = DAL.DALFactory.Instance.DAL_DateAndTime.getDateAndTimeAccordingToZoneTime(Globals.BranchID); //hdnDateFromAndTo.Value = date[0].ToString() + " - " + date[0].ToString(); hdnDateFromAndTo.Value = PrjClass.GetFromAndToDateOfCurrentMonth(); var date = hdnDateFromAndTo.Value.Split('-'); btnShow_Click(null, null); } }