Ver Mensaje Individual
  #12 (permalink)  
Antiguo 30/06/2010, 13:29
Eddief
 
Fecha de Ingreso: junio-2010
Mensajes: 12
Antigüedad: 13 años, 10 meses
Puntos: 0
Respuesta: page_load se ejecuta multiples veces

Cita:
<tr>
<td class="style25">
<asp:Label ID="Label6" runat="server" Text="Categoria:" CssClass="formu"></asp:Label>
</td>
<td >
<asp:DropDownList ID="ddl_categorias" CssClass="formu" runat="server"
Height="20px" Width="172px"
onselectedindexchanged="ddl_categorias_SelectedInd exChanged" AutoPostBack= "true" >

</asp:DropDownList>
</td>
<td class="style25">
&nbsp;</td>
<td class="style25">
&nbsp;</td>
<td class="style25">
&nbsp;</td>
</tr>
<tr>
<td class="style40" rowspan="5" colspan="2" valign="top">

<asp:Panel ID="pnl_categ_prod" CssClass="formu" runat="server"
Height="428px" ScrollBars="Auto"
GroupingText="Categorias Productos" Width="236px">
<asp:TreeView ID="tv_categ_prod" runat="server"
CollapseImageUrl="~/images/Tree/fc.png" ExpandDepth="0"
ExpandImageUrl="~/images/Tree/f.png"
NoExpandImageUrl="~/images/Tree/locked.png"
style="position: relative; top: 7px; left: -3px; height: 391px; width: 231px;"
onselectednodechanged="tv_categ_prod_SelectedNodeC hanged">
<SelectedNodeStyle BackColor="#666699" />
<NodeStyle Font-Size="Small" />
<LeafNodeStyle Font-Size="Small" />
</asp:TreeView>
</asp:Panel>


</td>
</tr>
<tr>
<td class="style61" rowspan="3" valign="top">



<asp:Panel ID="pnl_marcas" CssClass="formu" runat="server"
GroupingText="Marcas" Height="423px"
ScrollBars="Auto" Width="155px">
<asp:TreeView ID="tv_marcas" runat="server"
CollapseImageUrl="~/images/Tree/fc.png" ExpandDepth="0"
ExpandImageUrl="~/images/Tree/f.png"
NoExpandImageUrl="~/images/Tree/locked.png"
style="position: relative; top: 10px; left: -10px; height: 428px; width: 152px;"
onselectednodechanged="tv_marcas_SelectedNodeChang ed">
<SelectedNodeStyle BackColor="#0099FF" />
<NodeStyle Font-Size="Small" />
<LeafNodeStyle Font-Size="Small" />
</asp:TreeView>

</asp:Panel>

</td>
<td class="style5" valign="top">
<asp:GridView ID="gv_modelos" runat="server" AllowPaging="True"
AutoGenerateColumns="False" CssClass="GRID_Main" GridLines="None"
PageSize="5"
style="top: 0px; left: 183px; width: 550px; text-align: center;"
onpageindexchanging="gv_modelos_PageIndexChanging" DataKeyNames="id" >
<RowStyle CssClass="GRID_AlternateRow2" Height="15px" />
<Columns>
<asp:BoundField HeaderText="Modelo" ItemStyle-Width="70" DataField="modelo">
<ItemStyle Width="150px" />
</asp:BoundField>
<asp:TemplateField HeaderText="Cantidad" ItemStyle-Width="50px">
<ItemTemplate>
<table style="width:9%; height: 5px;">
<tr>
<td rowspan="2">
<asp:TextBox ID="tb_cantidad" runat="server" CssClass="formu" Height="16px"
Width="28px" AutoPostBack="True" ontextchanged="tb_cantidad_TextChanged"></asp:TextBox>
<asp:NumericUpDownExtender ID="tb_cantidad_NumericUpDownExtender" runat="server"
Enabled="True" Maximum="100" Minimum="1" RefValues="" ServiceDownMethod=""
ServiceDownPath="" ServiceUpMethod="" Tag="" TargetButtonDownID="btnDown"
TargetButtonUpID="btnUp" TargetControlID="tb_cantidad" Width="45">
</asp:NumericUpDownExtender>
</td>
<td>
<asp:ImageButton ID="btnUp" runat="server" Height="8px"
ImageUrl="~/images/numericUpDown/up.gif" Width="28px" />
</td>
</tr>
<tr>
<td>
<asp:ImageButton ID="btnDown" runat="server" Height="8px"
ImageUrl="~/images/numericUpDown/down.gif" Width="28px" />