Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
95 views
Hello!

I wanted to know if is it possible to add row with CommandItems ("Add new" in my case) to DetailTable like MasterTable has. What I'd like to get is the same functionality the MasterTable has, but within the DetailTable.

Any help would be appreciated, especially if there are some samples that could be helpful.

EDIT: I was able to display the EditForm inside of the DetailTable by simply adding EditFormSettings, but Update/Insert and Cancel buttons aren't visible. I also don't know how to add the CommandItem row.
Tsvetina
Telerik team
 answered on 08 Sep 2011
1 answer
108 views
Hello dear Telerik Team,

I'm using Telerik 2009.3.1103.35 ( v2.0.50727 ) in Vs2008 and I have some problems by calling a postback
event for web controls that resides in Radgrid's editform.
Ajax works fine in Radgrid if I'm not in edit mode - sorting is successfully Ajaxified for instance -.


But if the eventddlTipoInstal_SelectedIndexChanged of the dropdownlist controlddlTipoInstal
is raised, then I'm receving a script error  "Sys.WebForms.PageRequestManagerServerErrorException".
Postback events are working fine if Ajax is disabled.

What I need to do to solve my problem?

Thank you very much in advance.


<
telerik:RadScriptManager ID="RgScriptManager1" runat="server" />
 
 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
            <AjaxSettings>                        
                <telerik:AjaxSetting AjaxControlID="RgData"
                    <UpdatedControls
                        <telerik:AjaxUpdatedControl ControlID="RgData"  LoadingPanelID="RadAjaxLoadingPanel1"  /> 
                    </UpdatedControls
                </telerik:AjaxSetting>                
            </AjaxSettings
  </telerik:RadAjaxManager
 
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"    />
 
 
                    <telerik:radgrid id="RgData" runat="server"   
                    OnNeedDataSource="RgData_NeedDataSource"
                    AutoGenerateColumns="False" AllowSorting="True"
                        GridLines="None"
                         
                        OnItemDataBound="RgData_ItemDataBound"
                        OnDeleteCommand="RgData_DeleteCommand"
                        OnUpdateCommand="RgData_UpdateCommand"
                        OnItemCommand="RgData_Command"
                        Width="99%"
                        Height="450px"
                        >
                        <FilterItemStyle BackColor="red" />
                         
                        <ItemStyle  Height="50px" />
                        <AlternatingItemStyle Height="50px" ></AlternatingItemStyle>
                        <GroupHeaderItemStyle  ></GroupHeaderItemStyle>
 
                        <MasterTableView CommandItemDisplay="None"  GridLines="None" Height="20px">
                            <RowIndicatorColumn UniqueName="RowIndicator" Visible="False">
                                <HeaderStyle Width="20px" ></HeaderStyle>
                                <ItemStyle ></ItemStyle>
                            </RowIndicatorColumn>
                             
                         
 
 
 
