Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
199 views
Hi guys.
Im developing a dnn module and Im trying to update a runat div using the rad ajax manager.
The thing is the module keeps throwing the following error when I add the div to the controls that need to be updated via ajax call:
This is the code:
<%@ Control Language="C#" Inherits="OnData.WebSite.Modules.TrabajaConNosotros.ViewTrabajaConNosotros" 
    CodeFile="ViewTrabajaConNosotros.ascx.cs" AutoEventWireup="true" %> 
<%@ Register Src="../../controls/Modal/ModalMessage.ascx" TagName="ModalMessage" 
    TagPrefix="uc1" %> 
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<script type="text/javascript"
    function showLanguageForm(){ 
        document.getElementById('<%= frmIdioma.ClientID %>').style.display = ''
    } 
     
    function showFormalAcademicForm(){ 
        document.getElementById('<%= frmFAcademic.ClientID %>').style.display = ''
    } 
     
    function showCertificationForm(){ 
        document.getElementById('<%= frmCertificacion.ClientID %>').style.display = ''
    } 
     
    function showAcademicaGeneralForm(){ 
        document.getElementById('<%= frmAcademicaGeneral.ClientID %>').style.display = ''
    } 
     
    function checkLength(control, lenght, targetdiv){ 
        var textbox = document.getElementById(control); 
        var span = document.getElementById(targetdiv); 
        numeroCaracteres = textbox.value.length; 
        span.innerHTML = 'Te quedan ' + (lenght - numeroCaracteres) + ' caracteres'; 
        if(numeroCaracteres > lenght) 
        { 
            span.innerHTML = 'Te pasaste por '  + (numeroCaracteres - lenght)+ ' caracteres'; 
        } 
    } 
     
     
</script> 
 
<telerik:RadTabStrip ID="tbsStrip" runat="server" Skin="Forest" MultiPageID="rdMPControles" 
    SelectedIndex="0"
    <Tabs> 
        <telerik:RadTab Text="Informaci&#243;n General" runat="server" Selected="True"
        </telerik:RadTab> 
        <telerik:RadTab Text="Informaci&#243;n Acad&#233;mica Formal" runat="server"
        </telerik:RadTab> 
        <telerik:RadTab Text="Informaci&#243;n Acad&#233;mica General" runat="server"
        </telerik:RadTab> 
        <telerik:RadTab Text="Certificaciones" runat="server"
        </telerik:RadTab> 
        <telerik:RadTab Text="Informaci&#243;n de Idiomas" runat="server"
        </telerik:RadTab> 
    </Tabs> 
