I'm working on an update of my website - building a customer portal. One feature will have a "Master" list of sites in a gridview with a "Details" list of sites in a Formview.
I have created both user controls and placed in a page. I've left the "SiteID" (DataKey of the Master gridview) parameter of the Details Formview Datasource blank - because I want it to bind to the DataKey of the Master Gridview when the row is selected in the codebehind.
I've been searching all day for an answer to this - everything I find is kind of complex and written in C#. I'm a VB.Net guy and reverse engineering custom C# classes to VB gives me headaches.
Can anyone point me to a place where I can find the answer? (I'll even buy a book if I can find the right one). I know an answer to this would be simply putting everything in the same page and scrapping the custom control idea - but I really want to keep the site cleaner.
There has to be a way to make an event on Control A Send an event and value to Control B to databind Control B...right?