<editformsettings editformtype="Template" >
 
   <editcolumn uniquename="EditCommandColumn" ButtonType="ImageButton"></editcolumn>
 
      <formtemplate>
 
        <asp:Panel runat="server" id="pnlEdicion">
            <div align="left">
                <asp:Button runat="server" ID="btnGenerales"  Text="Datos generales"    onclick="btnGenerales_Click"   CssClass="textbox_general"    CausesValidation="false" />
                <asp:Button runat="server" ID="btnRegPersonal"  Text="Registro de personal"   onclick="btnRegPersonal_Click"   CssClass="textbox_general"   CausesValidation="false"  />
               </div>
                 
                <asp:Panel runat="server" ID="pnlGeneral">
                     
                                                 
                                                <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="'0" class="table_body_general"  >
                                                <tr>
                                                <td>
 
                                                <TABLE id="Table1E" cellSpacing="0" cellPadding="0" width="100%" border="0" class="table_body_general" >
                                                 
 
                                        <TR>
                                            <TD ><a name="controles"></a></TD>
                                            <TD colspan="1">
                                                 </TD>
                                            <TD >
                                                 </TD>
                                            <TD >
                                                 </TD>
                                        </TR>
 
 
                                        <TR>
                                            <TD  colspan="4"  align="center"><b>Edición de datos de reporte</b>
                                                 </TD>
                                        </TR>
 
                                        <TR>
                                            <TD  colspan="4"  align="center"
                                                 </TD>
                                        </TR>
                                        <TR>
                                            <TD bgcolor="#A6D2FF" >[ID]:</TD>
                                            <TD  bgcolor="#A6D2FF" >
                                                <asp:textbox id="txtFRMId" 
                                                    text='<%# DataBinder.Eval( Container, "DataItem.IdReporte" ) %>'
                                                    runat="server"  Enabled="False" Width="300px"></asp:textbox>
 
                                                    </TD>
                                            <TD  align="left" bgcolor="#A6D2FF" >
                                                [Fecha]:</TD>
                                            <TD bgcolor="#A6D2FF" >
                                                <asp:TextBox ID="txtFRMFecha" runat="server" Enabled="False"
                                                    text='<%# DataBinder.Eval( Container, "DataItem.FechaRep" ) %>' Width="300px"></asp:TextBox>
                                            </TD>
                                        </TR>
                                         
 
                                     
                                        <TR>
                                            <TD bgcolor="#A6D2FF" >[Depto/Coordinación:]:</TD>
                                            <TD bgcolor="#A6D2FF" >
                                                <asp:DropDownList ID="ddlFRMDeptoPers" runat="server" Width="300px">
                                                </asp:DropDownList>                                        
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="ddlFRMDeptoPers" Text="[*]" ErrorMessage="[El departamento es un valor requerido]"></asp:RequiredFieldValidator>
                                                    </TD>
                                            <TD bgcolor="#A6D2FF" >
                                                [Tipo de instalación]:</TD>
                                            <TD  bgcolor="#A6D2FF" >
                                             
                <asp:DropDownList runat="server" ID="ddlTipoInstal" Width="300px"
                 AutoPostBack="True"                                                   
                OnSelectedIndexChanged="ddlTipoInstal_SelectedIndexChanged"
                >
                    <asp:ListItem Text="[Seleccione un tipo]" Value="%"></asp:ListItem>
                     
                      <asp:ListItem Text="ACUEDUCTO" Value="1"></asp:ListItem>
                    <asp:ListItem Text="ALMACENES Y BODEGAS" Value="2"></asp:ListItem>
                    <asp:ListItem Text="APROVECHAMIENTO DE AGUA SUPERFICIAL" Value="4"></asp:ListItem>
                    <asp:ListItem Text="AULA DE CAPACITACION" Value="7"></asp:ListItem>
                    <asp:ListItem Text="BACAZA DE CONSTRUCCION" Value="148"></asp:ListItem>
                    <asp:ListItem Text="BARCAZA DE PERFORACION LACUSTRE" Value="8"></asp:ListItem>
                    <asp:ListItem Text="BARCAZA DE PERFORACION MARINA" Value="9"></asp:ListItem>
                    <asp:ListItem Text="BARCO ABASTECEDOR" Value="145"></asp:ListItem>
                    <asp:ListItem Text="BARCO ABASTECEDOR-REMOLCADOR" Value="147"></asp:ListItem>
                    <asp:ListItem Text="BARCO CAUTIVO DE ALMACENAJE Y CARGA" Value="10"></asp:ListItem>
                    <asp:ListItem Text="BARCO CONTRAINCENDIO" Value="11"></asp:ListItem>
                    <asp:ListItem Text="BARCO DE INSPECCION Y GEOFISICA" Value="12"></asp:ListItem>
                    <asp:ListItem Text="BARCO DE POSICIONAMIENTO DINAMICO" Value="13"></asp:ListItem>
                    <asp:ListItem Text="BARCO DE PROCESO" Value="14"></asp:ListItem>
                    <asp:ListItem Text="BARCO GRUA" Value="15"></asp:ListItem>
                    <asp:ListItem Text="BARCO TALLER" Value="16"></asp:ListItem>
                    <asp:ListItem Text="BATERIA DE SEPARACION" Value="17"></asp:ListItem>
                    <asp:ListItem Text="BUQUE TANQUE" Value="18"></asp:ListItem>
                    <asp:ListItem Text="CABEZAL DE DESCARGA" Value="20"></asp:ListItem>
                    <asp:ListItem Text="CABEZAL DE RECOLECCION" Value="21"></asp:ListItem>
                    <asp:ListItem Text="CABEZAL DE SUCCION" Value="19"></asp:ListItem>
                    <asp:ListItem Text="CAMPAMENTO DE CORROSION" Value="22"></asp:ListItem>
                    <asp:ListItem Text="CAMPAMENTOS DE EXPLORACION" Value="23"></asp:ListItem>
                    <asp:ListItem Text="CAMPAMENTOS DE PERFORACION" Value="24"></asp:ListItem>
                    <asp:ListItem Text="CAMPO PRODUCTOR" Value="25"></asp:ListItem>
                    <asp:ListItem Text="CENTRAL CONTRAINCENDIO" Value="26"></asp:ListItem>
                    <asp:ListItem Text="CENTRAL DE ALMACENAMIENTO ESTRATEGICO" Value="27"></asp:ListItem>
                    <asp:ListItem Text="CENTRAL DE ALMACENAMIENTO Y BOMBEO" Value="28"></asp:ListItem>
                    <asp:ListItem Text="CENTRAL DE BOMBEO Y DISTRIBUCION" Value="29"></asp:ListItem>
                    <asp:ListItem Text="CENTRAL DE DISTRIBUCION DE ACEITE" Value="30"></asp:ListItem>
                    <asp:ListItem Text="CENTRAL DE DISTRIBUCION DE GAS" Value="31"></asp:ListItem>
                    <asp:ListItem Text="CENTRAL DE RECOLECCION DE AGUA RESIDUAL" Value="32"></asp:ListItem>
                    <asp:ListItem Text="CENTRO DE ADIESTRAMIENTO" Value="33"></asp:ListItem>
                    <asp:ListItem Text="CENTRO DE DISTRIBUCION DE GAS MARINO" Value="34"></asp:ListItem>
                    <asp:ListItem Text="CENTRO DE PROC. Y TRANSP DE GAS Y CONDENSADOS" Value="35"></asp:ListItem>
                    <asp:ListItem Text="CHALANES" Value="36"></asp:ListItem>
                    <asp:ListItem Text="COLECTOR DE ACEITE" Value="37"></asp:ListItem>
                    <asp:ListItem Text="COMPLEJO" Value="38"></asp:ListItem>
                    <asp:ListItem Text="CONEXIONES SUPERFICIALES D.D.VIA" Value="39"></asp:ListItem>
                    <asp:ListItem Text="CRUZAMIENTOS DE TUBERIAS" Value="40"></asp:ListItem>
                    <asp:ListItem Text="DERECHO DE VIAS" Value="41"></asp:ListItem>
                    <asp:ListItem Text="DIESELDUCTO" Value="42"></asp:ListItem>
                    <asp:ListItem Text="DOMOS SALINOS" Value="43"></asp:ListItem>
                    <asp:ListItem Text="DUCTOS" Value="44"></asp:ListItem>
                    <asp:ListItem Text="EDIFICIOS ADMINISTRATIVOS" Value="45"></asp:ListItem>
                    <asp:ListItem Text="EMBARCACIONES" Value="46"></asp:ListItem>
                    <asp:ListItem Text="EN CONSTRUCCION" Value="47"></asp:ListItem>
                    <asp:ListItem Text="EQ. DE REPARACION Y TERM. DE POZOS" Value="48"></asp:ListItem>
                    <asp:ListItem Text="EQUIPO DE PERFORACION MARINO" Value="49"></asp:ListItem>
                    <asp:ListItem Text="EQUIPO DE PERFORACION TERRESTRE" Value="50"></asp:ListItem>
                    <asp:ListItem Text="ESTACION DE BOMBAS" Value="51"></asp:ListItem>
                    <asp:ListItem Text="ESTACION DE CALENTADORES" Value="52"></asp:ListItem>
                    <asp:ListItem Text="ESTACION DE COMPRESORAS" Value="53"></asp:ListItem>
                    <asp:ListItem Text="ESTACION DE MEDICION" Value="54"></asp:ListItem>
                    <asp:ListItem Text="ESTACION DE RECOLECCION" Value="55"></asp:ListItem>
                    <asp:ListItem Text="ESTACION DE RECOLECCION Y COMPRESION" Value="56"></asp:ListItem>
                    <asp:ListItem Text="ESTACION DE REGULACION Y/O MEDICION" Value="57"></asp:ListItem>
                    <asp:ListItem Text="ETANODUCTO" Value="58"></asp:ListItem>
                    <asp:ListItem Text="FLOTELES" Value="59"></asp:ListItem>
                    <asp:ListItem Text="GASODUCTO" Value="60"></asp:ListItem>
                    <asp:ListItem Text="GASOLINERIAS (ESTACIONES DE SERVICIO)" Value="61"></asp:ListItem>
                    <asp:ListItem Text="GASOLINODUCTO" Value="62"></asp:ListItem>
                    <asp:ListItem Text="HELIPUERTO" Value="63"></asp:ListItem>
                    <asp:ListItem Text="HISTORICAS" Value="64"></asp:ListItem>
                    <asp:ListItem Text="HOSPITAL" Value="65"></asp:ListItem>
                    <asp:ListItem Text="INSTALACIONES CSM-209" Value="66"></asp:ListItem>
                    <asp:ListItem Text="JUEGO DE VALVULAS" Value="67"></asp:ListItem>
                    <asp:ListItem Text="LABORATORIOS" Value="68"></asp:ListItem>
                    <asp:ListItem Text="LAGUNA AZUL" Value="69"></asp:ListItem>
                    <asp:ListItem Text="LANCHA CONVENCIONAL" Value="70"></asp:ListItem>
                    <asp:ListItem Text="LANCHA DE INSPECCION" Value="71"></asp:ListItem>
                    <asp:ListItem Text="LANCHA DISPERSORA" Value="72"></asp:ListItem>
                    <asp:ListItem Text="LANCHA RAPIDA" Value="73"></asp:ListItem>
                    <asp:ListItem Text="LINEA DE BOMBEO NEUMATICO" Value="74"></asp:ListItem>
                    <asp:ListItem Text="LINEA DE DESCARGA DE POZOS" Value="75"></asp:ListItem>
                    <asp:ListItem Text="LINEA DE INYECCION DE AGUA" Value="76"></asp:ListItem>
                    <asp:ListItem Text="LINEAS DE TRANSMISION" Value="77"></asp:ListItem>
                    <asp:ListItem Text="LOCALIZACION DE POZOS" Value="78"></asp:ListItem>
                    <asp:ListItem Text="MANEJADOR ANCLA" Value="79"></asp:ListItem>
                    <asp:ListItem Text="MEJORADORA DE FLUJO" Value="80"></asp:ListItem>
                    <asp:ListItem Text="MODULO DE SEPARACION Y MEDICION" Value="81"></asp:ListItem>
                    <asp:ListItem Text="MONOBOYA" Value="82"></asp:ListItem>
                    <asp:ListItem Text="MUELLES O EMBARCADEROS" Value="83"></asp:ListItem>
                    <asp:ListItem Text="NGD" Value="84"></asp:ListItem>
                    <asp:ListItem Text="OFICINAS" Value="85"></asp:ListItem>
                    <asp:ListItem Text="OLEODUCTO" Value="86"></asp:ListItem>
                    <asp:ListItem Text="OLEOGASODUCTO" Value="87"></asp:ListItem>
                    <asp:ListItem Text="OTROS" Value="88"></asp:ListItem>
                    <asp:ListItem Text="PATIN DE MEDICION" Value="89"></asp:ListItem>
                    <asp:ListItem Text="PATIOS DE FABRICACION" Value="144"></asp:ListItem>
                    <asp:ListItem Text="PENDIENTES" Value="90"></asp:ListItem>
                    <asp:ListItem Text="PLANTA DE FLUIDOS" Value="91"></asp:ListItem>
                    <asp:ListItem Text="PLANTA DE INYECCION DE AGUA" Value="92"></asp:ListItem>
                    <asp:ListItem Text="PLANTA DE LODOS" Value="93"></asp:ListItem>
                    <asp:ListItem Text="PLANTA DE TRATAMIENTO DE AGUA" Value="94"></asp:ListItem>
                    <asp:ListItem Text="PLANTA DESHIDRATADORA" Value="95"></asp:ListItem>
                    <asp:ListItem Text="PLANTA DESHIDRATADORA DE GAS" Value="96"></asp:ListItem>
                    <asp:ListItem Text="PLANTA ENDULZADORA" Value="97"></asp:ListItem>
                    <asp:ListItem Text="PLANTA POTABILIZADORA" Value="98"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA CONTROL Y SERVICIO" Value="99"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA DE ENLACE" Value="100"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA DE EXPLORACION" Value="101"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA DE MEDICION" Value="102"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA DE PRODUCCION" Value="103"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA DE TELECOMUNICACIONES" Value="104"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA EXPLORATORIA DE PERFORACION" Value="105"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA FIJA CON EQ. DE BOMBEO" Value="106"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA FIJA CON EQ. DE COMPRESION" Value="107"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA FIJA CON EQ. DE INYECCION" Value="108"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA FIJA CON EQ. DE PERFORACION" Value="109"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA FIJA CON EQ. DE R. Y T.P." Value="110"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA FIJA DE POZOS EN COMPLEJO" Value="111"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA FIJA SIN EQUIPO" Value="112"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA HABITACIONAL" Value="113"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA SATELITE" Value="114"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA SATELITE DE PRODUCCION" Value="115"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMA TEMPORAL" Value="116"></asp:ListItem>
                    <asp:ListItem Text="PLATAFORMAS MARINAS" Value="117"></asp:ListItem>
                    <asp:ListItem Text="POBLADO" Value="118"></asp:ListItem>
                    <asp:ListItem Text="POLVORINES" Value="119"></asp:ListItem>
                    <asp:ListItem Text="POTABILIZADORA" Value="120"></asp:ListItem>
                    <asp:ListItem Text="POZO" Value="121"></asp:ListItem>
                    <asp:ListItem Text="PROPANODUCTO" Value="122"></asp:ListItem>
                    <asp:ListItem Text="PROVECHAMIENTO DE AGUA SUBTERRANEO" Value="3"></asp:ListItem>
                    <asp:ListItem Text="RECINTO SOCIAL" Value="123"></asp:ListItem>
                    <asp:ListItem Text="RECOLECTOR DE RESIDUOS METALICOS" Value="124"></asp:ListItem>
                    <asp:ListItem Text="REMOLCADORES" Value="125"></asp:ListItem>
                    <asp:ListItem Text="SALODUCTO" Value="126"></asp:ListItem>
                    <asp:ListItem Text="SDD" Value="127"></asp:ListItem>
                    <asp:ListItem Text="SECTOR NAVAL" Value="128"></asp:ListItem>
                    <asp:ListItem Text="SEPARADOR REMOTO" Value="129"></asp:ListItem>
                    <asp:ListItem Text="SUBESTACION ELECTRICA" Value="130"></asp:ListItem>
                    <asp:ListItem Text="TALLERES" Value="131"></asp:ListItem>
                    <asp:ListItem Text="TANQUE DE ALMACENAMIENTO" Value="132"></asp:ListItem>
                    <asp:ListItem Text="TERMINAL MARITIMA" Value="133"></asp:ListItem>
                    <asp:ListItem Text="TRAMO CARRETERO" Value="143"></asp:ListItem>
                    <asp:ListItem Text="TRAMPA DE ENVIO O RECEPCION DE DIABLOS" Value="134"></asp:ListItem>
                    <asp:ListItem Text="UNIDAD DE ALM. Y DISTRIB. DE ACIDOS" Value="135"></asp:ListItem>
                    <asp:ListItem Text="UNIDAD DEPORTIVA" Value="136"></asp:ListItem>
                    <asp:ListItem Text="UNIDADES DE GEOFISICAS" Value="137"></asp:ListItem>
                    <asp:ListItem Text="UNIDADES DE TRANSPORTE" Value="138"></asp:ListItem>
                    <asp:ListItem Text="VALVULAS DE SECCIONAMIENTO" Value="139"></asp:ListItem>
                    <asp:ListItem Text="ZONA FUERA DE LA INSTALACION" Value="140"></asp:ListItem>
                    <asp:ListItem Text="ZONA HABITACIONAL" Value="141"></asp:ListItem>
                    <asp:ListItem Text="ZONA INDUSTRIAL" Value="142"></asp:ListItem>
                    <asp:ListItem Text="ZONA MARINA" Value="146"></asp:ListItem>
                </asp:DropDownList>
                                             
                                        </TD>
                                        </TR>
 
                     
 
                                        <TR>
                                            <TD bgcolor="#A6D2FF" >
                                                <table bgcolor="#A6D2FF" cellpadding="0" cellspacing="0" width="100%">
                                                    <tr>
                                                        <td align="left" bgcolor="#A6D2FF">
                                                            [Dependencia/CIA]:
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="ddlTipoDep" runat="server" AutoPostBack="True"
                                                                OnSelectedIndexChanged="ddlTipoDep_SelectedIndexChanged">
                                                                <asp:ListItem Value="-1">[Seleccione]</asp:ListItem>
                                                                <asp:ListItem Value="1">[Pemex]</asp:ListItem>
                                                                <asp:ListItem Value="2">[Cia]</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </TD>
                                            <TD bgcolor="#A6D2FF"  align="left">    
                                                <asp:DropDownList ID="ddlFRMDepen" runat="server" Width="300px">
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                                                    ControlToValidate="ddlFRMDepen"
                                                    ErrorMessage="[La dependencia/CIA es un valor requerido]" Text="[*]"></asp:RequiredFieldValidator>
 
                                                    </TD>
                                            <TD bgcolor="#A6D2FF" >
                                                [Instalación]:</TD>
                                            <TD  bgcolor="#A6D2FF" >
                                                <asp:DropDownList ID="ddlFRMInstal" runat="server" Width="300px">
                                                </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="ddlFRMInstal" Text="[*]" ErrorMessage="[La instalación es un valor requerido]"></asp:RequiredFieldValidator>
                                                    </TD>
                                        </TR>
 
                                        <tr>
                                        <td bgcolor="#A6D2FF">[Convenio/Contrato]:</td>
                                            <td align="left" bgcolor="#A6D2FF">
                                                <asp:TextBox ID="txtFRMFConvenio" runat="server"
                                                    text='<%# DataBinder.Eval( Container, "DataItem.Convenio" ) %>'
                                                    Width="300px" ></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
                                                    ControlToValidate="txtFRMFConvenio" ErrorMessage="[El convenio es requerido]"
                                                    Text="[*]"></asp:RequiredFieldValidator>
                                            </td>
                                            <td bgcolor="#A6D2FF">
                                                [Tramo ]:</td>
                                            <td bgcolor="#A6D2FF">
                                            <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                            <td>
                                                <asp:TextBox ID="txtFRMTramoIni" runat="server"  Enabled="false"
                                                    Width="100px"></asp:TextBox>                                            
                                            </td>
                                            <td>  
                                                    Km  <b> - </b>  
                                            </td>
                                            <td>
                                            <asp:TextBox ID="txtFRMTramoFin" runat="server"     Enabled="false"                                               
                                                    Width="100px"></asp:TextBox>
                                            </td>
                                            <td>  Km
                                            </td>
                                            </tr>
                                            </table>
 
                                            </td>
                                        </tr>
 
                                                                             
                                        <TR>
                                             
                                            <TD >
                                             
 
                                                [Ficha Responsable]:
                                                 
                                                 
                                            </TD>
                                            <TD >
                                                 
                                                <asp:textbox id="txtFRMFichaRespon"
                                                    text='<%# DataBinder.Eval( Container, "DataItem.FichaResponsable" ) %>' runat="server"
                                                     AutoPostBack="true"
                                                      OnTextChanged="txtFRMFichaRespon_TextChanged"
                                                     Width="300px"
                                                    ></asp:textbox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtFRMFichaRespon" Text="[*]" ErrorMessage="[La ficha del responsable es requerida]"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidator1" ValidationExpression="[0-9]*" ControlToValidate="txtFRMFichaRespon" Text="[Solo valores numericos]" ErrorMessage="[La ficha del responsable es un valor numerico]"></asp:RegularExpressionValidator>
                                                <br />
                                            </TD>
                                             
                                             
                                            <TD  >[Numero de personas]:</TD>
                                            <TD valign=bottom>
                                                <asp:textbox id="txtFRMNumP"
                                                    text='<%# DataBinder.Eval( Container, "DataItem.CantidadPersonas" ) %>' runat="server"
                                                    Width="300px"
                                                    ></asp:textbox>
                                                     
                                                        <asp:RangeValidator ID="RangeValidator2" runat="server"
                                                            ControlToValidate="txtFRMNumP" ErrorMessage="[El número de personas no es correcto]"
                                                            MinimumValue="1" Text="[*]" Type="Integer" MaximumValue="999999999"></asp:RangeValidator>
 
                                                     
                                                <asp:RegularExpressionValidator ID="ReqNumValidator" runat="server"
                                                    ControlToValidate="txtFRMNumP"
                                                    ErrorMessage="[El numero de personas debe ser un valor numerico]"
                                                    Text="[Solo valores numericos]" ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>
                                                     
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
                                                    ControlToValidate="txtFRMNumP"
                                                    ErrorMessage="[El numero de personas es un valor requerido]" Text="[*]"></asp:RequiredFieldValidator>
                                                     
                                            </TD>
                                             
                                        </TR>
 
          
 
 
                                        <TR>
                                        <td>[Nombre Responsable]:</td>
                                            <TD align="center" >
                                                     
                                                    <asp:TextBox ID="txtFRMResponsable" runat="server"
                                                        text='<%# DataBinder.Eval( Container, "DataItem.Responsable" ) %>'
                                                        Width="300px"></asp:TextBox>
                                                     
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
                                                        ControlToValidate="txtFRMResponsable"
                                                        ErrorMessage="[El nombre del responsable es un valor requerido]" Text="[*]"></asp:RequiredFieldValidator>
 
                                                </TD>
                                            <TD >
                                                [Unidad]:</TD>
                                            <TD >
                                                <asp:TextBox ID="txtFRMUnidad" runat="server"
                                                    Width="300px"></asp:TextBox>
                                                     
                                                    </TD>
                                        </TR>
 
          
                                                <tr>
                                                <td>[Categoría]</td>
                                                    <td align="center">
                                                        <asp:DropDownList ID="ddlCategoria" runat="server" 
                                                            Width="300px">
                                                        </asp:DropDownList>
                                                         
                                                        <asp:RangeValidator ID="RangeValidator1" runat="server"
                                                            ControlToValidate="ddlCategoria" ErrorMessage="[Seleccione una categoría]"
                                                            MinimumValue="0" Text="[*]" Type="Integer" MaximumValue="999999999"></asp:RangeValidator>
                                                         
                                                    </td>
                                                    <td>
                                                        [% Avance]:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtFRMAvance" runat="server"
                                                            text='<%# DataBinder.Eval( Container, "DataItem.Avance" ) %>' Width="200px"></asp:TextBox>
                                                        <asp:RangeValidator ID="rngValidator" runat="server"
                                                            ControlToValidate="txtFRMAvance" ErrorMessage="[El % debe ser entre 0-100]"
                                                            MaximumValue="100" MinimumValue="0" Text="[*]" Type="Integer"></asp:RangeValidator>
                                                        <asp:RequiredFieldValidator ID="rfv_Avance" runat="server"
                                                            ControlToValidate="txtFRMAvance" 
                                                            ErrorMessage="[El dato Avance es un valor requerido]" Text="[*]"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                 
                                                 
                                                    <tr bgcolor="#A6D2FF" height="80px">
                                                        <td class="style1">
                                                            [Asunto]:</td>
                                                        <td class="style1">
                                                            <asp:TextBox ID="txtFRMAsunto" runat="server" BorderWidth="0" Height="50px"
                                                                Rows="2" text='<%# DataBinder.Eval( Container, "DataItem.Asunto" ) %>'
                                                                TextMode="MultiLine" Width="300px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server"
                                                                ControlToValidate="txtFRMAsunto"
                                                                ErrorMessage="[El asunto es un valor requerido]" Text="[*]"></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td>
                                                            [Capturista]:</td>
                                                        <td>
                                                            <asp:TextBox ID="txtFRMUsuario" runat="server" Enabled="False"
                                                                text='<%# DataBinder.Eval( Container, "DataItem.Usuario" ) %>' Width="300px"></asp:TextBox>
                                                        </td>
                                                    </tr>
 
                                                 
                                                 
                                                 
                                                </table>
                                                 
                                                     
                                                     
                                                    </TD>
                                        </TR>
 
          
 
 
          
 
 
                        </table>
 
 
 
                    </asp:Panel>
                     
                        <asp:panel ID="pnlPersonal" runat="server"   Visible="false" >
 
                        <uc1:wcPersonal ID="wcPersonal1" runat="server" />                                                       
                         
                </asp:panel>
 
 
 
                     
                     
 
 
 
                         
                     
                    <div align="center">
                                                <asp:button id="cmdFRMUpdate" text="Guardar" CssClass="textbox_general" runat="server" commandname="Update" CausesValidation="true" >
                                                </asp:button>
                                                <asp:button id="cmdFRMCancel" text="Cancelar" CssClass="textbox_general" runat="server" causesvalidation="False"
                                                    commandname="Cancel"></asp:button>
                    </div>                                                 
                   
                   
                  </asp:Panel>
                   
     </formtemplate>
 
 
