<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true" CodeBehind="Administrator.aspx.cs" Inherits="QuintoCaminoV2.Admin.Administrator" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="aspj" %>


<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="ContentPlaceHolder1">
    <div id="rootwizard" class="tabbable tabs-left">
	<ul>
	  	<li><a href="#tab1" data-toggle="tab">First</a></li>
		<li><a href="#tab2" data-toggle="tab">Second</a></li>
		<li><a href="#tab3" data-toggle="tab">Third</a></li>
		<li><a href="#tab4" data-toggle="tab">Forth</a></li>
		<li><a href="#tab5" data-toggle="tab">Fifth</a></li>
		<li><a href="#tab6" data-toggle="tab">Sixth</a></li>
		<li><a href="#tab7" data-toggle="tab">Seventh</a></li>
	</ul>
	<div class="tab-content">
	    <div class="tab-pane" id="tab1">
	      1
	    </div>
	    <div class="tab-pane" id="tab2">
	      2
	    </div>
		<div class="tab-pane" id="tab3">
			3
	    </div>
		<div class="tab-pane" id="tab4">
			4
	    </div>
		<div class="tab-pane" id="tab5">
			5
	    </div>
		<div class="tab-pane" id="tab6">
			6
	    </div>
		<div class="tab-pane" id="tab7">
			7
	    </div>
		<ul class="pager wizard">
			<li class="previous first" style="display:none;"><a href="#">First</a></li>
			<li class="previous"><a href="#">Previous</a></li>
			<li class="next last" style="display:none;"><a href="#">Last</a></li>
		  	<li class="next"><a href="#">Next</a></li>
		</ul>
	</div>	
