protected void grvStudentdetail_Sorting(object sender, GridViewSortEventArgs e) { if (e.SortExpression.Trim() == this.SortField) { this.SortDirection = (this.SortDirection == "descending" ? "ascending" : "descending"); } else { this.SortDirection = "ascending"; } this.SortField = e.SortExpression; GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.GrvSortingSetImage(e, grvStudentdetail, this.SortDirection); }
protected void gvEmployeeDetails_Sorting(object sender, GridViewSortEventArgs e) { if (e.SortExpression.Trim() == this.SortField) { this.SortDirection = (this.SortDirection == "descending" ? "ascending" : "descending"); } else { this.SortDirection = "ascending"; } this.SortField = e.SortExpression; this.BindGridEmployeeDetails(); GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.GrvSortingSetImage(e, this.gvEmployeeDetails, this.SortDirection); }
protected void grvReschedulingData_Sorting(object sender, GridViewSortEventArgs e) { if (e.SortExpression.Trim() == this.SortField) { this.SortDirection = (this.SortDirection == "descending" ? "ascending" : "descending"); } else { this.SortDirection = "ascending"; this.SortField = e.SortExpression; Applied_Chapter_Topics(); } GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.GrvSortingSetImage(e, grvReschedulingData, this.SortDirection); }
protected void grTestResult_Sorting(object sender, GridViewSortEventArgs e) { if (e.SortExpression.Trim() == this.SortField) { this.SortDirection = (this.SortDirection == "descending" ? "ascending" : "descending"); } else { this.SortDirection = "ascending"; this.SortField = e.SortExpression; int index = Convert.ToInt32(menuTestType.SelectedValue); BindGridData(index); } GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.GrvSortingSetImage(e, grTestResult, this.SortDirection); }
protected void gvEmpStdSubAllocationDetails_Sorting(object sender, GridViewSortEventArgs e) { if (e.SortExpression.Trim() == this.SortField) { this.SortDirection = (this.SortDirection == "descending" ? "ascending" : "descending"); } else { this.SortDirection = "ascending"; } this.SortField = e.SortExpression; this.SortField = e.SortExpression; bindgrvSchoolRegistrationBMSdetail(Convert.ToInt32(ViewState["SchRegID"].ToString())); GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.GrvSortingSetImage(e, gvSchoolRegistrationBMSdetail, this.SortDirection); }
protected void GrvResultDetails_Sorting(object sender, GridViewSortEventArgs e) { try { if (e.SortExpression.Trim() == this.SortField) { this.SortDirection = (this.SortDirection == "descending" ? "ascending" : "descending"); } else { this.SortDirection = "ascending"; } this.SortField = e.SortExpression; BindGrvResultDetails(); GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.GrvSortingSetImage(e, GrvResultDetails, this.SortDirection); } catch (Exception ex) { WebMsg.Show(ex.Message); } }
protected void grdClassroomWiseAttendance_Sorting(object sender, GridViewSortEventArgs e) { try { if (e.SortExpression.Trim() == this.SortField) { this.SortDirection = (this.SortDirection == "descending" ? "ascending" : "descending"); } else { this.SortDirection = "ascending"; } this.SortField = e.SortExpression; BindClassWiseAttendanceGrid(); GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.GrvSortingSetImage(e, grdClassroomWiseAttendance, this.SortDirection); } catch (Exception ex) { WebMsg.Show(ex.Message); } }
protected void grvSYS_Chapterdetail_Sorting(object sender, GridViewSortEventArgs e) { try { if (e.SortExpression.Trim() == this.SortField) { this.SortDirection = (this.SortDirection == "descending" ? "ascending" : "descending"); } else { this.SortDirection = "ascending"; this.SortField = e.SortExpression; bindgrvSYS_Chapterdetail(); } GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.GrvSortingSetImage(e, grvSYS_Chapterdetail, this.SortDirection); } catch (Exception ex) { WebMsg.Show(ex.Message); } }
protected void grvEmpStdSubAllocationDetails_Sorting(object sender, GridViewSortEventArgs e) { try { if (e.SortExpression.Trim() == this.SortField) { this.SortDirection = this.SortDirection == "descending" ? "ascending" : "descending"; } else { this.SortDirection = "ascending"; } this.SortField = e.SortExpression; this.BindGridData(); GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.GrvSortingSetImage(e, this.GvUserList, this.SortDirection); } catch (Exception ex) { WebMsg.Show(ex.Message); } }