</editformsettings>
 
                             
                            <CommandItemTemplate>
                            <asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert"><img style="border:0px" alt="" src="./RadControls/Grid/Skins/AddRecord.gif" /> Agregar nuevo</asp:LinkButton>
                            </CommandItemTemplate>
 
        <COLUMNS>
         
             
 
                                <telerik:GridEditCommandColumn EditImageUrl="imagenes/im001.gif" ButtonType="ImageButton" UniqueName="EditCommandColumn">
                                    <ItemStyle Width="15px"></ItemStyle>
                                    <HeaderStyle Width="15px"></HeaderStyle>
                                </telerik:GridEditCommandColumn>
 
 
             
            <telerik:GRIDBUTTONCOLUMN Text="Delete" UniqueName="DeleteColumn" ButtonType="ImageButton" CommandName="Delete"
                ImageUrl="imagenes/im016.gif">
                <ITEMSTYLE Width="10px"></ITEMSTYLE>
                <HEADERSTYLE Width="20px"></HEADERSTYLE>
            </telerik:GRIDBUTTONCOLUMN>
         
         
            <telerik:GRIDTEMPLATECOLUMN >          
            <HeaderStyle width="20px"></HeaderStyle>
                <ItemStyle   width="20px" />
                <ITEMTEMPLATE>
                    <asp:ImageButton  runat="server" ID="btnCopiar"
                    CommandName="Copy" 
                    ImageUrl="imagenes/guardar_copia.png" 
                    />
                     
                </ITEMTEMPLATE>
            </telerik:GRIDTEMPLATECOLUMN>
 
         
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdReporte"
                DataField="IdReporte" HeaderText="IdReporte" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
             
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdCentroInstal"
                DataField="IdCentroInstal" HeaderText="IdCentroInstal" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdInstal"
                DataField="IdInstal" HeaderText="IdInstal" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdCategoria"
                DataField="IdCategoria" HeaderText="IdCategoria" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="TramoIni"
                DataField="TramoIni" HeaderText="TramoIni" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="TramoFin"
                DataField="TramoFin" HeaderText="TramoFin" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="Unidad"
                DataField="Unidad" HeaderText="Unidad" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdTipoInstal"
                DataField="IdTipoInstal" HeaderText="IdTipoInstal" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
             
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdDeptoPersonal"
                DataField="IdDeptoPersonal" HeaderText="Depto Personal" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
             
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdTipoDep"
                DataField="IdTipoDep" HeaderText="Id Tipo Dep" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdDependencia"
                DataField="IdDependencia" HeaderText="Id Dependencia" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
 
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="EsEditable"  visible="false"
                DataField="EsEditable" >
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
                         
            <telerik:GRIDBOUNDCOLUMN UniqueName="FechaRep"
                DataField="FechaRep" HeaderText="Fecha"  DataType="System.DateTime"  >
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
            <telerik:GRIDBOUNDCOLUMN UniqueName="DescDependencia"
                DataField="DescDependencia" HeaderText="Depen/Cia">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
            <telerik:GRIDBOUNDCOLUMN UniqueName="CantidadPersonas"
                DataField="CantidadPersonas" HeaderText="Num Pers" DataType="System.Int32" >
                <HEADERSTYLE width="50px" ></HEADERSTYLE>              
            </telerik:GRIDBOUNDCOLUMN>
 
 
            <telerik:GRIDBOUNDCOLUMN UniqueName="Responsable"
                DataField="Responsable" HeaderText="Responsable">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
             
            <telerik:GRIDBOUNDCOLUMN UniqueName="DescDeptoPersonal"
                DataField="DescDeptoPersonal" HeaderText="Depto/Coord Personal">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
             
             
            <telerik:GRIDBOUNDCOLUMN UniqueName="DescCentroInstal"    visible="false"
                DataField="DescCentroInstal" HeaderText="Centro">
                <HEADERSTYLE width="50px"  ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
             
 
            <telerik:GRIDBOUNDCOLUMN UniqueName="DescInstal"
                DataField="DescInstal" HeaderText="Instalación">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
     
 
            <telerik:GRIDBOUNDCOLUMN UniqueName="Convenio"
                DataField="Convenio" HeaderText="Contrato/Convenio">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>         
 
 
             
 
 
             
             
            <telerik:GRIDBOUNDCOLUMN UniqueName="Asunto"
                DataField="Asunto" HeaderText="Asunto">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>         
                                 
            <telerik:GRIDBOUNDCOLUMN UniqueName="Usuario"
                DataField="Usuario" HeaderText="Capturista">
                <HEADERSTYLE Width="50px"></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>           
         
    </Columns>
     
     
            <EXPANDCOLLAPSECOLUMN Visible="False" UniqueName="ExpandColumn" ButtonType="ImageButton">
            <HEADERSTYLE Width="19px"></HEADERSTYLE>
        </EXPANDCOLLAPSECOLUMN>
    </MASTERTABLEVIEW>
    <HEADERSTYLE ></HEADERSTYLE>
    <SELECTEDITEMSTYLE ></SELECTEDITEMSTYLE>
    <ACTIVEITEMSTYLE ></ACTIVEITEMSTYLE>
    <ITEMSTYLE ></ITEMSTYLE>
    <FOOTERSTYLE ></FOOTERSTYLE>
    <CLIENTSETTINGS >
        <RESIZING AllowColumnResize="True" ResizeGridOnColumnResize="True" EnableRealTimeResize="True"></RESIZING>
        <SCROLLING UseStaticHeaders="True" AllowScroll="True"></SCROLLING>
        <SELECTING AllowRowSelect="True"></SELECTING>
    </CLIENTSETTINGS>
     
    </telerik:radgrid>
