protected void Reset_Click(object sender, EventArgs e) { sbinding.clear(); EmployeeSearchControl1.Reset(); EmployeeSearchControl1.EmpStatusValue = "A"; view = loadData(info, EEmpPayroll.db, Repeater); }
protected void Reset_Click(object sender, EventArgs e) { EmployeeSearchControl1.Reset(); sbinding.clear(); info.page = 0; view = loadData(info, EEmpPersonalInfo.db, Repeater); }
protected void Reset_Click(object sender, EventArgs e) { binding.clear(); EmployeeSearchControl1.Reset(); info.page = 0; view = loadEmpData(info, db, Repeater); }
protected void Reset_Click(object sender, EventArgs e) { empSBinding.clear(); EmployeeSearchControl1.Reset(); EmployeeSearchControl1.EmpStatusValue = "A"; empView = emploadData(empInfo, EEmpPayroll.db, empRepeater); }
protected void Reset_Click(object sender, EventArgs e) { binding.clear(); LeaveTypeID.SelectedIndex = 0; info.page = 0; view = loadData(info, db, Repeater); }
protected void Reset_Click(object sender, EventArgs e) { EmployeeSearchControl1.Reset(); empSBinding.clear(); empInfo.page = 0; empView = emploadData(empInfo, db, empRepeater); }
protected void Reset_Click(object sender, EventArgs e) { sbinding.clear(); EmployeeSearchControl1.Reset(); info.page = 0; view = loadData(info, db, Repeater, false); TaxGeneratedView = loadData(TaxGeneratedInfo, db, TaxGenerated_Repeater, true); }
protected void Reset_Click(object sender, EventArgs e) { binding.clear(); TrainingSeminarDateFrom.Value = string.Empty; TrainingSeminarDateTo.Value = string.Empty; TrainingCourseID.SelectedIndex = 0; info.page = 0; view = loadData(info, db, Repeater); }
protected void Reset_Click(object sender, EventArgs e) { sNotConfirmEmpBinding.clear(); sNotTrialRunEmpBinding.clear(); EmployeeSearchControl1.Reset(); EmployeeSearchControl1.EmpStatusValue = "A"; NotConfirmEmpView = loadNotConfirmData(NotConfirmEmpInfo, EEmpPayroll.db, NotConfirm_Repeater); NotTrialRunEmpView = loadNotTrialRunData(NotTrialRunEmpInfo, EEmpPersonalInfo.db, NotTrialRun_Repeater); }
protected void Page_PreRender(object sender, EventArgs e) { if (!Page.IsPostBack) { sbinding.clear(); sbinding.add(new DropDownVLSearchBinder(SchemeSelect, "SchemeCode", EPayScale.VLDistinctSchemeList, true)); view = loadData(info, db, Repeater); } }
protected void Reset_Click(object sender, EventArgs e) { binding.clear(); PaymentTypeID.SelectedIndex = 0; PaymentCodeIsMPF.SelectedIndex = 0; PaymentCodeIsWages.SelectedIndex = 0; info.page = 0; view = loadData(info, db, Repeater); }
protected void Reset_Click(object sender, EventArgs e) { binding.clear(); EmployeeSearchControl1.Reset(); info.page = 0; //foreach (RepeaterItem item in HierarchyLevel.Items) //{ // DropDownList c = (DropDownList)item.FindControl("HElementID"); // c.SelectedIndex = 0; //} view = loadData(info, db, Repeater); }
protected void Reset_Click(object sender, EventArgs e) { trainingEnrollBinding.clear(); EmployeeSearchControl1.Reset(); EmployeeSearchControl1.EmpStatusValue = "A"; info.page = 0; //info = new ListInfo(); //int page = 0; //info.loadState(Request, page); //foreach (RepeaterItem item in HierarchyLevel.Items) //{ // DropDownList c = (DropDownList)item.FindControl("HElementID"); // c.SelectedIndex = 0; //} view = loadData(info, db, Repeater); }
protected void Reset_Click(object sender, EventArgs e) { empSBinding.clear(); empView = emploadData(empInfo, db, empRepeater); }
protected void Reset_Click(object sender, EventArgs e) { sbinding.clear(); view = loadData(info, db, Repeater); }
public void Reset() { binding.clear(); foreach (System.Web.UI.Control ctrl in Controls) { if (ctrl is TextBox) { ((TextBox)ctrl).Text = string.Empty; } else if (ctrl is HtmlInputText) { ((HtmlInputText)ctrl).Value = string.Empty; } else if (ctrl is WebDatePicker) { ((WebDatePicker)ctrl).Value = string.Empty; } else if (ctrl is DropDownList) { ((DropDownList)ctrl).SelectedIndex = 0; } else if (ctrl is ListControl) { foreach (ListItem listItem in ((ListControl)ctrl).Items) { listItem.Selected = false; } } else if (ctrl is AdvancedCheckBoxList) { ((AdvancedCheckBoxList)ctrl).Reset(); } else if (ctrl is HierarchyCheckBoxList) { ((HierarchyCheckBoxList)ctrl).Reset(); } } if (AdditionElementControl != null) { foreach (System.Web.UI.Control ctrl in AdditionElementControl.Controls) { if (ctrl is TextBox) { ((TextBox)ctrl).Text = string.Empty; } else if (ctrl is HtmlInputText) { ((HtmlInputText)ctrl).Value = string.Empty; } else if (ctrl is WebDatePicker) { ((WebDatePicker)ctrl).Value = string.Empty; } else if (ctrl is DropDownList) { ((DropDownList)ctrl).SelectedIndex = 0; } else if (ctrl is ListBox) { foreach (ListItem positionItem in ((ListBox)ctrl).Items) { positionItem.Selected = false; } } } } }
protected void Reset_Click(object sender, EventArgs e) { binding.clear(); AsAtDate.TextBox.Text = ""; view = loadData(info, db, Repeater); }