All you need to do is give your user control an ID in the aspx. e.g.
<myTagTest:MarcTest id=myUC runat='server'>
</myTagTest:MarcTest>
Then in your aspx code, you can simply use the id to call public methods (and properties) defined by the ascx. e.g.
VB.NET
myUC.writeData(...)
C#
myUC.writeData(...)
Share with