private void firstPageLoad() { // Set the Current folders to the home folders this.SourceCurrentFolder = this.SourceHomeFolder; this.DestinationCurrentFolder = this.DestinationHomeFolder; // Reset the myGridview variables to the current gridviews setMyGVSource(); setMyGVDestination(); // Populate both Gridviews for first time loading the webpage bindGridview(gvSource, MyGVSource, lblSourceCurrentPath); bindGridview(gvDestination, MyGVDestination, lblDestinationCurrentPath); MyDataBind = new MyDataBind(); }
// On DataBind, the Gridview shown on the interface is updated one row at a time protected void gvFiles_RowDataBound(object sender, GridViewRowEventArgs e) { setMyGridView(e, sender); MyDataBind.gvRowBinding(); selectAll.Visible = MyDataBind.CheckBoxVisible; }