Hello Telerik Team,

I'm using Telerik v2.0.50727 on VS2008, and I'm facing an error on Radgrid's edit form when some of the controlls area

                    <telerik:radgrid id="RgData" runat="server"   
                     
                    OnNeedDataSource="RgData_NeedDataSource"
                    AutoGenerateColumns="False" AllowSorting="True"
                        GridLines="None"
                         
                        OnItemDataBound="RgData_ItemDataBound"
                        OnDeleteCommand="RgData_DeleteCommand"
                        OnUpdateCommand="RgData_UpdateCommand"
                        OnItemCommand="RgData_Command"
                        Width="99%"
                        Height="450px"
                        >
                        <FilterItemStyle BackColor="red" />
                         
                        <ItemStyle  Height="50px" />
                        <AlternatingItemStyle Height="50px" ></AlternatingItemStyle>
                        <GroupHeaderItemStyle  ></GroupHeaderItemStyle>
 
                        <MasterTableView CommandItemDisplay="None"  GridLines="None" Height="20px">
                            <RowIndicatorColumn UniqueName="RowIndicator" Visible="False">
                                <HeaderStyle Width="20px" ></HeaderStyle>
                                <ItemStyle ></ItemStyle>
                            </RowIndicatorColumn>
                             
                         
 
<editformsettings editformtype="Template" >
 
   <editcolumn uniquename="EditCommandColumn" ButtonType="ImageButton"></editcolumn>
 
      <formtemplate>
 