</telerik:RadTabStrip> 
<telerik:RadMultiPage ID="rdMPControles" runat="server" SelectedIndex="0"
    <telerik:RadPageView ID="rpvInfoGeneral" runat="server" Selected="true"
        <div style="width: 450px; float: left;" runat="server" id="frmGeneral"
            <br /> 
            <h1> 
                Por favor complete todos los campos 
            </h1> 
            <br /> 
            <div id="form_container"
                <table width="450" border="0"
                    <tr> 
                        <td width="129"
                            <p> 
                                C&eacute;dula 
                            </p> 
                        </td> 
                        <td width="311"
                            <asp:TextBox ID="txtUsuario" runat="server" MaxLength="100" CssClass="input" /> 
                        </td> 
                        <td width="311"
                            <asp:Button ID="btnVerificar" runat="server" CssClass="verificar" Text="Ingresar" 
                                OnClick="btnVerificar_Click" ValidationGroup="vgLogin" /> 
                            <asp:RegularExpressionValidator ID="revCedulaLogin" runat="server" ControlToValidate="txtUsuario" 
                                Display="Dynamic" ErrorMessage="Verifique que su c&eacute;dula se encuentre bien escrita y sea mayor a 6 caracteres" 
                                Font-Size="10px" ForeColor="YellowGreen" ToolTip="Verifique que su c&eacute;dula se encuentre bien escrita y sea mayor a 6 caracteres" 
                                ValidationExpression="[0-9]{6,}" ValidationGroup="vgLogin">Verifique que su c&eacute;dula se encuentre bien escrita y sea mayor a 6 caracteres</asp:RegularExpressionValidator> 
                            <asp:RegularExpressionValidator ID="revCedulaNew" runat="server" ControlToValidate="txtUsuario" 
                                Display="Dynamic" ErrorMessage="Verifique que su c&eacute;dula se encuentre bien escrita y sea mayor a 6 caracteres" 
                                Font-Size="10px" ForeColor="YellowGreen" ToolTip="Verifique que su c&eacute;dula se encuentre bien escrita y sea mayor a 6 caracteres" 
                                ValidationExpression="[0-9]{6,}" ValidationGroup="vgNewUser">Verifique que su c&eacute;dula se encuentre bien escrita y sea mayor a 6 caracteres</asp:RegularExpressionValidator><asp:RequiredFieldValidator 
                                    ID="rfvCedulaLogin" runat="server" ControlToValidate="txtUsuario" Display="Dynamic" 
                                    ErrorMessage="Debes llenar este campo" ForeColor="YellowGreen" ToolTip="Debes llenar este campo" 
                                    ValidationGroup="vgLogin" Font-Size="10px">Debes llenar este campo</asp:RequiredFieldValidator> 
                            <asp:RequiredFieldValidator ID="rfvCedulaNew" runat="server" ControlToValidate="txtUsuario" 
                                Display="Dynamic" ErrorMessage="Debes llenar este campo" ForeColor="YellowGreen" 
                                ToolTip="Debes llenar este campo" ValidationGroup="vgNewUser" Font-Size="10px">Debes llenar este campo</asp:RequiredFieldValidator></td
                    </tr> 
                    <tr> 
                        <td> 
                            <p> 
                                Contrase&ntilde;a</p> 
                        </td> 
                        <td> 
                            <asp:TextBox runat="server" CssClass="input" TextMode="Password" MaxLength="15" ID="txtPwd" /></td
                        <td> 
                            <asp:RequiredFieldValidator ID="rfvContrasenaLogin" runat="server" ControlToValidate="txtPwd" 
                                Display="Dynamic" ErrorMessage="Debes llenar este campo" ForeColor="YellowGreen" 
                                ToolTip="Debes llenar este campo" ValidationGroup="vgLogin" Font-Size="10px">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                    ID="revPwdLogin" runat="server" ControlToValidate="txtPwd" Display="Dynamic" 
                                    ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos. Verifique que la contrase&ntilde;a sea mayor a 8 caracteres" 
                                    ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos. Verifique que la contrase&ntilde;a sea mayor a 8 caracteres" 
                                    ValidationExpression="([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;){8,}" 
                                    ValidationGroup="vgLogin" Font-Size="10px">Este campo contiene caracteres  inv&aacute;lidos. Verifique que la contrase&ntilde;a sea mayor a 8 caracteres</asp:RegularExpressionValidator></td
                    </tr> 
                    <tr> 
                        <td> 
                            <p> 
                                Nombre para mostrar:</p> 
                        </td> 
                        <td> 
                            <asp:TextBox runat="server" ID="txtPila" MaxLength="128" CssClass="input" /></td
                        <td> 
                            <asp:RequiredFieldValidator ID="rfvPila" runat="server" ControlToValidate="txtPila" 
                                Display="Dynamic" ErrorMessage="Debes llenar este campo" ForeColor="YellowGreen" 
                                ToolTip="Debes llenar este campo" ValidationGroup="vgNewUser" Font-Size="10px">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                    ID="revPila" runat="server" ControlToValidate="txtPila" Display="Dynamic" ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." 
                                    ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos." 
                                    ValidationGroup="vgNewUser" ValidationExpression="([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;|-|_)+(\s([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;)+)*" 
                                    Font-Size="10px">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator></td
                    </tr> 
                    <tr> 
                        <td> 
                            <p> 
                                Nombres</p> 
                        </td> 
                        <td> 
                            <asp:TextBox runat="server" ID="txtName" MaxLength="50" CssClass="input" /></td
                        <td> 
                            <asp:RequiredFieldValidator ID="rfvNombres" runat="server" ControlToValidate="txtName" 
                                Display="Dynamic" ErrorMessage="Debes llenar este campo" ForeColor="YellowGreen" 
                                ValidationGroup="vgNewUser" Font-Size="10px">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                    ID="revNombre" runat="server" ControlToValidate="txtName" Display="Dynamic" ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." 
                                    ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos." 
                                    ValidationGroup="vgNewUser" Font-Size="10px" ValidationExpression="([a-zA-Z]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;|-|_)+(\s([a-zA-Z]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;)+)*">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator></td
                    </tr> 
                    <tr> 
                        <td> 
                            <p> 
                                Apellidos</p> 
                        </td> 
                        <td> 
                            <asp:TextBox runat="server" ID="txtLasName" MaxLength="50" CssClass="input" /></td
                        <td> 
                            <asp:RequiredFieldValidator ID="rfvApellidos" runat="server" ControlToValidate="txtLasName" 
                                Display="Dynamic" ErrorMessage="Debes llenar este campo" ForeColor="YellowGreen" 
                                ValidationGroup="vgNewUser" Font-Size="10px">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                    ID="revLastName" runat="server" ControlToValidate="txtLasName" Display="Dynamic" 
                                    ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." ForeColor="YellowGreen" 
                                    ToolTip="Este campo contiene caracteres  inv&aacute;lidos." ValidationGroup="vgNewUser" 
                                    Font-Size="10px" ValidationExpression="([a-zA-Z]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;|-|_)+(\s([a-zA-Z]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;)+)*">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator></td
                    </tr> 
                    <tr> 
                        <td> 
                            <p> 
                                Email</p> 
                        </td> 
                        <td> 
                            <asp:TextBox runat="server" ID="txtEmail" MaxLength="256" CssClass="input" /> 
                        </td> 
                        <td> 
                            <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail" 
                                Display="Dynamic" ErrorMessage="Debes llenar este campo" ForeColor="YellowGreen" 
                                ValidationGroup="vgNewUser" Font-Size="10px">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                    ID="revEmail" runat="server" ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." 
                                    ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos." 
                                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="vgNewUser" 
                                    Font-Size="10px">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator></td
                    </tr> 
                    <tr> 
                        <td> 
                        </td> 
                        <td> 
                            <asp:Button ID="btnLimpiar" runat="server" CssClass="verificar" Text="Limpiar" OnClick="btnLimpiar_Click" /> 
                            <asp:Button ID="btnEnviar" runat="server" CssClass="verificar" Text="Enviar" CommandName="Add" 
                                OnClick="btnEnviar_Click" ValidationGroup="vgNewUser" /> 
                        </td> 
                        <td> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td colspan="3"
                        </td> 
                    </tr> 
                </table> 
            </div> 
        </div> 
    </telerik:RadPageView> 
    <telerik:RadPageView ID="rpvInfoAcademicaFormal" runat="server"
        <telerik:RadGrid ID="rdGridInformacionAcademicaFormal" runat="server" AllowPaging="True" 
            GridLines="None" Skin="Forest" DataSourceID="odsnformacionAcademicaFormal" AutoGenerateColumns="False" 
            OnRowDrop="rdGridInformacionAcademicaFormal_RowDrop"
            <HeaderContextMenu EnableTheming="True" Skin="Forest"
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
            </HeaderContextMenu> 
            <MasterTableView DataSourceID="odsnformacionAcademicaFormal" DataKeyNames="Id"
                <NoRecordsTemplate> 
                    No haz ingresado informaci&oacute;n de este tipo en el sistema. 
                </NoRecordsTemplate> 
                <RowIndicatorColumn> 
                    <HeaderStyle Width="20px" /> 
                </RowIndicatorColumn> 
                <ExpandCollapseColumn> 
                    <HeaderStyle Width="20px" /> 
                </ExpandCollapseColumn> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="Degree" HeaderText="T&#237;tulo Obtenido" SortExpression="Degree" 
                        UniqueName="Course"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="College" HeaderText="Universidad" SortExpression="College" 
                        UniqueName="College"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="StartedDate" DataType="System.DateTime" HeaderText="Fecha de Inicio" 
                        SortExpression="StartedDate" UniqueName="StartedDate"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="FinalizedDate" DataType="System.DateTime" HeaderText="Fecha de Finalizaci&#243;n" 
                        SortExpression="FinalizedDate" UniqueName="FinalizedDate" EmptyDataText="A&#250;n sin finalizar"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="CreationDate" DataType="System.DateTime" HeaderText="&#218;ltima Actualizaci&#243;n" 
                        SortExpression="CreationDate" UniqueName="CreationDate"
                    </telerik:GridBoundColumn> 
                </Columns> 
                <PagerStyle NextPageText="Siguiente" PrevPageText="Anterior" /> 
            </MasterTableView> 
            <FilterMenu EnableTheming="True" Skin="Forest"
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
            </FilterMenu> 
            <ClientSettings AllowRowsDragDrop="True"
                <Selecting AllowRowSelect="true" /> 
                <ClientMessages PagerTooltipFormatString="P&#225;gina &lt;b&gt;{0}&lt;/b&gt; de &lt;b&gt;{1}&lt;/b&gt; pages" /> 
            </ClientSettings> 
        </telerik:RadGrid> 
        <asp:ObjectDataSource ID="odsnformacionAcademicaFormal" runat="server" SelectMethod="GetProfessionalAcademicBackgroundInfos" 
            TypeName="OnData.WebSite.Modules.TrabajaConNosotros.TrabajaConNosotrosController"
            <SelectParameters> 
                <asp:Parameter Name="userId" Type="Int32" /> 
            </SelectParameters> 
        </asp:ObjectDataSource> 
        <asp:ImageButton ID="imbDeleteAcademicaFormal" runat="server" ImageUrl="~/Portals/0/images/trash_can.png" 
            AlternateText="Arrastre una fila para eliminar" ToolTip="Arrastre una fila para eliminar" /><asp:ImageButton 
                ID="imbEditAcademicaFormal" runat="server" ImageUrl="~/Portals/0/images/edit.png" 
                AlternateText="Arrastre una fila para editar" ToolTip="Arrastre una fila para editar" /><br /> 
        <span class="small" style="font-size: 11px;">Para agregar un nuevo t&iacute;tulo, haz 
            click <href="javascript:showFormalAcademicForm();">aqu&iacute;</a>.<br /> 
            Para editar un registro, arrastre una fila y sueltela sobre el l&aacute;piz.<br /> 
            Para eliminar un registro, arrastre una fila y sueltela sobre la papelera. </span> 
        <div id="frmFAcademic" runat="server" style="display: none;"
            <div style="width: 450px; float: left;"
                <br /> 
                <h1> 
                    Por favor complete todos los campos 
                </h1> 
                <br /> 
                <div id="Div2"
                    <table width="450" border="0"
                        <tr> 
                            <td width="129"
                                <p> 
                                    T&iacute;tulo</p> 
                            </td> 
                            <td width="311"
                                <asp:TextBox runat="server" ID="txtbTitle" MaxLength="50" CssClass="input" />&nbsp; 
                            </td> 
                            <td width="311"
                                <asp:RequiredFieldValidator ID="rfvTitulo" runat="server" ControlToValidate="txtbTitle" 
                                    Display="Dynamic" ErrorMessage="Debes llenar este campo" Font-Size="10px" ForeColor="YellowGreen" 
                                    ValidationGroup="vgTitle">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                        ID="revTitulo" runat="server" ControlToValidate="txtbTitle" Display="Dynamic" 
                                        ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." Font-Size="10px" 
                                        ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos." 
                                        ValidationExpression="([a-zA-Z]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;|-|_)+(\s([a-zA-Z]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;)+)*" 
                                        ValidationGroup="vgTitle">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Lugar d&oacute;nde estudi&oacute; 
                                </p> 
                            </td> 
                            <td> 
                                <p> 
                                    <asp:DropDownList runat="server" ID="ddlUniversidad" CssClass="input" AppendDataBoundItems="True" 
                                        DataSourceID="odsUniversidades" DataTextField="Name" DataValueField="Id"
                                        <asp:ListItem Selected="True" Value="0">[Seleccione]</asp:ListItem> 
                                    </asp:DropDownList> 
                                    <asp:ObjectDataSource ID="odsUniversidades" runat="server" SelectMethod="GetColleges" 
                                        TypeName="OnData.WebSite.Modules.TrabajaConNosotros.TrabajaConNosotrosController"
                                    </asp:ObjectDataSource> 
                                </p> 
                            </td> 
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvUniversidad" runat="server" ControlToValidate="ddlUniversidad" 
                                    Display="Dynamic" ErrorMessage="Debes seleccionar una opci&oacute;n" Font-Size="10px" 
                                    ForeColor="YellowGreen" InitialValue="0" ToolTip="Debes seleccionar una opci&oacute;n" 
                                    ValidationGroup="vgTitle">Debes seleccionar una opci&oacute;n</asp:RequiredFieldValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Fecha de Inicio</p> 
                            </td> 
                            <td> 
                                <div style="margin-left: 10px;"
                                    <telerik:RadDatePicker ID="rcInicio" runat="server" Skin="Forest"
                                        <DatePopupButton HoverImageUrl="" ImageUrl=""></DatePopupButton> 
                                        <DateInput ReadOnly="True" runat="server" ID="rdInicio" DateFormat="dd/MM/yyyy"
                                        </DateInput> 
                                        <Calendar Skin="Forest" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                            ViewSelectorText="x" CultureInfo="spanish (colombia)" runat="server" ID="clInicio"
                                        </Calendar> 
                                    </telerik:RadDatePicker> 
                                </div> 
                            </td> 
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvFechaInicial" runat="server" ControlToValidate="rcInicio" 
                                    Display="Dynamic" ErrorMessage="Debes llenar este campo" Font-Size="10px" ForeColor="YellowGreen" 
                                    ValidationGroup="vgTitle">Debes llenar este campo</asp:RequiredFieldValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Fecha de Finalizaci&oacute;n</p> 
                            </td> 
                            <td> 
                                <div style="margin-left: 10px;"
                                    <telerik:RadDatePicker ID="rdFinal" runat="server" Skin="Forest"
                                        <DatePopupButton HoverImageUrl="" ImageUrl=""></DatePopupButton> 
                                        <DateInput ReadOnly="True" runat="server" ID="diFinal" DateFormat="dd/MM/yyyy"
                                        </DateInput> 
                                        <Calendar Skin="Forest" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                            ViewSelectorText="x" CultureInfo="spanish (colombia)" runat="server" ID="clFinal"
                                        </Calendar> 
                                    </telerik:RadDatePicker> 
                                </div> 
                            </td> 
                            <td> 
                                <asp:CompareValidator ID="cmpFechaFormal" runat="server" ControlToCompare="rcInicio" 
                                    ControlToValidate="rdFinal" Display="Dynamic" ErrorMessage="Verifique que el intervalo de fechas sea correcto." 
                                    Font-Size="10px" ForeColor="YellowGreen" Operator="GreaterThan" ToolTip="Verifique que el intervalo de fechas sea correcto." 
                                    Type="Date" ValidationGroup="vgTitle">Verifique que el intervalo de fechas sea correcto.</asp:CompareValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                            </td> 
                            <td> 
                                <asp:Button ID="btnAcademicaFormalLimpiar" runat="server" CssClass="verificar" Text="Limpiar" 
                                    OnClick="btnAcademicaFormalLimpiar_Click" /> 
                                <asp:Button ID="btnAcademicaFormalEnviar" runat="server" CssClass="verificar" Text="Enviar" 
                                    CommandName="Add" OnClick="btnAcademicaFormalEnviar_Click" ValidationGroup="vgTitle" /> 
                            </td> 
                            <td> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td colspan="3"
                            </td> 
                        </tr> 
                    </table> 
                </div> 
            </div> 
        </div> 
    </telerik:RadPageView> 
    <telerik:RadPageView ID="rpvInfoAcademicaGeneral" runat="server"
        <telerik:RadGrid ID="rdGridInformacionAcademicaGeneral" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" DataSourceID="odsInformacionAcademicaGeneral" GridLines="None" 
            Skin="Forest" OnRowDrop="rdGridInformacionAcademicaGeneral_RowDrop"
            <HeaderContextMenu EnableTheming="True" Skin="Forest"
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
            </HeaderContextMenu> 
            <PagerStyle NextPageText="Siguiente" PrevPageText="Anterior" /> 
            <MasterTableView DataSourceID="odsInformacionAcademicaGeneral" DataKeyNames="Id"
                <RowIndicatorColumn> 
                    <HeaderStyle Width="20px" /> 
                </RowIndicatorColumn> 
                <ExpandCollapseColumn> 
                    <HeaderStyle Width="20px" /> 
                </ExpandCollapseColumn> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="Course" HeaderText="Curso" SortExpression="Course" 
                        UniqueName="Course"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="College" HeaderText="Instituci&#243;n Educativa" 
                        SortExpression="College" UniqueName="College"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="StartedDate" DataType="System.DateTime" HeaderText="Fecha de Inicio" 
                        SortExpression="StartedDate" UniqueName="StartedDate"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="FinalizedDate" DataType="System.DateTime" HeaderText="Fecha de Finalizaci&#243;n" 
                        SortExpression="FinalizedDate" UniqueName="FinalizedDate"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="CreationDate" DataType="System.DateTime" HeaderText="&#218;ltima Actualizaci&#243;n" 
                        SortExpression="CreationDate" UniqueName="CreationDate"
                    </telerik:GridBoundColumn> 
                </Columns> 
                <NoRecordsTemplate> 
                    No haz ingresado informaci&oacute;n de este tipo en el sistema. 
                </NoRecordsTemplate> 
            </MasterTableView> 
            <FilterMenu EnableTheming="True" Skin="Forest"
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
            </FilterMenu> 
            <ClientSettings AllowRowsDragDrop="True"
                <Selecting AllowRowSelect="True" /> 
                <ClientMessages PagerTooltipFormatString="P&#225;gina: &lt;b&gt;{0}&lt;/b&gt; de &lt;b&gt;{1}&lt;/b&gt; pages" /> 
            </ClientSettings> 
        </telerik:RadGrid><asp:ObjectDataSource ID="odsInformacionAcademicaGeneral" runat="server" 
            SelectMethod="GetAcademicBackgroundInfos" TypeName="OnData.WebSite.Modules.TrabajaConNosotros.TrabajaConNosotrosController"
            <SelectParameters> 
                <asp:Parameter Name="userId" Type="Int32" /> 
            </SelectParameters> 
        </asp:ObjectDataSource> 
        <asp:ImageButton ID="imbDeleteAcademicaGeneral" runat="server" ImageUrl="~/Portals/0/images/trash_can.png" 
            AlternateText="Arrastre una fila para eliminar" ToolTip="Arrastre una fila para eliminar" /><asp:ImageButton 
                ID="imbEditAcademicaGeneral" runat="server" ImageUrl="~/Portals/0/images/edit.png" 
                AlternateText="Arrastre una fila para editar" ToolTip="Arrastre una fila para editar" /> 
        <br /> 
        <span class="small" style="font-size: 11px;">Para agregar un nuevo curso, haz click 
            <href="javascript:showAcademicaGeneralForm();">aqu&iacute;</a>.<br /> 
            Para editar un registro, arrastre una fila y sueltela sobre el l&aacute;piz.<br /> 
            Para eliminar un registro, arrastre una fila y sueltela sobre la papelera. </span> 
        <br /> 
        <div id="frmAcademicaGeneral" runat="server" style="display: none;"
            <div style="width: 450px; float: left;"
                <br /> 
                <h1> 
                    Por favor complete todos los campos 
                </h1> 
                <br /> 
                <div id="Div5"
                    <table width="450" border="0"
                        <tr> 
                            <td width="129"
                                <p> 
                                    Curso</p> 
                            </td> 
                            <td width="311"
                                <asp:TextBox runat="server" ID="txtGeneralCurso" MaxLength="70" CssClass="input" /> 
                            </td> 
                            <td width="311"
                                <asp:RequiredFieldValidator ID="rfvCurso" runat="server" ControlToValidate="txtGeneralCurso" 
                                    Display="Dynamic" ErrorMessage="Debes llenar este campo" Font-Size="10px" ForeColor="YellowGreen" 
                                    ToolTip="Debes llenar este campo" ValidationGroup="vgCourse">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                        ID="revCurso" runat="server" ControlToValidate="txtGeneralCurso" Display="Dynamic" 
                                        ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." Font-Size="10px" 
                                        ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos." 
                                        ValidationExpression="([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;|-|_)+(\s([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;)+)*" 
                                        ValidationGroup="vgCourse">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Lugar d&oacute;nde estudi&oacute; 
                                </p> 
                            </td> 
                            <td> 
                                <p> 
                                    <asp:TextBox runat="server" ID="txtGeneralInstitucion" MaxLength="70" CssClass="input" /> 
                                </p> 
                            </td> 
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvInstitucion" runat="server" ControlToValidate="txtGeneralInstitucion" 
                                    Display="Dynamic" ErrorMessage="Debes llenar este campo" Font-Size="10px" ForeColor="YellowGreen" 
                                    ValidationGroup="vgCourse">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                        ID="revInstitucion" runat="server" ControlToValidate="txtGeneralInstitucion" 
                                        Display="Dynamic" ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." 
                                        Font-Size="10px" ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos." 
                                        ValidationExpression="([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;|-|_)+(\s([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;)+)*" 
                                        ValidationGroup="vgCourse">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Fecha de Inicio</p> 
                            </td> 
                            <td> 
                                <div style="margin-left: 10px;"
                                    <telerik:RadDatePicker ID="rdGeneralFechaInicio" runat="server" Skin="Forest"
                                        <DatePopupButton HoverImageUrl="" ImageUrl=""></DatePopupButton> 
                                        <DateInput ReadOnly="True" runat="server" ID="diGeneralFechaInicio" DateFormat="dd/MM/yyyy"
                                        </DateInput> 
                                        <Calendar Skin="Forest" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                            ViewSelectorText="x" CultureInfo="spanish (colombia)" runat="server" ID="clGeneralFechaInicio"
                                        </Calendar> 
                                    </telerik:RadDatePicker> 
                                </div> 
                            </td> 
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvInicioCurso" runat="server" ControlToValidate="rdGeneralFechaInicio" 
                                    Display="Dynamic" ErrorMessage="Debes llenar este campo" Font-Size="10px" ForeColor="YellowGreen" 
                                    ToolTip="Debes llenar este campo" ValidationGroup="vgCourse">Debes llenar este campo</asp:RequiredFieldValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Fecha de Finalizaci&oacute;n</p> 
                            </td> 
                            <td> 
                                <div style="margin-left: 10px;"
                                    <telerik:RadDatePicker ID="rdGeneralFechaFinalizacion" runat="server" Skin="Forest"
                                        <DatePopupButton HoverImageUrl="" ImageUrl=""></DatePopupButton> 
                                        <DateInput ReadOnly="True" runat="server" ID="diGeneralFechaFinalizacion" DateFormat="dd/MM/yyyy"
                                        </DateInput> 
                                        <Calendar Skin="Forest" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                            ViewSelectorText="x" CultureInfo="spanish (colombia)" runat="server" ID="clGeneralFechaFinalizacion"
                                        </Calendar> 
                                    </telerik:RadDatePicker> 
                                </div> 
                            </td> 
                            <td> 
                                <asp:CompareValidator ID="cmpFecha" runat="server" ControlToCompare="rdGeneralFechaInicio" 
                                    ControlToValidate="rdGeneralFechaFinalizacion" Display="Dynamic" ErrorMessage="Verifique que el intervalo de fechas sea correcto." 
                                    Font-Size="10px" ForeColor="YellowGreen" Operator="GreaterThan" ToolTip="Verifique que el intervalo de fechas sea correcto." 
                                    Type="Date" ValidationGroup="vgCourse">Verifique que el intervalo de fechas sea correcto.</asp:CompareValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                            </td> 
                            <td> 
                                <asp:Button ID="btnAcademicaGeneralLimpiar" runat="server" CssClass="verificar" Text="Limpiar" 
                                    OnClick="btnAcademicaGeneralLimpiar_Click" /> 
                                <asp:Button ID="btnAcademicaGeneralEnviar" runat="server" CssClass="verificar" Text="Enviar" 
                                    CommandName="Add" OnClick="btnAcademicaGeneralEnviar_Click" ValidationGroup="vgCourse" /> 
                            </td> 
                            <td> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td colspan="3"
                            </td> 
                        </tr> 
                    </table> 
                </div> 
            </div> 
        </div> 
    </telerik:RadPageView> 
    <telerik:RadPageView ID="rdvCertificaciones" runat="server"
        <telerik:RadGrid ID="rdGridCertificaciones" runat="server" AllowPaging="True" AutoGenerateColumns="False" 
            DataSourceID="odsCertificaciones" GridLines="None" Skin="Forest" OnRowDrop="rdGridCertificaciones_RowDrop"
            <HeaderContextMenu EnableTheming="True" Skin="Forest"
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
            </HeaderContextMenu> 
            <MasterTableView DataSourceID="odsCertificaciones" DataKeyNames="Id"
                <RowIndicatorColumn> 
                    <HeaderStyle Width="20px" /> 
                </RowIndicatorColumn> 
                <ExpandCollapseColumn> 
                    <HeaderStyle Width="20px" /> 
                </ExpandCollapseColumn> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="Description" HeaderText="Descripci&#243;n de la Certificaci&#243;n" 
                        SortExpression="Description" UniqueName="Description"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="DevelopmentCompany" HeaderText="Compa&#241;&#237;a Desarrolladora" 
                        SortExpression="DevelopmentCompany" UniqueName="DevelopmentCompany"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Version" HeaderText="Version" SortExpression="Version" 
                        UniqueName="Version"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="ObtainedDate" DataType="System.DateTime" HeaderText="Fecha en la cual Obtuvo la Certificaci&#243;n" 
                        SortExpression="ObtainedDate" UniqueName="ObtainedDate"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="CreationDate" DataType="System.DateTime" HeaderText="&#218;ltima Actualizaci&#243;n" 
                        SortExpression="CreationDate" UniqueName="CreationDate"
                    </telerik:GridBoundColumn> 
                </Columns> 
                <NoRecordsTemplate> 
                    No haz ingresado informaci&oacute;n de este tipo en el sistema. 
                </NoRecordsTemplate> 
            </MasterTableView> 
            <FilterMenu EnableTheming="True" Skin="Forest"
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
            </FilterMenu> 
            <PagerStyle NextPageText="Siguiente" PrevPageText="Anterior" /> 
            <ClientSettings AllowRowsDragDrop="True"
                <Selecting AllowRowSelect="true" /> 
                <ClientMessages PagerTooltipFormatString="P&#225;gina: &lt;b&gt;{0}&lt;/b&gt; de &lt;b&gt;{1}&lt;/b&gt; pages" /> 
            </ClientSettings> 
        </telerik:RadGrid> 
        <asp:ObjectDataSource ID="odsCertificaciones" runat="server" SelectMethod="GetCertificactionInfos" 
            TypeName="OnData.WebSite.Modules.TrabajaConNosotros.TrabajaConNosotrosController"
            <SelectParameters> 
                <asp:Parameter Name="userId" Type="Int32" /> 
            </SelectParameters> 
        </asp:ObjectDataSource> 
        <asp:ImageButton ID="imbDeleteCertificacion" runat="server" ImageUrl="~/Portals/0/images/trash_can.png" 
            AlternateText="Arrastre una fila para eliminar" ToolTip="Arrastre una fila para eliminar" /><asp:ImageButton 
                ID="imbEditCertificacion" runat="server" ImageUrl="~/Portals/0/images/edit.png" 
                AlternateText="Arrastre una fila para editar" ToolTip="Arrastre una fila para editar" /><br /> 
        <span class="small" style="font-size: 11px;">Para agregar una nueva certificaci&oacute;n, 
            haz click <href="javascript:showCertificationForm();">aqu&iacute;</a>.<br /> 
            Para editar un registro, arrastre una fila y sueltela sobre el l&aacute;piz.<br /> 
            Para eliminar un registro, arrastre una fila y sueltela sobre la papelera. </span> 
        <br /> 
        <div id="frmCertificacion" style="display: none;" runat="server"
            <div style="width: 450px; float: left;"
                <br /> 
                <h1> 
                    Por favor complete todos los campos 
                </h1> 
                <br /> 
                <div id="Div4"
                    <table width="450" border="0"
                        <tr> 
                            <td width="129"
                                <p> 
                                    Descripci&oacute;n</p> 
                            </td> 
                            <td width="311"
                                <asp:TextBox ID="txtDescripcionCertificacion" runat="server" MaxLength="200" TextMode="MultiLine" 
                                    CssClass="textarea" /> 
                            </td> 
                            <td width="311"
                                <span id="charactersLeft" style="color: #9ACD32; font-size: 10px;">Te quedan 200 caracteres</span>
                                <asp:RequiredFieldValidator ID="rfvDescripcion" runat="server" ControlToValidate="txtDescripcionCertificacion" 
                                    Display="Dynamic" ErrorMessage="Debes llenar este campo" Font-Size="10px" ForeColor="YellowGreen" 
                                    ToolTip="Debes llenar este campo" ValidationGroup="vgCertificacion">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                        ID="revDescripcion" runat="server" ControlToValidate="txtDescripcionCertificacion" 
                                        Display="Dynamic" ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." 
                                        Font-Size="10px" ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos." 
                                        ValidationExpression="([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;|-|_)+((\s|\S)([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;)+)*" 
                                        ValidationGroup="vgCertificacion">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator> 
                                <asp:RegularExpressionValidator ID="revLongitud" runat="server" ControlToValidate="txtDescripcionCertificacion" 
                                    Display="Dynamic" ErrorMessage="Te haz excedido en el m&aacute;ximo de caracteres" 
                                    Font-Size="10px" ForeColor="YellowGreen" ToolTip="Te haz excedido en el m&aacute;ximo de caracteres" 
                                    ValidationExpression="^[\s\S]{0,200}$" ValidationGroup="vgCertificacion">Te haz excedido en el m&aacute;ximo de caracteres</asp:RegularExpressionValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Compa&ntilde;&iacute;a</p> 
                            </td> 
                            <td> 
                                <asp:TextBox runat="server" ID="txtCompaniaCertificacion" MaxLength="50" CssClass="input" 
                                    Columns="50" Rows="4" /> 
                            </td> 
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvCompania" runat="server" ControlToValidate="txtCompaniaCertificacion" 
                                    Display="Dynamic" ErrorMessage="Debes llenar este campo" Font-Size="10px" ForeColor="YellowGreen" 
                                    ToolTip="Debes llenar este campo" ValidationGroup="vgCertificacion">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                        ID="revCompania" runat="server" ControlToValidate="txtCompaniaCertificacion" 
                                        Display="Dynamic" ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." 
                                        Font-Size="10px" ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos." 
                                        ValidationExpression="([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;|-|_)+(\s([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;)+)*" 
                                        ValidationGroup="vgCertificacion">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Versi&oacute;n</p> 
                            </td> 
                            <td> 
                                <asp:TextBox runat="server" ID="txtVersionCertificacion" MaxLength="30" CssClass="input" /> 
                            </td> 
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvVersion" runat="server" ControlToValidate="txtVersionCertificacion" 
                                    Display="Dynamic" ErrorMessage="Debes llenar este campo" Font-Size="10px" ForeColor="YellowGreen" 
                                    ToolTip="Debes llenar este campo" ValidationGroup="vgCertificacion">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                        ID="revVersion" runat="server" ControlToValidate="txtVersionCertificacion" Display="Dynamic" 
                                        ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." Font-Size="10px" 
                                        ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos." 
                                        ValidationExpression="([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;|-|_)+(\s([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;)+)*" 
                                        ValidationGroup="vgCertificacion">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Fecha de Obtenci&oacute;n 
                                </p> 
                            </td> 
                            <td> 
                                <div style="margin-left: 10px;"
                                    <telerik:RadDatePicker ID="rdCertificacionFechaObtencion" runat="server" Skin="Forest"
                                        <DatePopupButton HoverImageUrl="" ImageUrl=""></DatePopupButton> 
                                        <DateInput ReadOnly="True" runat="server" ID="diCertificacionFechaObtencion" DateFormat="dd/MM/yyyy"
                                        </DateInput> 
                                        <Calendar Skin="Forest" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                            ViewSelectorText="x" CultureInfo="spanish (colombia)" runat="server" ID="clCertificacionFechaObtencion"
                                        </Calendar> 
                                    </telerik:RadDatePicker> 
                                </div> 
                            </td> 
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvFechaCertificacion" runat="server" ControlToValidate="rdCertificacionFechaObtencion" 
                                    Display="Dynamic" ErrorMessage="Debes llenar este campo" Font-Size="10px" ForeColor="YellowGreen" 
                                    ToolTip="Debes llenar este campo" ValidationGroup="vgCertificacion">Debes llenar este campo</asp:RequiredFieldValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                            </td> 
                            <td> 
                                <asp:Button ID="btnCertificacionLimpiar" runat="server" CssClass="verificar" Text="Limpiar" 
                                    OnClick="btnCertificacionLimpiar_Click" /> 
                                <asp:Button ID="btnCertificacionEnviar" runat="server" CssClass="verificar" Text="Enviar" 
                                    CommandName="Add" OnClick="btnCertificacionEnviar_Click" ValidationGroup="vgCertificacion" /> 
                            </td> 
                            <td> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td colspan="3"
                            </td> 
                        </tr> 
                    </table> 
                </div> 
            </div> 
        </div> 
    </telerik:RadPageView> 
    <telerik:RadPageView ID="rpvIdiomas" runat="server"
        <telerik:RadGrid ID="rdGridIdiomas" runat="server" AllowPaging="True" AutoGenerateColumns="False" 
            DataSourceID="odsIdiomas" GridLines="None" Skin="Forest" OnRowDrop="rdGridIdiomas_RowDrop"
            <HeaderContextMenu EnableTheming="True" Skin="Forest"
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
            </HeaderContextMenu> 
            <MasterTableView DataSourceID="odsIdiomas" DataKeyNames="Id"
                <RowIndicatorColumn> 
                    <HeaderStyle Width="20px" /> 
                </RowIndicatorColumn> 
                <ExpandCollapseColumn> 
                    <HeaderStyle Width="20px" /> 
                </ExpandCollapseColumn> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="Language" HeaderText="Idioma" SortExpression="Language" 
                        UniqueName="Language"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="SpeechLevel" HeaderText="Nivel Con Respecto a Habla" 
                        SortExpression="SpeechLevel" UniqueName="SpeechLevel"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="WriteLevel" HeaderText="Nivel con Respecto a Escritura" 
                        SortExpression="WriteLevel" UniqueName="WriteLevel"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Institution" HeaderText="Instituci&#243;n en la cual Estudio" 
                        SortExpression="Institution" UniqueName="Institution"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="CreationDate" DataType="System.DateTime" HeaderText="&#218;ltima Actualizaci&#243;n" 
                        SortExpression="CreationDate" UniqueName="CreationDate"
                    </telerik:GridBoundColumn> 
                </Columns> 
                <NoRecordsTemplate> 
                    No haz ingresado informaci&oacute;n de este tipo en el sistema. 
                </NoRecordsTemplate> 
            </MasterTableView> 
            <FilterMenu EnableTheming="True" Skin="Forest"
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
            </FilterMenu> 
            <PagerStyle NextPageText="Siguiente" PrevPageText="Anterior" /> 
            <ClientSettings AllowRowsDragDrop="True"
                <Selecting AllowRowSelect="True" /> 
                <ClientMessages PagerTooltipFormatString="P&#225;gina: &lt;b&gt;{0}&lt;/b&gt; de &lt;b&gt;{1}&lt;/b&gt; pages" /> 
            </ClientSettings> 
        </telerik:RadGrid> 
        <asp:ObjectDataSource ID="odsIdiomas" runat="server" SelectMethod="GetLanguageBackgroundInfos" 
            TypeName="OnData.WebSite.Modules.TrabajaConNosotros.TrabajaConNosotrosController"
            <SelectParameters> 
                <asp:Parameter Name="userId" Type="Int32" /> 
            </SelectParameters> 
        </asp:ObjectDataSource> 
        <asp:ImageButton ID="imbDeleteLanguage" runat="server" ImageUrl="~/Portals/0/images/trash_can.png" 
            AlternateText="Arrastre una fila para eliminar" ToolTip="Arrastre una fila para eliminar" /><asp:ImageButton 
                ID="imbEditIdiomas" runat="server" ImageUrl="~/Portals/0/images/edit.png" AlternateText="Arrastre una fila para editar" 
                ToolTip="Arrastre una fila para editar" /><br /> 
        <span class="small" style="font-size: 11px;">Para agregar un nuevo idioma, haz click 
            <href="javascript:showLanguageForm();">aqu&iacute;</a>.<br /> 
            Para editar un registro, arrastre una fila y sueltela sobre el l&aacute;piz.<br /> 
            Para eliminar un registro, arrastre una fila y sueltela sobre la papelera. </span> 
        <br /> 
        <div id="frmIdioma" style="display: none;" runat="server"
            <div style="width: 450px; float: left;"
                <br /> 
                <h1> 
                    Por favor complete todos los campos 
                </h1> 
                <br /> 
                <div id="Div1"
                    <table width="450" border="0"
                        <tr> 
                            <td width="129"
                                <p> 
                                    Idioma</p> 
                            </td> 
                            <td width="311"
                                <asp:DropDownList runat="server" ID="ddlIdioma" CssClass="input" AppendDataBoundItems="True" 
                                    DataSourceID="odsIdioma" DataTextField="Name" DataValueField="Id"
                                    <asp:ListItem Selected="True" Value="0">[Seleccione]</asp:ListItem> 
                                </asp:DropDownList> 
                                <asp:ObjectDataSource ID="odsIdioma" runat="server" SelectMethod="GetLanguages" TypeName="OnData.WebSite.Modules.TrabajaConNosotros.TrabajaConNosotrosController"
                                </asp:ObjectDataSource> 
                            </td> 
                            <td width="311"
                                <asp:RequiredFieldValidator ID="rfvIdioma" runat="server" ControlToValidate="ddlIdioma" 
                                    Display="Dynamic" ErrorMessage="Debes seleccionar una opci&oacute;n" Font-Size="10px" 
                                    ForeColor="YellowGreen" InitialValue="0" ToolTip="Debes seleccionar una opci&oacute;n" 
                                    ValidationGroup="vgIdioma">Debes seleccionar una opci&oacute;n</asp:RequiredFieldValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Nivel de Habla</p> 
                            </td> 
                            <td> 
                                <asp:DropDownList runat="server" ID="ddlNivelHabla" CssClass="input" AppendDataBoundItems="True" 
                                    DataSourceID="odsLanguageLevel" DataTextField="Description" DataValueField="Id"
                                    <asp:ListItem Selected="True" Value="0">[Seleccione]</asp:ListItem> 
                                </asp:DropDownList></td
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvNivelHabla" runat="server" ControlToValidate="ddlNivelHabla" 
                                    Display="Dynamic" ErrorMessage="Debes seleccionar una opci&oacute;n" Font-Size="10px" 
                                    ForeColor="YellowGreen" InitialValue="0" ToolTip="Debes seleccionar una opci&oacute;n" 
                                    ValidationGroup="vgIdioma">Debes seleccionar una opci&oacute;n</asp:RequiredFieldValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                                <p> 
                                    Nivel de Escritura</p> 
                            </td> 
                            <td> 
                                <asp:DropDownList runat="server" ID="ddlNivelEscritura" CssClass="input" AppendDataBoundItems="True" 
                                    DataSourceID="odsLanguageLevel" DataTextField="Description" DataValueField="Id"
                                    <asp:ListItem Selected="True" Value="0">[Seleccione]</asp:ListItem> 
                                </asp:DropDownList></td
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvNivelEscritura" runat="server" ControlToValidate="ddlNivelEscritura" 
                                    Display="Dynamic" ErrorMessage="Debes seleccionar una opci&oacute;n" Font-Size="10px" 
                                    ForeColor="YellowGreen" InitialValue="0" ToolTip="Debes seleccionar una opci&oacute;n" 
                                    ValidationGroup="vgIdioma">Debes seleccionar una opci&oacute;n</asp:RequiredFieldValidator></td
                        </tr> 
                        <tr> 
                            <td style="height: 42px"
                                <p> 
                                    Instituci&oacute;n</p> 
                            </td> 
                            <td style="height: 42px"
                                <asp:TextBox runat="server" ID="txtInstitucionIdioma" MaxLength="50" CssClass="input" /> 
                            </td> 
                            <td style="height: 42px"
                                <asp:RequiredFieldValidator ID="rfvInstitucionIdioma" runat="server" ControlToValidate="txtInstitucionIdioma" 
                                    Display="Dynamic" ErrorMessage="Debes llenar este campo" Font-Size="10px" ForeColor="YellowGreen" 
                                    ToolTip="Debes llenar este campo" ValidationGroup="vgIdioma">Debes llenar este campo</asp:RequiredFieldValidator><asp:RegularExpressionValidator 
                                        ID="revInstitucionIdioma" runat="server" ControlToValidate="txtInstitucionIdioma" 
                                        Display="Dynamic" ErrorMessage="Este campo contiene caracteres  inv&aacute;lidos." 
                                        Font-Size="10px" ForeColor="YellowGreen" ToolTip="Este campo contiene caracteres  inv&aacute;lidos." 
                                        ValidationExpression="([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;|-|_)+(\s([a-zA-Z]|[0-9]|&aacute;|&eacute;|&iacute;|&oacute;|&uacute;|-|_|&Aacute;|&Eacute;|&Iacute;|&Oacute;|&Uacute;|&ntilde;|&Ntilde;)+)*" 
                                        ValidationGroup="vgIdioma">Este campo contiene caracteres  inv&aacute;lidos.</asp:RegularExpressionValidator></td
                        </tr> 
                        <tr> 
                            <td> 
                            </td> 
                            <td> 
                                <asp:Button ID="btnIdiomaLimpiar" runat="server" CssClass="verificar" Text="Limpiar" 
                                    OnClick="btnIdiomaLimpiar_Click" /> 
                                <asp:Button ID="btnIdiomaEnviar" runat="server" CssClass="verificar" Text="Enviar" 
                                    CommandName="Add" OnClick="btnIdiomaEnviar_Click" ValidationGroup="vgIdioma" /> 
                            </td> 
                            <td> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td colspan="3"
                                <asp:ObjectDataSource ID="odsLanguageLevel" runat="server" SelectMethod="GetLanguageLevels" 
                                    TypeName="OnData.WebSite.Modules.TrabajaConNosotros.TrabajaConNosotrosController"
                                </asp:ObjectDataSource> 
                            </td> 
                        </tr> 
                    </table> 
                </div> 
            </div> 
        </div> 
    </telerik:RadPageView> 
