Ver Mensaje Individual
  #13 (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:
</td>
</tr>
</table>
</ItemTemplate>
<ItemStyle Width="50px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Seleccion" ItemStyle-HorizontalAlign="center"
ItemStyle-Width="40px">
<ItemTemplate>
<asp:CheckBox ID="ck_seleccion" runat="server"
EnableViewState="True" AutoPostBack="True"
oncheckedchanged="ck_seleccion_CheckedChanged" />
</ItemTemplate>
<EditItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" />
</EditItemTemplate>
<ItemStyle Width="25px" />
</asp:TemplateField>
</Columns>
<PagerStyle CssClass="GRID_Pager" />
<AlternatingRowStyle CssClass="GRID_AlternateRow" Height="15px" />
</asp:GridView>
</td>
<td class="style16" rowspan="3">
</td>
</tr>
<tr>
<td class="style20">
<asp:Button ID="bt_agregar_mat" runat="server" CssClass="btn"
Text="Agregar Materiales" onclick="bt_agregar_mat_Click" />
</td>
</tr>
<tr>
<td >
<asp:GridView ID="gv_seleccionados" runat="server" AllowPaging="True"
AutoGenerateColumns="False" CssClass="GRID_Main" DataKeyNames="id,id_modelo,id_sol"
EmptyDataText="Sin Datos" GridLines="None"
onpageindexchanging="gv_seleccionados_PageIndexCha nging"
onrowcommand="gv_seleccionados_RowCommand" PageSize="5"
style="top: 0px; left: 183px; text-align: center;" Width="549px">
<RowStyle CssClass="GRID_AlternateRow2" Height="15px" />
<Columns>
<asp:BoundField DataField="modelo" HeaderText="Modelo">
</asp:BoundField>
<asp:BoundField DataField="cantidad" HeaderText="Cantidad" ItemStyle-Width="80">

<ItemStyle Width="80px" />

</asp:BoundField>
<asp:TemplateField HeaderText="Quitar" ItemStyle-HorizontalAlign="center"
ItemStyle-Width="40">
<ItemTemplate>
<asp:ImageButton ID="eliminar" runat="server"
CommandArgument="<%# Container.DataItemIndex %>" CommandName="eliminar"
ImageUrl="~/images/del_grid.png"
OnClientClick= "return confirm('¿Desea quitar este modelo de la solicitud?');" />
</ItemTemplate>
<EditItemTemplate>
<asp:CheckBox ID="CheckBox2" runat="server" />
</EditItemTemplate>
<ItemStyle Width="25px" />
</asp:TemplateField>
</Columns>
<PagerStyle CssClass="GRID_Pager" />
<AlternatingRowStyle CssClass="GRID_AlternateRow" Height="15px" />
</asp:GridView>
</td>
</tr>
<tr>
<td class="style61">

&nbsp;</td>
<td class="style11">
<asp:Button ID="btn_terminar" CssClass="btn" runat="server" Text="Aceptar"
onclick="btn_terminar_Click"/>
</td>
<td>
&nbsp;</td>
</tr>
</table>





</td>

<td background="../images/conten5.jpg" class="style2"></td>
</tr>
<tr>
<td><img alt="" src="http://www.forosdelweb.com/f78/images/conten6.jpg" width="17" height="21" /></td>
<td background="../images/conten8.jpg">&nbsp;</td>
<td><img alt="" src="http://www.forosdelweb.com/f78/images/conten8-08.jpg" width="17" height="21" /></td>
</tr>
</table>

</td>
<td class="style15"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="style3">

&nbsp;</td>
<td class="style15">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="style3">

&nbsp;</td>
<td class="style15">&nbsp;</td>
</tr>
</table>

</ContentTemplate>
</asp:UpdatePanel>

<asp:UpdateProgress ID="UpdateProgress2" runat="server">
<ProgressTemplate>
<DIV id="IMGDIV" align="center" valign="middle" runat="server"


style="position: absolute;left: 50%;top: 57%; visibility:visible;vertical-align:middle;border-style:none;border-color:black;background-color:#c8d1d4; height: 40px;">
<img alt="" src="http://www.forosdelweb.com/f78/images/loading.gif" style="height: 36px" /><span class="formu">Procesando</span><br />
</DIV>
</ProgressTemplate>
</asp:UpdateProgress>
</form>
</body>
</html>