I'm using a databound grid view (below) to edit with -when I click the edit button I see the Edit Item Templates all correctly populated, but when I press the Update button - I am told "cannot find control DDLCategory Edit in Control Parameter Edit Category ID - I have tried changing the control ID to ct100$Main Content$Grid Viewgory ID but no change and now I'm thinking I need to put a findcontrol in the code behind - but i'm not sure how to access the Edit state of the gridview to say something like: protected void Grid View1_Row Data Bound(Obj "The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years.I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing.For more information on the upcoming change, we invite you to read our blog post.This tutorial series builds on the Contoso University web application that is created by the Getting Started with the Entity Framework 4.0 tutorial series.When I set up my databound grid I hadn't called up the key identity so as soon as I started to call up row related changes of course I was running into the problems above.The Contoso University sample web application demonstrates how to create ASP.
The office assignment is a separate entity set that you access through a navigation property.
Ok but presumably I still have to resolve the problem of locating my editable controls within the Grid View before I do this, or do I need to do this first...
I'm confused about the ordering of events CAn you show me where tis fits in to the code I had been working on: protected void Grid View1_Row Data Bound(obj no same as before my grid changes when I click edit and I see my dropdowns etc populated with the original selections - I can change all my editable fields but when I click on Update I still get the error cannot find control DDLCategory Edit in Control Parameter Edit Category ID - my Update parameters below in case they are at fault: My apologies for such a long delay, I think I've led us on a bit of a wild goose chase.
You can link master data to detail data in markup or in code.
In this part of the tutorial, you'll use both methods.