<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ConfirmacaoFaltasDocenteComSumario.aspx.vb" Inherits="EnsinoBasico.ConfirmacaoFaltasDocenteComSumario" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>

    <script type="text/javascript">
        function GetRadWindow() {
            var oWindow = null;

            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;

            console.log(oWindow);

            return oWindow;
        }

        function returnToParent(id) {
            var oWnd = GetRadWindow();
            oWnd.close(id);
        }
    </script>

    <body style="width: inherit">    
        <form id="form1" runat="server">
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true" EnableScriptLocalization="true">
            </telerik:RadScriptManager>
    
            <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            </telerik:RadAjaxManager>
    
            <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
                <Localization Cancel="Não" Close="Fechar" Maximize="Maximizar" Minimize="Minimizar"
                    No="Não" Reload="Recarregar" Restore="Restaurar" Yes="Sim" OK = "Sim" />
            </telerik:RadWindowManager>
    
            <div>
                <center>
                    <p style="font:normal 13px 'Segoe UI',Arial,Verdana;">Já existe um sumário para esta aula. 
                        <br />
                        Deseja marcar falta?
                    </p> 
                </center>
                <br />
                <br />
                <center>
                    <asp:Button ID="btnMarcarFalta" Text="Marcar falta" runat="server" Width="220px" />
                </center>
            </div>
        </form>
    </body>

    <script type ="text/javascript">
        function confirmCallBackFn(arg) {
            var ajaxManager = $find("<%=RadAjaxManager1.ClientID%>");
            if (arg) {
                ajaxManager.ajaxRequest('ok');
            }
        }
    </script>
</html>