</telerik:RadMultiPage> 
<telerik:RadAjaxManager ID="rdManager" runat="server" DefaultLoadingPanelID="rdLoadingPane"
    <AjaxSettings> 
        <telerik:AjaxSetting AjaxControlID="btnLimpiar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmGeneral" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="rdGridInformacionAcademicaFormal"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmFAcademic" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnAcademicaFormalLimpiar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmFAcademic" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnAcademicaFormalEnviar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="rdGridInformacionAcademicaFormal" /> 
                <telerik:AjaxUpdatedControl ControlID="frmFAcademic" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="rdGridInformacionAcademicaGeneral"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmAcademicaGeneral" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnAcademicaGeneralLimpiar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmAcademicaGeneral" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnAcademicaGeneralEnviar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="rdGridInformacionAcademicaGeneral" /> 
                <telerik:AjaxUpdatedControl ControlID="frmAcademicaGeneral" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="rdGridCertificaciones"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmCertificacion" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnCertificacionLimpiar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmCertificacion" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnCertificacionEnviar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="rdGridCertificaciones" /> 
                <telerik:AjaxUpdatedControl ControlID="frmCertificacion" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="rdGridIdiomas"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmIdioma" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnIdiomaLimpiar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmIdioma" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnIdiomaEnviar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="rdGridIdiomas" /> 
                <telerik:AjaxUpdatedControl ControlID="frmIdioma" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnLimpiar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmGeneral" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnAcademicaFormalLimpiar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmFAcademic" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnAcademicaFormalEnviar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="rdGridInformacionAcademicaFormal" /> 
                <telerik:AjaxUpdatedControl ControlID="frmFAcademic" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnAcademicaGeneralLimpiar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmAcademicaGeneral" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnAcademicaGeneralEnviar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="rdGridInformacionAcademicaGeneral" /> 
                <telerik:AjaxUpdatedControl ControlID="frmAcademicaGeneral" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnCertificacionLimpiar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmCertificacion" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnCertificacionEnviar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="rdGridCertificaciones" /> 
                <telerik:AjaxUpdatedControl ControlID="frmCertificacion" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnIdiomaLimpiar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="frmIdioma" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="btnIdiomaEnviar"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="rdGridIdiomas" /> 
                <telerik:AjaxUpdatedControl ControlID="frmIdioma" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </AjaxSettings> 
