Calling a sub in a user control

  • Thread starter Thread starter Murphy
  • Start date Start date
M

Murphy

Can a user control call a sub procedure in another user control ?

For example I have an aspx page with 2 user controls, header.ascx and
body.ascx I would like to be able to call a sub procedure that updates an
image in header.ascx.

Thanks

Murphy
 
Excellent, now the million dollar question...

What is the syntax to call this public sub ?

Thanks

Murphy
 
From your page, the syntax would be something like this:
MyControl.MySub(MyParameters)
 
Back
Top