I'm working on making results display web part and I'm displaying things using an SPGridView. Things are working fine, except that I can't get the paging to work correctly.
The paging controls are displaying, but when I click to the next page, it reloads the page I'm on and I loose my results (basically the data isn't getting sent to the next page). Below is the code I have:
protected override void CreateChildControls()
// Create and add the controls that make up the
// user interface of the web part.
scopesDropDown = new DropDownList();
txtQueryText = new TextBox();
cmdSearch = new Button();
cmdSearch.Text = "Start Search";
cmdSearch.Click += new EventHandler(cmdSearch_Click);
lblQueryResult = new Label();
void cmdSearch_Click(object sender, EventArgs e)
View Complete Post