</telerik:RadAjaxManager> 
<telerik:RadAjaxLoadingPanel ID="rdLoadingPane" runat="server" HorizontalAlign="Center" 
    Transparency="25" IsSticky="false" Wrap="False"
    <img alt="Loading..." src='<%= Page.ResolveUrl("~/Portals/0/images/cargando.gif") %>' 
        style="border: 0px;" /> 
    <span style="font-size: 11px; color: #698B22;">Cargando...</span> 
</telerik:RadAjaxLoadingPanel> 
 
This is the error Im getting:
An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Please, see whether wrapping the code block, generating the exception, within RadCodeBlock resolves the error. ---> System.Web.HttpException: Please, see whether wrapping the code block, generating the exception, within RadCodeBlock resolves the error. ---> System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). at System.Web.UI.ControlCollection.AddAt(Int32 index, Control child) at Telerik.Web.UI.RadAjaxControl.MoveUpdatePanel(Control initiator, Control updated) --- End of inner exception stack trace --- at Telerik.Web.UI.RadAjaxControl.MoveUpdatePanel(Control initiator, Control updated) at Telerik.Web.UI.RadAjaxControl.PerformRender() at Telerik.Web.UI.RadAjaxControl.OnPageRender(HtmlTextWriter writer, Control page) at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Iana Tsolova
Telerik team
 answered on 18 Aug 2011
