I have an Address template(web user control) which holds the fields of the Address table. The Address template is embedded in the School Insert Page. I want to insert a new school together with its address(which means I have to insert a record into the address table). Can you let me know how I can pass the newly generated addressId to update school table?
Also, how can I associate the Address.cs in the App_Code with the Address template? I want it to be able to scaffold columns which needs to be hidden from user in the address table. When I click on Insert School, the Address template shows in "insert" mode, I just need to link the two together.
Thanks for your help!
View Complete Post