
July 1st, 2001, 06:56 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,578
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
DataGrid button column error on page
<i><b>Originally posted by : adler321 (Adler321@aol.com)</b></i><br />Ok here is the deal: I want to have a master/detail all on one page, the idea is to have a buttoncolumn in a datagrid that when you click one of the buttons, below the datagrid should pop up a details table with the info for the row selected. I used OnSelectedIndexChanged event and in the buttoncolumn i put commandname="select" I can display the datagrid, and If I put a statement like (dataview) dv.RowFilter = "number='" + number +"'"; and then databind it I get the desired row, but that only works on page load.  When I try to do it throgh the event it generates an error when I try to select one of the rows. My code is here:<br />http://dotnet.securedomains.com/adler321/board3.aspx for the page <br />and http://dotnet.securedomains.com/adler321/code3.html for all the code listing. <br />Please help me, this is driving me nuts!!!<br />
|