1 answer
101 views
hi,
why does RadNotification tremble  when the mouse over itself with IE6, but it doesn't happen in other version of IE or Google Chrome?
thank you :)

Tabby
Marin Bratanov
Telerik team
 answered on 18 Aug 2011
3 answers
115 views
I need do something like Image attached (Search.jpg).

I changed ths css and obtained layout such as captura1. jpg
.RadFilter .rfField {
  display: block;
}

But then I add some express  , and I have a issue . Captura2.jpg

How I can resolve this problem?



July
Top achievements
Rank 2
 answered on 18 Aug 2011
1 answer
123 views

Hi,
I have a ASPX page with Rad grid , this grid loaded with data.

 

when a row is selected and clicked on a radTolBarButton,to edit its content . Actually it opens a Rad window (window.radopen) with all the controls in editable mode.

 

we can edit and save , also have a facility to close this window ( provided a Rad button 'Close' in a Rad tool bar )

 

My Requirement is below.

 

on edit - save - close button click

 

1.Need to close the window - (this is happening)

 

2.Need to refresh the content in the grid - from - where this rad window opend. (this is not happening)

 

 

I dont want to change Content edit procedure. This is already finalised.

 

The only thing is to refresh the grid content on Rad window close.


Please help me.

Thanks in advance

Kevin
Top achievements
Rank 2
 answered on 18 Aug 2011