</div>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
        <hgroup class="title">
            <h1>Administrar</h1>
            <h2>Modulos</h2>
        </hgroup>
            
         

        <aspj:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="2" >    

             <aspj:TabPanel ID="TabPanel11" runat="server" HeaderText="Usuarios">
                <HeaderTemplate>Usuarios</HeaderTemplate>
                <ContentTemplate>
                        <asp:GridView ID="grdUsers" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None"  Width="944px">
                            <AlternatingRowStyle BackColor="White" />
                            <Columns>
                                <asp:BoundField DataField="intUsuarioId" />
                                <asp:BoundField DataField="vchUsuario" HeaderText="Usuario" />
                                <asp:BoundField DataField="vchEmail" HeaderText="Email" />                                
                                <asp:BoundField DataField="vchTelefono" HeaderText="Telefono" />                                
                                <asp:BoundField DataField="vchMovil" HeaderText="Movil" />                                
                                <asp:CheckBoxField DataField="bitActivo" HeaderText="Activo" />
                                <asp:TemplateField ShowHeader="False">                              
                                    <ItemTemplate>
                                        <asp:ImageButton ID="imgBtnEditUsu" runat="server" CausesValidation="False"  CommandArgument='<%# Eval("intUsuarioId") %>'  CommandName='<%# Eval("vchUsuario") %>' ImageUrl="~/Images/edit.gif" OnCommand="imgBtnEditUsu_Command"  />
                                    </ItemTemplate>
                                    <ControlStyle Height="25px" Width="25px" />
                                    <ItemStyle Height="25px" Width="25px" />
                                </asp:TemplateField>
                                <asp:TemplateField ShowHeader="False">                              
                                    <ItemTemplate>
                                        <asp:ImageButton ID="imgBtnCurByUser" runat="server" CausesValidation="False"  CommandArgument='<%# Eval("intUsuarioId") %>'  CommandName='<%# Eval("vchUsuario") %>' ImageUrl="~/Images/Delete.png" OnCommand="imgBtnCurByUser_Command" />
                                    </ItemTemplate>
                                    <ControlStyle Height="25px" Width="25px" />
                                    <ItemStyle Height="25px" Width="25px" />
                                </asp:TemplateField>
                            </Columns>
                            <EditRowStyle BackColor="#2461BF" />
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                             <HeaderStyle BackColor="#7AC0DA" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BackColor="#EFF3FB" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <SortedAscendingCellStyle BackColor="#F5F7FB" />
                            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                            <SortedDescendingCellStyle BackColor="#E9EBEF" />
                            <SortedDescendingHeaderStyle BackColor="#4870BE" />
                        </asp:GridView>
               </ContentTemplate>
            </aspj:TabPanel>
        
            <aspj:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel2">
                <HeaderTemplate>
                   Charlas
                </HeaderTemplate>
                <ContentTemplate>
                    <asp:GridView ID="grdCharlas" runat="server" AutoGenerateColumns="False" Width="927px" CellPadding="4" ForeColor="#333333" GridLines="None" OnSelectedIndexChanging="grdCharlas_SelectedIndexChanging" OnRowDeleting="grdCharlas_RowDeleting" OnRowDataBound="grdCharlas_RowDataBound" >
                        <AlternatingRowStyle BackColor="White" />
                        <Columns>
                            <asp:BoundField DataField="intCharlaId" />
                            <asp:BoundField DataField="vchTitulo" HeaderText="Titulo" />
                            <asp:BoundField DataField="vchFecha" DataFormatString="{0:dd-M-yyyy}" HeaderText="Fecha curso" />
                            <asp:BoundField DataField="vchDescripcionCorta" HeaderText="Descripción" />
                            <asp:CheckBoxField DataField="bitActivo" HeaderText="Activo" />                                            
                            <asp:CommandField EditImageUrl="~/Images/edit.gif" ShowSelectButton="True" SelectImageUrl="../Images/icoEdit.png" SelectText="Editar"  ButtonType="Image" SortExpression="Editar" CancelImageUrl="../Images/edit.gif" >                       
                                            
                            <ControlStyle Height="25px" Width="25px" />
                            </asp:CommandField>
                                            
                            <asp:CommandField ShowDeleteButton="True"   DeleteImageUrl="../Images/icoDelete.png" ButtonType="Image" >
                                            
                            <ControlStyle Height="25px" Width="25px" />
                            </asp:CommandField>
                                            
                        </Columns>
                        <FooterStyle BackColor="#7AC0DA" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#7AC0DA" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                        <SortedAscendingCellStyle BackColor="#FDF5AC" />
                        <SortedAscendingHeaderStyle BackColor="#4D0000" />
                        <SortedDescendingCellStyle BackColor="#FCF6C0" />
                        <SortedDescendingHeaderStyle BackColor="#820000" />
                    </asp:GridView>
                    <asp:Button ID="btnAddCharla" runat="server" Text="Agregar charla" OnClick="btnAddCharla_Click" />
                    <br />
                     <aspj:ModalPopupExtender ID="ModalPopupExtender1" runat="server" BackgroundCssClass="FondoAplicacion" TargetControlID="Button1"
                        PopupControlID="pnlSeleccionarDatos" 
                        OkControlID="Button1" 
                        CancelControlID="btnCancelar" DynamicServicePath="" Enabled="True">

                        </aspj:ModalPopupExtender>

                </ContentTemplate>
            </aspj:TabPanel>           
            <aspj:TabPanel ID="TabPanel1" runat="server" HeaderText="TabPanel1">
                <HeaderTemplate>
                    Cursos
                </HeaderTemplate>
                <ContentTemplate>
                    <asp:GridView ID="grdCursos" runat="server" Width="800px" AutoGenerateColumns="False" OnRowDeleting="grdCursos_RowDeleting" OnSelectedIndexChanging="grdCursos_SelectedIndexChanging" OnRowDataBound="grdCursos_RowDataBound1" OnRowEditing="grdCursos_RowEditing">
                        <AlternatingRowStyle BackColor="White" />
                        <Columns>
                            <asp:BoundField DataField="intCursoId" />
                            <asp:BoundField DataField="vchTitulo" HeaderText="Titulo" />
                            <asp:BoundField DataField="vchDescripcionCorta"  HeaderText="Descripción corta" />
                            <asp:BoundField DataField="decCosto" HeaderText="Costo" />
                            <asp:CheckBoxField DataField="bitActivo" HeaderText="Activo" />
                             <asp:CommandField EditImageUrl="~/Images/edit.gif" ShowSelectButton="True" SelectImageUrl="../Images/icoEdit.png" SelectText="Editar"  ButtonType="Image" SortExpression="Editar" CancelImageUrl="../Images/edit.gif" >                                                                   
                            <ControlStyle Height="25px" Width="25px" />
                            <ItemStyle Height="25px" Width="25px" />
                            </asp:CommandField>
                            <asp:CommandField ShowDeleteButton="True"   DeleteImageUrl="../Images/icoDelete.png" ButtonType="Image" >

                        
                            <ControlStyle Height="25px" Width="25px" />
                            <ItemStyle Height="25px" Width="25px" />
                            </asp:CommandField>

                        
                            <asp:TemplateField ShowHeader="False">                              
                                <ItemTemplate>
                                    <asp:ImageButton ID="ImageButton1" runat="server" CausesValidation="False"  CommandArgument='<%# Eval("intCursoId") %>'  CommandName='<%# Eval("vchTitulo") %>' ImageUrl="~/Images/bullet.png" OnCommand="ImageButton1_Command" />
                                </ItemTemplate>
                                <ControlStyle Height="25px" Width="25px" />
                                <ItemStyle Height="25px" Width="25px" />
                            </asp:TemplateField>

                        
                        </Columns>
                        <FooterStyle BackColor="#7AC0DA" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#7AC0DA" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                        <SortedAscendingCellStyle BackColor="#FDF5AC" />
                        <SortedAscendingHeaderStyle BackColor="#4D0000" />
                        <SortedDescendingCellStyle BackColor="#FCF6C0" />
                        <SortedDescendingHeaderStyle BackColor="#820000" />
                    </asp:GridView>                
                    <br />
                    <asp:Button ID="btnAddCrs" runat="server" Text="Agregar curso" OnClick="btnAddCrs_Click" />
                          <br />


                      <asp:HiddenField ID="HiddenField3" runat="server" />


                      <div style="padding: 5px; margin: 10px; width:818px; background-color:#C7D1D6; border-spacing: 5px;">
                        <div>
                            <h3> LISTA DE CLASES </h3>
                            <h3><asp:Label ID="lblCurso" runat="server" Text="Label"></asp:Label></h3>
                            <ol class="round">
                                <li>
                                    <asp:GridView ID="grdClases" runat="server" Width="715px" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None">
                                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                        <Columns>
                                            <asp:BoundField DataField="intClaseID" />
                                            <asp:BoundField DataField="vchTituloClase" HeaderText="Clase" />
                                            <asp:BoundField DataField="bitActivo" HeaderText="Activo" />
                                            <asp:BoundField DataField="vchURLClase" HeaderText="Video" />
                                           <asp:CommandField ShowDeleteButton="True"   DeleteImageUrl="../Images/icoDelete.png" ButtonType="Image" >                       
                                            <ControlStyle Height="25px" Width="25px" />
                                            <ItemStyle Height="25px" Width="25px" />
                                            </asp:CommandField>
                                        </Columns>
                                        <EditRowStyle BackColor="#999999" />
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                                    </asp:GridView>
                                    <br />
                                    <asp:Button ID="btnAddCls" runat="server" OnClick="btnAddCls_Click" Text="Agregar clase" />
                                </li>
                             </ol>
                        </div>
                    <div>

                     <aspj:ModalPopupExtender ID="ModalPopupExtender2" runat="server" BackgroundCssClass="FondoAplicacion" TargetControlID="btnOpenDial"
                        PopupControlID="PanelCursos" 
                        OkControlID="btnOpenDial" 
                        CancelControlID="btnCancelarCr" DynamicServicePath="" Enabled="True">

                        </aspj:ModalPopupExtender>

                        <aspj:ModalPopupExtender ID="ModalPopupExtender3" runat="server" BackgroundCssClass="FondoAplicacion" TargetControlID="btnOpenDialCL"
                        PopupControlID="panelClases" 
                        OkControlID="btnOpenDialCL" 
                        CancelControlID="btnCancelarCL" DynamicServicePath="" Enabled="True">

                        </aspj:ModalPopupExtender>

                         <aspj:ModalPopupExtender ID="ModalPopupExtender4" runat="server" BackgroundCssClass="FondoAplicacion" TargetControlID="btnOpendialogUsu"
                        PopupControlID="panelUsuario" 
                        OkControlID="btnOpendialogUsu" 
                        CancelControlID="btnCancelaUsu" DynamicServicePath="" Enabled="True">

                        </aspj:ModalPopupExtender>

                         <aspj:ModalPopupExtender ID="ModalPopupExtender5" runat="server" BackgroundCssClass="FondoAplicacion" TargetControlID="btnOpenCurUsu"
                        PopupControlID="panelCurUsu" 
                        OkControlID="btnOpenCurUsu" 
                        CancelControlID="btnCancelCurUsu" DynamicServicePath="" Enabled="True">

                        </aspj:ModalPopupExtender>
                </ContentTemplate>
            </aspj:TabPanel>          
             </aspj:TabContainer>   



        <asp:Panel ID="pnlSeleccionarDatos" runat="server" CssClass="CajaDialogo">        
        <div class="panel panel-primary">
            <div class="panel-heading">
                <asp:HiddenField ID="hidId" runat="server" />
             <h3 class="panel-title">Agregar charla</h3>
            </div>
         <div class="panel-body">
            <div>
                <table>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label5" runat="server" Text="Titulo:" />
                        </td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtTitulo" runat="server"></asp:TextBox>                   
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label6" runat="server" Text="Fecha de charla" />
                            :</td>
                        <td style="text-align: left">                    
                            <asp:TextBox ID="txtFcharla" runat="server"></asp:TextBox>
                            <aspj:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtFcharla" PopupButtonID="bntFcharla"></aspj:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label8" runat="server" Text="Descripción corta" />
                            :</td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtDescCorta" runat="server" TextMode="MultiLine" Height="61px" Width="389px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label2" runat="server" Text="Url Video:" />
                        </td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtUrl" runat="server"></asp:TextBox>                   
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label1" runat="server" Text="Activo" />
                            :</td>
                        <td style="text-align: left">
                            <asp:CheckBox ID="chkActivo" runat="server" />
                        </td>
                    </tr>
                </table>
            </div>
            <div>
                <asp:Button ID="btnAceptar" runat="server" Text="Guardar" OnClick="btnAceptar_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" />
                <asp:Button ID="Button1" runat="server" Height="1px" Text="Button" Width="1px" />
            </div>
        </div>
    </div>
    </asp:Panel>





     <asp:Panel ID="PanelCursos" runat="server" CssClass="CajaDialogo">
       <div class="panel panel-primary">
            <div class="panel-heading">
                <asp:HiddenField ID="hidId0" runat="server" />
                <h3 class="panel-title">Agregar curso</h3>
            </div>
        <div class="panel-body">
            <div>
                <table>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label3" runat="server" Text="Titulo curso:" />
                        </td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtTitCurso" runat="server"></asp:TextBox>                   
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label4" runat="server" Text="Descripcion corta:" />
                            :</td>
                        <td style="text-align: left">                    
                            <asp:TextBox ID="txtDesCurCorta" runat="server"></asp:TextBox>                    
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label7" runat="server" Text="Descripción:" />
                            :</td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtDesc" runat="server" TextMode="MultiLine" Height="61px" Width="389px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label9" runat="server" Text="Costo" />
                        </td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtCosto" runat="server"></asp:TextBox>                   
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label10" runat="server" Text="Activo" />
                            :</td>
                        <td style="text-align: left">
                            <asp:CheckBox ID="chkCursoActivo" runat="server" />
                        </td>
                    </tr>
                </table>
            </div>
            <div>
                <asp:Button ID="btnAceptarCr" runat="server" Text="Aceptar" OnClick="btnAceptarCr_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="btnCancelarCr" runat="server" Text="Cancelar" />
                <asp:Button ID="btnOpenDial" runat="server" Height="1px" Text="Button" Width="1px" />
            </div>
        </div>
    </div>
    </asp:Panel>



    <asp:Panel ID="panelClases" runat="server" CssClass="CajaDialogo">
       <div class="panel panel-primary">
            <div class="panel-heading">
                <asp:HiddenField ID="HiddenField1" runat="server" />
                <asp:HiddenField ID="HiddenField2" runat="server" />
            <h3 class="panel-title">Agregar clase</h3>
            </div>         
       <div class="panel-body">
        <div>
                <table>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label11" runat="server" Text="Titulo curso:" />
                        </td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtTitClase" runat="server"></asp:TextBox>                   
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label13" runat="server" Text="Descripción:" />
                            </td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtDescClase" runat="server" TextMode="MultiLine" Height="61px" Width="389px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label14" runat="server" Text="URL video:" />
                        </td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtURLclase" runat="server"></asp:TextBox>                   
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1" style="text-align: left">
                            <asp:Label ID="Label15" runat="server" Text="Activo" />
                            :</td>
                        <td style="text-align: left">
                            <asp:CheckBox ID="chkActClase" runat="server" />
                        </td>
                    </tr>
                </table>
            </div>
            <div>
                <asp:Button ID="btnAceptarCL" runat="server" Text="Aceptar" OnClick="btnAceptarCL_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="btnCancelarCL" runat="server" Text="Cancelar" />
                <asp:Button ID="btnOpenDialcl" runat="server" Height="1px" Text="Button" Width="1px" />
            </div>
        </div>
    </div>
    </asp:Panel>


    <asp:Panel ID="panelUsuario" runat="server" CssClass="CajaDialogo">
      <div class="panel panel-primary">
            <div class="panel-heading">
                <asp:HiddenField ID="HiddenField4" runat="server" />
                <asp:HiddenField ID="HiddenField5" runat="server" />
                 <h3 class="panel-title">Editar Usuarios</h3>
            </div>  
         <div class="panel-body">  
                <div>
                    <table>
                        <tr>
                            <td class="auto-style1" style="text-align: left">
                                <asp:Label ID="Label12" runat="server" Text="Usuario:" />
                            </td>
                            <td style="text-align: left" class="auto-style2">
                                <asp:TextBox ID="txtUsuario" runat="server" CssClass="lists"></asp:TextBox>                   
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style1" style="text-align: left">
                                <asp:Label ID="Label16" runat="server" Text="Email:" />
                                </td>
                            <td style="text-align: left" class="auto-style2">
                                <asp:TextBox ID="txtEmail" runat="server" Height="16px" Width="142px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style1" style="text-align: left">
                                <asp:Label ID="Label17" runat="server" Text="Contraseña" />
                            </td>
                            <td style="text-align: left" class="auto-style2">
                                <asp:TextBox ID="txtContrasena" runat="server"></asp:TextBox>                   
                            </td>
                        </tr>
                         <tr>
                            <td class="auto-style1" style="text-align: left">
                                <asp:Label ID="Label19" runat="server" Text="Telefono" />
                            </td>
                            <td style="text-align: left" class="auto-style2">
                                <asp:TextBox ID="TxtTelefono" runat="server"></asp:TextBox>                   
                            </td>
                        </tr>
                         <tr>
                            <td class="auto-style1" style="text-align: left">
                                <asp:Label ID="Label20" runat="server" Text="Movil" />
                            </td>
                            <td style="text-align: left" class="auto-style2">
                                <asp:TextBox ID="txtMovil" runat="server"></asp:TextBox>                   
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style1" style="text-align: left">
                                <asp:Label ID="Label18" runat="server" Text="Activo" />
                                :</td>
                            <td style="text-align: left" class="auto-style2">
                                <asp:CheckBox ID="chkUserActivo" runat="server" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div>
                    <asp:Button ID="btnAceptUsu" runat="server" Text="Aceptar" OnClick="btnAceptUsu_Click" />
                    &nbsp;&nbsp;
                    <asp:Button ID="btnCancelaUsu" runat="server" Text="Cancelar" />
                    <asp:Button ID="btnOpendialogUsu" runat="server" Height=".1px" Text="Button" Width=".1px" />
                </div>
            </div>
        </div>
    </asp:Panel>

     <asp:Panel ID="panelCurUsu" runat="server" CssClass="CajaDialogo">
       <div class="panel panel-primary">
            <div class="panel-heading">
                <asp:HiddenField ID="HiddenField6" runat="server" />
                <asp:HiddenField ID="HiddenField7" runat="server" />
               <h3 class="panel-title">Cursos por usuario</h3>
            </div>  
        <div class="panel-body">  
            <div>
                <table style="width:250px; height:200px;">
                    <tr>
                        <td> 
                            <asp:ListBox ID="ListBox1" runat="server" Height="108px" Width="240px"></asp:ListBox>
                        </td>
                        <td>                        
                            <asp:LinkButton ID="LinkButton1"  Text="Agregar >>" runat="server" OnClick="LinkButton1_Click" > </asp:LinkButton>
                            <br />
                            <br />
                            <asp:LinkButton ID="LinkButton2"  Text="Quitar <<" runat="server" OnClick="LinkButton2_Click" > </asp:LinkButton>
                        </td>
                        <td class="auto-style3">
                            <asp:ListBox ID="ListBox2" runat="server" Height="108px" Width="240px"></asp:ListBox>
                        </td>
                    </tr>
                </table>
                <br />
          
            </div>
            <div>
                <asp:Button ID="btnAcepCurUsu" runat="server" Text="Aceptar" OnClick="btnAceptUsu_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="btnCancelCurUsu" runat="server" Text="Cancelar" />
                <asp:Button ID="btnOpenCurUsu" runat="server" Height=".1px" Text="Button" Width=".1px" />
            </div>
        </div>
    </div>
    </asp:Panel>



</ContentTemplate>
</asp:UpdatePanel>        

</asp:Content>
