protected void gvEmployeeDetails_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Pager) { GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.SetPagerButtonStates(this.gvEmployeeDetails, e.Row, this.Page); } }
protected void gvEmpStdSubAllocationDetails_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Pager) { GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.SetPagerButtonStates(gvSchoolRegistrationBMSdetail, e.Row, this.Page); } }
protected void GvUserList_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Pager) { GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.SetPagerButtonStates(this.GvUserList, e.Row, this.Page); } }
protected void GrvSYS_Boarddetail_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Pager) { GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.SetPagerButtonStates(grvSYS_Boarddetail, e.Row, this.Page); } }
protected void grvEmpStdSubAllocationDetails_RowCreated(object sender, GridViewRowEventArgs e) { try { if (e.Row.RowType == DataControlRowType.Pager) { GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.SetPagerButtonStates(this.GvUserList, e.Row, this.Page); } } catch (Exception ex) { WebMsg.Show(ex.Message); } }
protected void grvSYS_Chapterdetail_RowCreated(object sender, GridViewRowEventArgs e) { try { if (e.Row.RowType == DataControlRowType.Pager) { GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.SetPagerButtonStates(grvSYS_Chapterdetail, e.Row, this.Page); } } catch (Exception ex) { WebMsg.Show(ex.Message); } }
protected void grdClassroomWiseAttendance_RowCreated(object sender, GridViewRowEventArgs e) { try { if (e.Row.RowType == DataControlRowType.Pager) { GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.SetPagerButtonStates(grdAttendance, e.Row, this.Page); } } catch (Exception ex) { WebMsg.Show(ex.Message); } }
protected void grTestResult_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Pager) { GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.SetPagerButtonStates(grTestResult, e.Row, this.Page); } if (e.Row.RowType == DataControlRowType.DataRow) { // when mouse is over the row, save original color to new attribute, and change it to highlight color e.Row.Attributes.Add("onmouseover", "this.originalstyle=this.style.backgroundColor;this.style.backgroundColor='#95DDDD';this.style.cursor='pointer'"); // when mouse leaves the row, change the bg color to its original value e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=this.originalstyle;"); } }
protected void GrvResultDetails_RowCreated(object sender, GridViewRowEventArgs e) { try { if (e.Row.RowType == DataControlRowType.Pager) { GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.SetPagerButtonStates(GrvResultDetails, e.Row, this.Page); } if (e.Row.RowType == System.Web.UI.WebControls.DataControlRowType.DataRow) { e.Row.Attributes.Add("onmouseover", "this.originalstyle=this.style.backgroundColor;this.style.backgroundColor='#95DDDD';this.style.cursor='pointer'"); // when mouse leaves the row, change the bg color to its original value e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=this.originalstyle;"); } } catch (Exception ex) { WebMsg.Show(ex.Message); } }
protected void grdClassroomWiseAttendance_RowCreated(object sender, GridViewRowEventArgs e) { try { if (e.Row.RowType == DataControlRowType.Pager) { GridViewOperations GrvOperation = new GridViewOperations(); GrvOperation.SetPagerButtonStates(grdClassroomWiseAttendance, e.Row, this.Page); } if (e.Row.RowType == System.Web.UI.WebControls.DataControlRowType.DataRow) { // when mouse is over the row, save original color to new attribute, and change it to highlight color e.Row.Attributes.Add("onmouseover", "this.originalstyle=this.style.backgroundColor;this.style.backgroundColor='#95DDDD';this.style.cursor='pointer'"); // when mouse leaves the row, change the bg color to its original value e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=this.originalstyle;"); } } catch (Exception ex) { WebMsg.Show(ex.Message); } }