1 answer
211 views
Hi,

    I use RadCalendar in my project. My problem is the special days are not selectable in RadCalendar. I have used AutoPostBack="true" and OnSelectionChanged property. I need to redirect the selected date to other page., but the click event is not fired on selecting the special day. I also use RadScheduler also in the same page. On using div i used to hide one by other. Below is the design page of it,

<asp:UpdatePanel ID="updatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <div>
                <div id="divSchedular" runat="server">
                    <div style="width: 810px; background: transparent url('Images/background.png') no-repeat 0 0;
                        padding-left: 20px;">
                        <telerik:RadScheduler runat="server" ID="RadScheduler1" Skin="Web20" CustomAttributeNames="DisplayStartTime, EventColor, DisplayEndTime, StartDate,EndDate,DisplayPermitName,DisplayFacilityVisibility,DisplayClientVisibility,DisplayResourceVisibility,Id,DisplayPermitVisibility,DisplayFacilityname,DisplayResourceName,DisplayClientName"
                            DataStartField="StartDate" EnableDatePicker="true" GroupingDirection="Horizontal"
                            EnableEmbeddedSkins="true" DataDescriptionField="EventColor" MonthView-GroupingDirection="Horizontal"
                            DataEndField="EndDate" ShowFullTime="true" DataKeyField="Id" FirstDayOfWeek="Sunday"
                            LastDayOfWeek="Saturday" DataSubjectField="DisplayPermitName" AllowDelete="false"
                            AllowEdit="false" TimelineView-NumberOfSlots="7" AllowInsert="false" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound">
                            <AdvancedForm Modal="true" />
                            <%--daystarttime="08:00:00" dayendtime="23:00:00"--%>
                            <AppointmentTemplate>
                                <div>
                                    <table>
                                        <tr>
                                            <td id="divColorChange" runat="server" width="0.5%">
                                                <div>
                                                     <%--CommandArgument='<%# Eval("Id") + "~" + Eval("EventColor") %>'--%>
                                                </div>
                                            </td>
                                            <td>
                                                <%--CustomAttributeNames="StartTime,EndTime,SessionDate,DisplayPermitName,StartDate,DisplayClientVisibility,DisplayResourceVisibility,DisplayFacilityVisibility,EndDate,ID,DisplayPermitVisibility,DisplayFacilityName,DisplayResourceName,DisplayClientName,Event_ID,DisplayRoomNumber"--%>
                                                <div class="AlignCenter">
                                                    <%--Permit Name--%>
                                                    <asp:LinkButton runat="server" ID="lblDisplayPermitName" OnClick="RedirectToEventMaintenance"
                                                        Style="font-weight: bold; color: Black; word-wrap: break-word; font-size: 12px;"
                                                        Visible='<%# Convert.ToBoolean(Eval("DisplayPermitVisibility")) %>' CommandArgument='<%# Eval("Id") + "~" + Eval("StartDate")%>'> 
                        <%# Eval("DisplayPermitName")%>
                                                    </asp:LinkButton>
                                                    <asp:Label ID="labelPermitName" Style="font-weight: normal; color: Black; word-wrap: break-word;
                                                        font-size: 10px;" runat="server" Text='<%# Eval("DisplayPermitName")%>' CssClass="FontBold"></asp:Label>
                                                    <br />
                                                    <%--Start Time--%>
                                                    <%--End Time--%>
                                                    <asp:Label runat="server" ID="lblStartTime" Style="font-weight: normal; word-wrap: break-word;
                                                        color: Black; font-size: 10px; text-align: left; float: left;">
                                                    <%# Eval("DisplayStartTime")%></asp:Label>
                                                    -
                                                    <asp:Label runat="server" ID="lblEndTime" Style="font-weight: normal; word-wrap: break-word;
                                                        color: Black; font-size: 10px; text-align: left; float: left;">
                                                    <%# Eval("DisplayEndTime")%></asp:Label>
                                                    <br />
                                                    <%--Client Name--%>
                                                    <asp:Label runat="server" ID="lblDisplayClientTypeName" Style="font-weight: normal;
                                                        word-wrap: break-word; color: Black; font-size: 10px; width: 95px; text-align: left;
                                                        float: left;" Visible='<%# Convert.ToBoolean(Eval("DisplayClientVisibility")) %>'>
                            <%# Eval("DisplayClientName")%>
                                                    </asp:Label><br />
                                                    <%--Text="<left>Client :</left>"--%>
                                                    <%--Facility Name--%>
                                                    <asp:Label runat="server" ID="lblDisplayFacilityName" Style="font-weight: normal;
                                                        color: Black; font-size: 10px; word-wrap: break-word; width: 95px; float: left;
                                                        float: left; text-align: left; float: left;" Visible='<%# Convert.ToBoolean(Eval("DisplayFacilityVisibility")) %>'>
                            <%# Eval("DisplayFacilityname")%>
                                                    </asp:Label><%--Text="<left>Facility :</left>"--%>
                                                    <br />
                                                    <%--Resource Name--%>
                                                    <asp:Label runat="server" ID="lblDisplayResourceName" Style="font-weight: normal;
                                                        color: Black; font-size: 10px; word-wrap: break-word; width: 95px; text-align: left;
                                                        float: left;" Visible='<%# Convert.ToBoolean(Eval("DisplayResourceVisibility")) %>'>
                            <%# Eval("DisplayResourceName")%> 
                                                    </asp:Label><br />
                                                    <%--Text="<left>Resource :</left>" --%>
                                                    <%--Resource Name--%>
                                                    <asp:Label runat="server" ID="Label2" Style="font-weight: normal; width: 95px; color: Black;
                                                        font-size: 10px; text-align: left; word-wrap: break-word; float: left;"><%-- Text="<left>Room :</left>"--%>
                            <%# Eval("DisplayResourceName")%> 
                                                    </asp:Label><br />
                                                    <br />
                                                    <asp:LinkButton ID="linkButtonMore" Style="font-weight: bold; width: 95px; color: Black;
                                                        font-size: 10px;" runat="server" Text="More"></asp:LinkButton>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </AppointmentTemplate>
                        </telerik:RadScheduler>
                    </div>
                    <telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Width="420" Height="300"
                        ToolTipZoneID="RadScheduler1" Animation="Resize" HideEvent="LeaveToolTip" Text="Loading..."
                        RelativeTo="Mouse" OnAjaxUpdate="RadToolTipManager1_AjaxUpdate" OnClientBeforeShow="clientBeforeShow">
                    </telerik:RadToolTipManager>
                </div>
                <div class="ClearBoth">
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <div id="divCalendar" runat="server" visible="false">
        <telerik:RadCalendar ID="RadCalendar1" runat="server" Font-Names="Arial,Verdana,Tahoma"
            OnSelectionChanged="RadCalendar1_SelectionChanged" AutoPostBack="true" ForeColor="Black"
            Skin="Web20" MultiViewColumns="4" MultiViewRows="3" PresentationType="Preview"
            UseColumnHeadersAsSelectors="false" UseRowHeadersAsSelectors="false" ShowOtherMonthsDays="False">
        </telerik:RadCalendar>
    </div>

