Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/06/2007, 09:04
bimofeiv
 
Fecha de Ingreso: junio-2007
Mensajes: 1
Antigüedad: 16 años, 11 meses
Puntos: 0
Pregunta Animación dentro de update panel

Hola!

Hay alguna manera de poder poner una animacion dentro de un updatepanel?
El error que me da es 'An extender can't be in a different UpdatePanel than the control it extends.'
lo quiero hacer así porque desde el updatepanel de la animacion quiero capturar el evento 'SelectedIndexChanged'
del control 'DropDownListTerritorios' del otro panel.

muchas gracias.

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<contenttemplate>
<LABEL id="LabelMostrarLosDatos" class="LabelVerdanaRojoPequeña">Mostrar los datos de </LABEL>
<asp:DropDownList id="DropDownListTerritorios" runat="server" AutoPostBack="True"></asp:DropDownList>
<asp:DropDownList id="DropDownListMunicipios" runat="server" AutoPostBack="True" ></asp:DropDownList>
<cc1:CascadingDropDown id="CascadingDropDown1" runat="server" TargetControlID="DropDownListTerritorios" Category="territorio" LoadingText="Cargando territorios..." ServicePath="WebService.asmx" ServiceMethod="CargarTerritorios" ParentControlID="" PromptText="Seleccione un territorio"></cc1:CascadingDropDown>
<cc1:CascadingDropDown id="CascadingDropDown2" runat="server" TargetControlID="DropDownListMunicipios" Category="Municipio" LoadingText="Cargando municipios..." ServicePath="WebService.asmx" ServiceMethod="CargarMunicipios" ParentControlID="DropDownListTerritorios" PromptText="Seleccione un municipio"></cc1:CascadingDropDown>
</contenttemplate>
</asp:UpdatePanel>


<asp:UpdatePanel runat="server" ID="panel2">
<ContentTemplate>
<cc1:AnimationExtender ID="AnimationExtenderControlBase1" runat="server" TargetControlID="btnComenzar">
</cc1:AnimationExtender>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="DropDownListTerritorios" EventName="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>