Exemplo n.º 1
0
 //重置
 protected void btnReSet_Click(object sender, EventArgs e)
 {
     txtPactNum.Reset();
     txtPactName.Reset();
     DropDownList_Project.SelectedValue      = "0";
     DropDownList_SecrecyLevel.SelectedValue = "1";
     DatePicker_StartTime.Reset();
     DatePicker_EndTime.Reset();
     txtPactType.Reset();
     PageContext.RegisterStartupScript("clearFile();");
     //filePath.Reset();
 }
Exemplo n.º 2
0
 //重置会议信息事件
 protected void btnSet_Click(object sender, EventArgs e)
 {
     txtMeetingName.Reset();
     txtOrganizer.Reset();
     txtCoorganizer.Reset();
     txtMeetingPlace.Reset();
     txtProceedingsofTitle.Reset();
     DropDownList_MeetingSort.Reset();
     DropDownList_SecrecyLevel.SelectedValue = "0";
     DatePicker_StratTime.Reset();
     DatePicker_EndTime.Reset();
     txtMeetingCount.Reset();
     txtMajorPerson.Reset();
     txtMajorTheme.Reset();
     AttendMeetingPeople.Reset();
     txtMeetingCount.Reset();
     txtMeetingHost.Reset();
     MeetingContent.Reset();
     PageContext.RegisterStartupScript("clearFile();");
 }
Exemplo n.º 3
0
        /*protected void btnSave_Click(object sender, EventArgs e)
         * {
         *  try
         *  {
         *      if (BLLUser.FindByUserName(txtBorrowPeople.Text) == null)
         *      {
         *          Alert.ShowInTop("借阅人不存在,请重新输入!");
         *          return;
         *      }
         *      if (DatePicker_BorrowTime.SelectedDate > DatePicker_ReturnTime.SelectedDate)
         *      {
         *          Alert.ShowInTop("结束日期应该大于开始日期!");
         *          return;
         *      }
         *      int LibraryRecordID = Convert.ToInt32(Session["LibraryRecordID"]);
         *      NewLibraryRecord = BLLLibraryRecord.FindByLibreryRecordID(LibraryRecordID);
         *      NewLibraryRecord = FindLibraryRecord();
         *      if (NewLibraryRecord != null)
         *      {
         *          BLLLibraryRecord.Update(NewLibraryRecord);
         *          Alert.ShowInTop("保存成功!");
         *      }
         *      else
         *          Alert.ShowInTop("保存失败!");
         *      PageContext.RegisterStartupScript(ActiveWindow.GetConfirmHideRefreshReference());
         *  }
         *  catch (Exception ex)
         *  {
         *      BLCommon.PublicMethod pm = new BLCommon.PublicMethod();
         *      pm.SaveError(ex, this.Request);
         *  }
         * }*/

        protected void btnReSet_Click(object sender, EventArgs e)
        {
            txtPactNum.Reset();
            txtPactName.Reset();
            txtPactType.Reset();
            DatePicker_StartTime.Reset();
            DatePicker_EndTime.Reset();
            DropDownList_Project.Reset();
            DropDownList_SecrecyLevel.Reset();
            txtChargePerson.Reset();
            txtPactMoney.Reset();
            txtRealMoney.Reset();
            txtPactCompletion.Reset();
            txtIsExistingFile.Reset();
            txtFileNum.Reset();
            //txtPactNum.Reset();
            //txtBorrowPeople.Reset();
            //DatePicker_BorrowTime.Reset();
            //DatePicker_ReturnTime.Reset();
            //DropDownList_SecrecyLevel.SelectedValue = "1";
        }