The special days are populated in codebehing using,

RadCalendar1.SelectedDates.Clear();
RadCalendar1.SpecialDays.Clear();
RadCalendarDay NewDay = new RadCalendarDay(RadCalendar1);
this.EventController.State.Events = EventCollection;
if (this.EventController.State.Events.Count > 0)
{
    foreach (Event eventObj in this.EventController.State.Events)
    {
        NewDay.Date = DateTime.Parse(eventObj.StartDate.ToString());
        NewDay.IsSelectable = true;
        NewDay.ItemStyle.CssClass = "specialDay";
        NewDay.ToolTip = eventObj.Permit.PermitName;
           NewDay.ItemStyle.BackColor = System.Drawing.Color.Aqua;
        NewDay.ItemStyle.BorderColor = System.Drawing.Color.Blue;
        RadCalendar1.SelectedDates.Add(new RadDate(Convert.ToDateTime(eventObj.StartDate.ToString())));
        RadCalendar1.SpecialDays.Add(NewDay);
    }
}

I also need to set the bordercolor and backcolor for the special day. i have used ItemStyle property as shown above. but the specified color is not applied to the calendar. It takes the default skin color (Web20)  for the special day. Kindly help me out to get rid of this problem.

Thanks,
Hema L.
Maria Ilieva
Telerik team
 answered on 18 Aug 2011
