Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Pageable datagrid with buttoncolumn


Message #1 by "Patrick Casbar" <pcasbar@h...> on Tue, 7 Jan 2003 14:45:47 -0500
I am trying to create a pageable datagrid with a buttoncolumn that
captures values in the datagrid to use in a query to capture detail
information and display it in a separate page.  The buttons work great -
when you click a button, the proper values are stored-off as session
variables and when I redirect to the new page, I'm able to retrieve the
session variable values and perform a new query to display the detail
info.
 
The problem I'm having is that when I hit the "next page" control on the
first (summary) page, the dang button event appears to be firing and I
get an error indicating that "the specified cast is not valid".
 
Does anyone have an example of a pageable datagrid that also uses a
buttoncolumn?
 
Thanks!


  Return to Index