Ver Mensaje Individual
  #6 (permalink)  
Antiguo 27/07/2015, 11:05
marioincio
 
Fecha de Ingreso: marzo-2012
Ubicación: Los olivos
Mensajes: 40
Antigüedad: 12 años, 2 meses
Puntos: 1
Respuesta: de ie to ff o chrome

esta es la grilla, cómo accedo con javascript a las celdas.
Código ASP:
Ver original
  1. <asp:Panel ID="Panel_GV_Detalle" runat="server" Width="990px" ScrollBars="Horizontal">
  2.                                     <table width="100%" cellpadding="0" cellspacing="0">
  3.                                         <tr>
  4.                                             <td>
  5.                                                 <asp:GridView ID="GV_Detalle" runat="server" AutoGenerateColumns="False"
  6.                                                     Width="100%">
  7.                                                     <Columns>
  8. <asp:TemplateField HeaderText="P. Venta" HeaderStyle-Height="25px" ItemStyle-HorizontalAlign="Center"
  9.                                                             HeaderStyle-HorizontalAlign="Center">
  10.                                                             <ItemTemplate>
  11.                                                                 <table cellpadding="0" cellspacing="0">
  12.                                                                     <tr>
  13.                                                                         <td>
  14.                                                                             <asp:TextBox ID="txtPrecioVenta" TabIndex="101" CssClass="TextoRight" onblur=" return(      valPorcentMaximoDctoxArticulo_OnBlur(this)    ); "
  15.                                                                                 onKeyPress="return(    validarNumeroPuntoPositivo()       );" onFocus="return(   aceptarFoco(this)   );"
  16.                                                                                 onKeyup="return(   calcularTotales_GV_Detalle(1,this)           );" runat="server"
  17.                                                                                 Width="60px" Font-Bold="true" Text='<%#DataBinder.Eval(Container.DataItem,"PrecioSD","{0:F2}")%>'></asp:TextBox>
  18.                                                                         </td>
  19.                                                                     </tr>
  20.                                                                 </table>
  21.                                                             </ItemTemplate>
  22.                                                             <HeaderStyle Height="25px" HorizontalAlign="Center" />
  23.                                                             <ItemStyle HorizontalAlign="Center" />
  24.                                                         </asp:TemplateField>
  25.                                                     </Columns>                                                    
  26.                                                 </asp:GridView>
  27.                                             </td>
  28.                                         </tr>
  29.                                     </table>
  30.                                 </asp:Panel>
__________________
Conocimiento que no se comparte se pierde