Looking for some direction here. Thanks in advance for any assistance.
I have a scenario where I have a FormView positioned inside another FormView. Each FormView is connected to a strongly typed ObjectDataSource (DataObjectName). The parent FormView is a single record in Read Only mode. The child FormView is defaulted to Insert Mode. Can someone tell me how to get the Key Field (and even some of the other fields) from the parent FormView to use during Insert in the Child FormView? I've tried using a combination of the different events (i.e. OnDataBind, OnInserting, etc.) on the child FormView. This seems like it should be real simple but I'm just not getting it.
My structure looks as follows:<asp:objectdatasource id="vendor" dataobjecttypename="Vendor"... />
<asp:objectdatasource id="inquiry"... dataobjecttypename="Inquiry" ... />
<asp:FormView datasourceid="vendor" ...>
<asp:FormView datasourceid="inquiry" ...></asp:FormView>
View Complete Post