2 answers
114 views
Hi everyone!

I have a RadGrid hierarchy.
I build a class to translate RadGrid to pt-BR. Ok! Works fine but the GridTableView still show in EN.
How can i translate GridTableView to?
Jorge
Top achievements
Rank 1
 answered on 18 Aug 2011
1 answer
226 views
I am using Telerik captcha control without textbox and now i want to validate this with my own textbox value.

my code is this

    <telerik:RadCaptcha ID="RadCaptcha" runat="server" EnableRefreshImage="true" CaptchaTextBoxCssClass="text"
                                                                    ProtectionMode="Captcha" Display="Dynamic" ErrorMessage="Invaid Code" CaptchaImage-TextColor="Black"
                                                                    CaptchaImage-RenderImageOnly="true" CaptchaImage-Width="219" CaptchaImage-TextChars="CustomCharSet"
                                                                    CaptchaImage-CharSet="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
                                                                    CaptchaImage-ImageCssClass="captchIMG" CaptchaImage-Height="36" CaptchaImage-BackgroundNoise="None"
                                                                    CaptchaImage-LineNoise="High" />

and a single seperate text box for validate its value

    <asp:TextBox ID="txtCaptcha" runat="server" CssClass="text" />

Now on button click event i want to validate this captcha text but how???
Slav
Telerik team
 answered on 18 Aug 2011
5 answers
153 views
I saw a similar thread under RADControls, but didn't see any answer so I thought I'd post here.  I have a RADUpload control placed on a page with AllowedFileExtensions set to allow ".doc,.docx,.xls,.xlsx,.zip,.txt,.csv,.pdf" and a MaxFileSize set to 15MB.  I'm using client-side validation and have tested to ensure that invalid file types are being caught prior to form submission.  My problem is that in uploading two, both valid, .xlsx files, one completes successfully and the other ends up in the InvalidFiles collection.  I'm at a loss as to why one would work and the other not.  Is there any way to access how a file fails to pass server-side validation?
Peter Filipov
Telerik team
 answered on 18 Aug 2011
3 answers
163 views
hi

I have a Radgrid and a Radwindow. The radwindows is suppose to popup whenever one click view detail link in the radgrid. Well, it worked, but the funny part was that whenever i click the page in the radgrid, the windows popup itself.  Why is that happening. Thanks and sorry if any inconvenience caused.

Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand
        Dim windowManager As New RadWindowManager()
        Dim window1 As New RadWindow()

        If e.CommandName = "Select" Then
            Dim selectedRow As GridDataItem = DirectCast(e.Item, GridDataItem)
            Session("custid") = selectedRow.GetDataKeyValue("custid")
            window1.Width = "800"
            window1.Height = "520"
            window1.VisibleTitlebar = "false"
            window1.VisibleStatusbar = "false"
            window1.NavigateUrl = "~/custinfo.aspx?custid=" & Session("custid").ToString
            window1.ID = "RadWindow1"
            window1.VisibleOnPageLoad = True
            window1.ReloadOnShow = "true"
            ' Set this property to True for showing window from code   
            RadWindowManager1.Windows.Add(window1)
            'Page.Form.Controls.Add(widnow1)
End Sub

L
Top achievements
Rank 1
 answered on 18 Aug 2011
3 answers
166 views
Can you provide a sample how to use Async upload control in Iframe.
Peter Filipov
Telerik team
 answered on 18 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?