예제 #1
0
    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();
    }
예제 #2
0
 // 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;
 }