Author: Benton | Posted on: 4/15/2009 12:51:25 PM | Views : 412

Hi there,
In a webform I have a FormView. The ItemTemplate contains two users control, UC1 and UC2.  When certain event fires in UC1´s code behind, I need to call a public method in UC2. So I think from UC1´s event code I need to find the container FormView first, then find the ItemTemplate and finally find UC2 inside it, and then call UC2´s method.
Is that the way to go? I would appreciate a lot some ideas/suggestions/C# examples on how to do this.
Thanks in advance.

 
 
...

Go to the complete details ...