Example #1
0
 protected void btnNewSummary_Click(object sender, ImageClickEventArgs e)
 {
     Notes.EnableGo      = false;
     gvSummarize.Visible = true;
     gvSummarize.Enabled = true;
     // Initialize the DataTable && store it in ViewState.
     InitializeDataSource();
     // Enable the GridView paging option && specify the page size.
     gvSummarize.AllowPaging = true;
     gvSummarize.PageSize    = 10;
     // Populate the GridView.
     BindGridView();
     // Create the Summary
     Notes.NewSummary();
     drpSummaries.ClearSelection();
     SetViewStates("Summary");
 }