Este es un link permanente de
|
30/06/2009 12:19:22
|
|
Problemas con DropdownList
|
|
|
|
|
Hola, tengo un problema con un Dropdownlist, en relidad he agregado 3 dropdownlist a mi pagina web (aspx) y lo que haglo es cargar los tres combos a la vez, cuando yo quiero ir seleccionar los items del tercer combo no se ejecuta el evento SelectedIndexChanged, y eso que en el Aspx tengo todos los combos declarado con AutoPostBack a true. Con los demás combos no hay ningun problema se ejcuta su evento SelectedIndexChanged se ejecuta correctamente, es decir el problema es como si no realizase el autoPostBack en este último combo. No pasa en ningun momento ya que le puse un breakpoint.
Os pongo parte del codigo del Aspx
<td style="width: 8%; height: 25px;" colspan="6"> <asp:DropDownList ID="ddlMascara" AutoPostBack="true" Height="16px" Width="190px" onselectedindexchanged="ddlMascara_SelectedIndexChanged" DataTextField= "Mascara" runat="server" DataValueField="MascaraId"> </asp:DropDownList> </td> <td style="width: 1%; height: 25px;"colspan="6"> </td> <td style="width: 2%; height: 25px;" colspan="6"> <asp:Label ID="Label8" runat="server" Text="Tipologia" Font-Names="Tahoma" Font-Size="9pt"></asp:Label> </td> <td style="width: 7%; height: 18px;" colspan="6"> <asp:DropDownList ID="ddlTipologia" AutoPostBack="true" Height="16px" Width="200px" onselectedindexchanged="ddlTipologia_SelectedIndexChanged" DataTextField= "Nombre" runat="server" DataValueField="TipologiaId"> </asp:DropDownList> </td> <td style="width: 1%; height: 25px;" colspan="6"> </td> <td style="width: 3%; height: 25px;" colspan="6"> <asp:Label ID="Label7" runat="server" Text="Nombre Columna" Font-Names="Tahoma" Font-Size="9pt"></asp:Label> </td> <td style="width: 7%; height: 18px;" colspan="6"> <asp:DropDownList ID="ddlNombreCol" AutoPostBack="true" Height="16px" Width="200px" onselectedindexchanged="dllNombreCol_SelectedIndexChanged" DataTextField= "NombreColumna" runat="server" DataValueField="CadenaId"> </asp:DropDownList> </td>
El Dropdownlist que no funciona es el ddlNombreCol. Si me pueden ayudar se lo agradeceria un monton.
|
|
|