Link to home
Start Free TrialLog in
Avatar of dlsUser
dlsUser

asked on

Calling user control method in another user control placed in same host page

Hi

I have 2 user controls control1.ascx and control2.ascx and have a host page where i have placed both the user controls.

Now when some action finished in user control 2 by a button click in that, i need to trigger a public event or any button click event in user control 1 to make refresh of the usercontrol 1.

Please help on this to get quicker solution.

Thanks
Avatar of joriszwaenepoel
joriszwaenepoel
Flag of Belgium image

Something like this?

Directcast(Me.Page.FindControl("usercontrol1"), UserControl1).TheMethod()
ASKER CERTIFIED SOLUTION
Avatar of Stephan
Stephan
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial