dantcho
asked on
suppressing nested GridView if a row is not selected
hello, i successfully implemented this code:
http://msdn.microsoft.com/en-us/library/aa992038(v=VS.90).aspx
the problem i'm having with it is this: I need to be able to suppress the nested grid for rows which are not presently selected, otherwise the control looks completely ridiculous ( see image )
the nested grid should ONLY show up for "INCOME" because that is the selected parent category. housing and transportation should not display anything
http://msdn.microsoft.com/en-us/library/aa992038(v=VS.90).aspx
the problem i'm having with it is this: I need to be able to suppress the nested grid for rows which are not presently selected, otherwise the control looks completely ridiculous ( see image )
the nested grid should ONLY show up for "INCOME" because that is the selected parent category. housing and transportation should not display anything
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
when i try to rely solely on the code posted by microsoft, it actually doesnt work at all
SqlDataSource s = (SqlDataSource)e.Row.FindC
s.SelectParameters[0].Defa
the e.Rows.Cells[0].Text returns NULL when i add a breakpoint and investigate, eventhough as you can clearly see in the image i posted that the values are not null