<asp:DropDownList runat="server" ID="ddlTipoInstal" Width="300px"
                 AutoPostBack="True"                                                   
                OnSelectedIndexChanged="ddlTipoInstal_SelectedIndexChanged"
                >
 
     </formtemplate>
 
 
</editformsettings>
 
                             
                            <CommandItemTemplate>
                            <asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert"><img style="border:0px" alt="" src="./RadControls/Grid/Skins/AddRecord.gif" /> Agregar nuevo</asp:LinkButton>
                            </CommandItemTemplate>
 
        <COLUMNS>
         
             
 
                                <telerik:GridEditCommandColumn EditImageUrl="imagenes/im001.gif" ButtonType="ImageButton" UniqueName="EditCommandColumn">
                                    <ItemStyle Width="15px"></ItemStyle>
                                    <HeaderStyle Width="15px"></HeaderStyle>
                                </telerik:GridEditCommandColumn>
 
 
             
            <telerik:GRIDBUTTONCOLUMN Text="Delete" UniqueName="DeleteColumn" ButtonType="ImageButton" CommandName="Delete"
                ImageUrl="imagenes/im016.gif">
                <ITEMSTYLE Width="10px"></ITEMSTYLE>
                <HEADERSTYLE Width="20px"></HEADERSTYLE>
            </telerik:GRIDBUTTONCOLUMN>
         
         
            <telerik:GRIDTEMPLATECOLUMN >          
            <HeaderStyle width="20px"></HeaderStyle>
                <ItemStyle   width="20px" />
                <ITEMTEMPLATE>
                    <asp:ImageButton  runat="server" ID="btnCopiar"
                    CommandName="Copy" 
                    ImageUrl="imagenes/guardar_copia.png" 
                    />
                     
                </ITEMTEMPLATE>
            </telerik:GRIDTEMPLATECOLUMN>
 
         
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdReporte"
                DataField="IdReporte" HeaderText="IdReporte" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
             
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdCentroInstal"
                DataField="IdCentroInstal" HeaderText="IdCentroInstal" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdInstal"
                DataField="IdInstal" HeaderText="IdInstal" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdCategoria"
                DataField="IdCategoria" HeaderText="IdCategoria" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="TramoIni"
                DataField="TramoIni" HeaderText="TramoIni" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="TramoFin"
                DataField="TramoFin" HeaderText="TramoFin" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="Unidad"
                DataField="Unidad" HeaderText="Unidad" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdTipoInstal"
                DataField="IdTipoInstal" HeaderText="IdTipoInstal" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
             
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdDeptoPersonal"
                DataField="IdDeptoPersonal" HeaderText="Depto Personal" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
             
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdTipoDep"
                DataField="IdTipoDep" HeaderText="Id Tipo Dep" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="IdDependencia"
                DataField="IdDependencia" HeaderText="Id Dependencia" visible="false">
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
 
 
        <telerik:GRIDBOUNDCOLUMN UniqueName="EsEditable"  visible="false"
                DataField="EsEditable" >
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
                         
            <telerik:GRIDBOUNDCOLUMN UniqueName="FechaRep"
                DataField="FechaRep" HeaderText="Fecha"  DataType="System.DateTime"  >
                <HEADERSTYLE width="60px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
            <telerik:GRIDBOUNDCOLUMN UniqueName="DescDependencia"
                DataField="DescDependencia" HeaderText="Depen/Cia">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
            <telerik:GRIDBOUNDCOLUMN UniqueName="CantidadPersonas"
                DataField="CantidadPersonas" HeaderText="Num Pers" DataType="System.Int32" >
                <HEADERSTYLE width="50px" ></HEADERSTYLE>              
            </telerik:GRIDBOUNDCOLUMN>
 
 
            <telerik:GRIDBOUNDCOLUMN UniqueName="Responsable"
                DataField="Responsable" HeaderText="Responsable">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
 
             
            <telerik:GRIDBOUNDCOLUMN UniqueName="DescDeptoPersonal"
                DataField="DescDeptoPersonal" HeaderText="Depto/Coord Personal">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
             
             
            <telerik:GRIDBOUNDCOLUMN UniqueName="DescCentroInstal"    visible="false"
                DataField="DescCentroInstal" HeaderText="Centro">
                <HEADERSTYLE width="50px"  ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
             
 
            <telerik:GRIDBOUNDCOLUMN UniqueName="DescInstal"
                DataField="DescInstal" HeaderText="Instalación">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>
     
 
            <telerik:GRIDBOUNDCOLUMN UniqueName="Convenio"
                DataField="Convenio" HeaderText="Contrato/Convenio">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>         
 
 
             
 
 
             
             
            <telerik:GRIDBOUNDCOLUMN UniqueName="Asunto"
                DataField="Asunto" HeaderText="Asunto">
                <HEADERSTYLE width="100px" ></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>         
                                 
            <telerik:GRIDBOUNDCOLUMN UniqueName="Usuario"
                DataField="Usuario" HeaderText="Capturista">
                <HEADERSTYLE Width="50px"></HEADERSTYLE>
            </telerik:GRIDBOUNDCOLUMN>           
         
    </Columns>
     
     
            <EXPANDCOLLAPSECOLUMN Visible="False" UniqueName="ExpandColumn" ButtonType="ImageButton">
            <HEADERSTYLE Width="19px"></HEADERSTYLE>
        </EXPANDCOLLAPSECOLUMN>
    </MASTERTABLEVIEW>
    <HEADERSTYLE ></HEADERSTYLE>
    <SELECTEDITEMSTYLE ></SELECTEDITEMSTYLE>
    <ACTIVEITEMSTYLE ></ACTIVEITEMSTYLE>
    <ITEMSTYLE ></ITEMSTYLE>
    <FOOTERSTYLE ></FOOTERSTYLE>
    <CLIENTSETTINGS >
        <RESIZING AllowColumnResize="True" ResizeGridOnColumnResize="True" EnableRealTimeResize="True"></RESIZING>
        <SCROLLING UseStaticHeaders="True" AllowScroll="True"></SCROLLING>
        <SELECTING AllowRowSelect="True"></SELECTING>
    </CLIENTSETTINGS>
     
    </telerik:radgrid>
