Pass values from MasterPage UserControl to child ASPX Page
- by Leekey
Hi,
Senario: Masterpage with a UserControl and a child ASPX page
In the past when using this senario I've used an Interface as a way to pass a value from the UserControl (embedded in a
master page) to the masterpage code behind then consume that value in the child aspx page.
My question is now that asp.net 4 have arrived is this still a good way to achieve this or is there another or perhaps better way to do it?
I've read somewhere that perhaps "delegates" is perhaps another route to take.
Any help much appreciated
Lk