//空闲时间 public void DayPilotCalendar1_FreeTimeClick(object sender, DayPilot.Web.Ui.FreeClickEventArgs e) { string Str2 = null; Str2 = "<script language='javascript'>window.open('wdrc_add.aspx?sd=" + e.Start + "&st=" + e.Start + "','newwidow','height=550,width=750,top=0,left=0,right=0,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no')<"; Str2 += "/"; Str2 += "script>"; Response.Write(Str2); }
protected void DayPilotCalendar1_FreeTimeClick(object sender, DayPilot.Web.Ui.FreeClickEventArgs e) { this.ShowMessage("FreeTimeClick:" + e.Start.ToString()); }