Iana Tsolova
Telerik team
 answered on 08 Sep 2011
7 answers
665 views
Hi,

I am using the scolling feature in RADGrid. When there are more than 6 records in the grid it looks fine. If there are lesser records then I can see an empty area in the bottom of the grid. I set the height of the grid to 350 px. If I use StaticHeaders="true" I can see the space in both the sides, right and bottom. Please give me some workaround for this. Any suggestions are highly appreciated.
Ram
Top achievements
Rank 1
 answered on 08 Sep 2011
1 answer
86 views
Hi...

I want to set the splitter to take available height in a table. A table has 3 rows and in the last row, splitter is there. User can click on a link given in 2nd row to toggle the display of the first row. So if first row is set to display = 'none', the splitter should take available space i.e. its height should  increase. And if user sets the  display = 'block' for first row, then splitter's height should decrease. But in any case, window should not have scroll.

My splitter is having panelbar in 1 of its pane. So if that pane is docked or undocked, splitter should always get proper height and no data should cut.

My page is quite complex, so I was thinking that I am doing something wrong. So I tried creating smaller version of my actual page. In that page also I am not able to get expected result. 

Here I am attaching html of the smaller page. 

I would appreciate a very very quick response as I've already struggled for 3-4 days to get it work.

aspx page.


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostedToTelerik.aspx.cs" Inherits="TelerikPlayGround.Splitter.PostedToTelerik" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head id="Head1" runat="server">
    <title></title>
    <style type="css">
    html, body, form
    {
        height: 100%;
        margin: 0px;
        padding: 0px;
        overflow: hidden;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server" >
    <asp:ScriptManager ID="ScriptManager" runat="server" />
    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
        <script type="text/javascript">
            function toggle()
            {
                var d = document.getElementById("divHeader");
                if (d)
                {
                    if (d.style.display != 'none')
                    {
                        d.style.display = 'none';
                    }
                    else
                    {
                        d.style.display = 'block';
                    }
                }
            }
        </script>
    </telerik:RadScriptBlock>
    <table id="tblMain" border="10" style="height:100%;width:100%;" >
        <tr >
            <td>
                <div id="divHeader" style="display:block;">
                    header
                    <br />1
                    <br />2
                    <br />3
                    <br />4
                    <br />5
                    <br />6
                    <br />7
                    <br />8
                    <br />9
                    <br />10
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <a href = "#" onclick="toggle()">
                    Toggle
                </a>
            </td>
        </tr>
        <tr id="trSplitter" >
            <td id="tdSplitter" >
                <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Horizontal" Skin="Office2007" Height="100%" Width="100%">
                    <telerik:RadPane ID="MainPane" runat="server" Scrolling="none">
                        <telerik:RadSplitter ID="NestedSplitter" runat="server" Skin="Office2007" LiveResize="true">
                            <telerik:RadPane ID="LeftPane" runat="server">
                                <!-- Place the content of the pane here -->
                                <telerik:RadSlidingZone ID="SlidingZone1" runat="server" Width="22" DockedPaneId="slidingPaneSearchPanels">
                                    <telerik:RadSlidingPane ID="slidingPaneSearchPanels" runat="server" Width="250" Title="SearchPanels"
                                        Font-Bold="true" Scrolling="None" DockOnOpen="false" EnableResize="false">
                                        <div style="padding-left: 0px; padding-top: 0px;">
                                            <telerik:RadPanelBar runat="server" ID="panelBarLeftSearchPanels" Height="100%" ExpandMode="MultipleExpandedItems"
                                                Style="margin-right: 30px; overflow: hidden;" Skin="Office2007" >
                                                <Items>
                                                    <telerik:RadPanelItem Text="1"></telerik:RadPanelItem>
                                                    <telerik:RadPanelItem Text="2"></telerik:RadPanelItem>
                                                    <telerik:RadPanelItem Text="3"></telerik:RadPanelItem>
                                                    <telerik:RadPanelItem Text="4"></telerik:RadPanelItem>
                                                </Items>
                                            </telerik:RadPanelBar>
                                        </div>
                                    </telerik:RadSlidingPane>
                                </telerik:RadSlidingZone>
                            </telerik:RadPane>
                            <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" />
                            <telerik:RadPane ID="ContentPane" runat="server">
                                <!-- Place the content of the pane here -->
                            </telerik:RadPane>
                        </telerik:RadSplitter>
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>


Dobromir
Telerik team
 answered on 08 Sep 2011
5 answers
137 views
Hello,

I'm attempting to utilize ASP.NET's Themes with Embedded Resources using Telerik's RadStyleSheetManager.

I'm using VS 2008, IIS 6

Can this be done?  If so, do you a resource on how to go about do it?

As I'm setting up my embedded resources via http://www.telerik.com/help/aspnet-ajax/radstylesheetmanager.html is there a way to globally set EnableEmbeddedSkins="False" for all my custom skinned Telerik controls?  I'm unsure how to get it to work with the simpler .skin file.  I am able to get it to work perfectly when I set EnableEmbeddedSkins="False" on each control individually.

Any ideas?

Thanks in advance!
Allen


Kate
Telerik team
 answered on 08 Sep 2011
4 answers
214 views
Hi,

i want to use the editor to edit Text or CSS files. But the content always returns
HTML. Is there a way to open and save CSS or text files as they were?

Thanx in advance.
Selçuk
Top achievements
Rank 1
 answered on 08 Sep 2011
1 answer
54 views

Hi,

Based on radlistbox check changed event i am adding rows in radgrid. My problem is when i add below code on item created event of radgrid then rows will not be added  or deleted to radgrid.

protected void rgSupportingDocumentation_ItemCreated(object sender, GridItemEventArgs e)
      {
           if (e.Item is GridEditableItem && e.Item.IsInEditMode)
           {
               GridEditableItem editItem = (GridEditableItem)e.Item;
               TextBox txtbx = (TextBox)editItem["DocId"].Controls[0];
               txtbx.ID = "TextValidated";

               RequiredFieldValidator reqfdvalidtr = new RequiredFieldValidator();
               reqfdvalidtr.ID = "RequiredFieldValidator1";
               reqfdvalidtr.ErrorMessage = "RequiredField";
               reqfdvalidtr.ControlToValidate = "TextValidated";
               editItem["DocId"].Width = Unit.Pixel(100);
               editItem["DocId"].Controls.Add(reqfdvalidtr);

           }

Please revert soon if someone have some solution.
Thanks,
Mira
Telerik team
 answered on 08 Sep 2011
4 answers
469 views

Hi
We are using Telerik RadGrid in that we are using "GridDateTimeColumn" for Datetime Columns.If we use Filter options  as equal to for any options it is showing no datafound. We have tried various methods In the previous post from the following links
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx
http://www.telerik.com/community/forums/aspnet-ajax/grid/filter-problem-on-a-griddatetimecolumn.aspx
http://www.telerik.com/community/forums/aspnet-ajax/grid/griddatetimecolumn-filter-date-format.aspx
http://www.telerik.com/community/forums/aspnet-ajax/grid/griddatetimecolumn-filter.aspx .
Also some of the sample project downloaded from post we have tried but that too seems not to be working .

The Sample Code snippet in the aspx page we have used

 

 

 

<telerik:GridDateTimeColumn DataField="LAST_LOGON_DATE" HeaderText="Last Accessed"

 

 

 

 

 

 

 

 

DataType="System.DateTime" SortExpression="LAST_LOGON_DATE" UniqueName="LASTLOGONDATE"

 

 

 

 

 

 

 

 

PickerType="DatePicker" ItemStyle-HorizontalAlign="Left" DataFormatString="{0:dd/MM/yyyy,HH:mm}"

 

 

 

 

 

 

 

 

ItemStyle-Font-Size="8pt" HeaderStyle-Width="160px" ItemStyle-Width="160px" meta:resourcekey="LASTLOGONDATE">

 

 

 

 

 

 

 

 

</telerik:GridDateTimeColumn>

For Picker We have also tried in the ItemCreated method

 

 

 

protected void radgridAdminListUser_ItemCreated(object sender, GridItemEventArgs e)

 

{

 

 

try

 

 

 

 

 

{

 

 

if (e.Item is GridFilteringItem)

 

{

 

 

RadDatePicker picker = ((GridFilteringItem)e.Item)["LASTLOGONDATE"].Controls[0] as RadDatePicker;

 

 

 

if (picker != null)

 

{

picker.DateInput.DateFormat =

 

"dd-MM-yyyy HH:mm tt";

 

 

}

}

}

}
}
but that is also not working.
for more info please find the ScreenCapture in the attachment

Mira
Telerik team
 answered on 08 Sep 2011
2 answers
106 views
Hi,

I tried to export a very simple grid (inside a splitter pane) to PDF but failed, with the following errors, any idea and advice?

I'm using the latest build.

System.InvalidCastException: Unable to cast object of type 'Telerik.Web.Apoc.Layout.BlockArea' to type 'Telerik.Web.Apoc.Layout.AreaContainer'.
at Telerik.Web.Apoc.Fo.Flow.BlockContainer.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

Andy Ho
Top achievements
Rank 1
 answered on 08 Sep 2011
2 answers
99 views
Hi,

I have RadGrids bound to both entitydatasources and SQLdatasources, I need the grids to initially show no records when the page is first displayed but then allow the user to use filters to display the required records.

What is the best way to achieve this? I have tried following the example found in the link below but I get errors for both SQL and Entity Datasources.

http://www.telerik.com/help/aspnet-ajax/grid-applying-default-filter-on-initial-load.html

Thank you in advance for any help you can give.

Regards
Albert
Top achievements
Rank 1
 answered on 08 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?