mammal Posted May 21, 2008 Report Share Posted May 21, 2008 using the web forms designer, I have attempted to introduce a 3rd group of detailed data (Region-Country-City). Following the same logic as the previous child grid (which works!), i have identified the dataparameterfield for the 3rd child grid and associated the grid with a sqldatasource object, which points to a stored proc that accepts one param (int). When running the form, drilling to the third level invokes an error: Could not find control 'Grid2' in controlParameter 'CountryID' Can you shine a light on this.? Thanks Quote Link to comment Share on other sites More sharing options...
StephenP Posted May 22, 2008 Report Share Posted May 22, 2008 Hi, could you do me a big favor and paste the page markup? This will help me better diagnose the problem. Quote Link to comment Share on other sites More sharing options...
mammal Posted May 23, 2008 Author Report Share Posted May 23, 2008 managed to resolve....all my sqldatasources had resided out with the gridfx mark-up. this worked fine for a 2 level hierarchy, but when i introduced subsequent levels the associated sqldatasources had to be embedded within the nested grids. cheers Quote Link to comment Share on other sites More sharing options...
StephenP Posted May 23, 2008 Report Share Posted May 23, 2008 I'm glad you found a solution. I will see why the data source controls have to reside within the grid's template after 2 levels. It shouldn't be that way. Thanks again! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.