Possible Duplicate:
expose and raise event of a child control in a usercontrol in c#
I have user control with one html input button.
On page I am consuming that user control. How can I expose onclient event of that input button inside user control so if that button client so i can call page function.
<uc2:UC_LayoutSelector ID="UC_LayoutSelector1" runat="server" OnClientLayoutSelect="UC_LayoutSelector1_MyPageFunction" />
<script type="text/javascript">
function UC_LayoutSelector1_MyPageFunction(e) {
alert(e);
}
</script>