I need to show/hide a reusable modal popup that it is in a UserControlWeb (ascx).
In my ASPX web, I defined the UC:
<%@ Register TagPrefix="uc" TagName="uc1" Src="~/Controls/modalpopup.ascx" %>
<uc:uc1 ID="ModalPopup1" runat="server" />
I can show/hide the modalpopup with javascript:
$find('MBehavior').show();
$find('MBehavior').hide();
But, I need to do from behind code of my ASPX web.
It is posible?