Any suggestion on how I would access all the rows in the radgrid, not just the rows on page #1? I tried:
RadGrid1.MasterTableView.Items.Count
This gives me 10 rows because that is how many are listed per page but I need to get at the datatable source. The user has a search form that generates the grid. After the grid I have a button to save the search results to another table. When they click the button though I can't access the datatable because it is generated in the RadGrid1_NeedDataSource method.
If I can't write the contents of the datatable to my sql table then I am just going to write it when the search happens regardless of whether the user wants to save it or not and then when they click save I'll set a flag on the table. Hope this makes some sense, any suggestions appreciated...
RadGrid1.MasterTableView.Items.Count
This gives me 10 rows because that is how many are listed per page but I need to get at the datatable source. The user has a search form that generates the grid. After the grid I have a button to save the search results to another table. When they click the button though I can't access the datatable because it is generated in the RadGrid1_NeedDataSource method.
If I can't write the contents of the datatable to my sql table then I am just going to write it when the search happens regardless of whether the user wants to save it or not and then when they click save I'll set a flag on the table. Hope this makes some sense, any suggestions appreciated...