|    
			
				18/10/2008, 21:43
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: septiembre-2005 Ubicación: Medellin 
						Mensajes: 215
					 Antigüedad: 20 años, 1 mes Puntos: 0 |  | 
  |  Respuesta: Controles creados dinámicamente desaparecen  
  siiiiiiiiiiii mirá...
 <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" Explicit="true" %>
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head runat="server">
 <title>Página sin título</title>
 <style type="text/css">
 .style1
 {
 width: 938px;
 }
 #Button1
 {
 width: 105px;
 }
 #BtnEnvInf
 {
 width: 105px;
 }
 </style>
 </head>
 <body>
 <form id="form1" runat="server">
 <div class="style1">
 
 <asp:Image ID="Image1" runat="server" Height="70px" Width="555px" />
 <br />
 <br />
 <br />
 <br />
  
 <asp:Label ID="Label4" runat="server" Font-Names="Arial" Text="Encuesta:"></asp:Label>
     
 <asp:TextBox ID="TxtCodEnc" runat="server" Width="98px"></asp:TextBox>
 <asp:TextBox ID="TxtNomEnc" runat="server" Width="492px"></asp:TextBox>
 <br />
 <br />
  
 <asp:Label ID="Label5" runat="server" Font-Names="Arial" Text="Consecutivo:"></asp:Label>
 <asp:TextBox ID="TextBox7" runat="server" Width="100px"></asp:TextBox>
 <asp:Label ID="Label6" runat="server" Font-Names="Arial"
 Text="Formulario Ant.:"></asp:Label>
 <asp:TextBox ID="TextBox8" runat="server" Width="100px"></asp:TextBox>
 <asp:Label ID="Label8" runat="server" Font-Names="Arial" Text="Año:"></asp:Label>
 <asp:TextBox ID="TxtAño" runat="server" Width="90px"></asp:TextBox>
 <asp:Label ID="Label9" runat="server" Font-Names="Arial" Text="Semestre:"></asp:Label>
 <asp:TextBox ID="TxtSem" runat="server" Width="55px"></asp:TextBox>
 <br />
 <br />
         &n  bsp;       &nbs  p;                  &n  bsp;       &nbs  p;                  &n  bsp;       &nbs  p;                  &n  bsp;       &nbs  p;                  &n  bsp;       &nbs  p;                  &n  bsp;       &nbs  p;          ;
 <asp:Label ID="LblAñoSem" runat="server" Visible="False"></asp:Label>
 <br />
 <br />
  
 <asp:Label ID="Label1" runat="server" Font-Names="Arial" Text="Código:"></asp:Label>
  
 <asp:TextBox ID="TxtCod" runat="server" Width="109px"></asp:TextBox>
 <asp:Label ID="Label2" runat="server" Font-Names="Arial" Text="Cédula:"></asp:Label>
 <asp:TextBox ID="TxtCed" runat="server" Width="109px"></asp:TextBox>
 <asp:TextBox ID="TxtNom" runat="server" Width="360px"></asp:TextBox>
 <br />
 <br />
  
 <asp:Label ID="Label7" runat="server" Font-Names="Arial" Text="Grupos:"></asp:Label>
    
 <asp:DropDownList ID="CmbGrupos" runat="server" AutoPostBack="True"
 DataSourceID="dsGrupos" DataTextField="Cod_Grupo" DataValueField="Cod_Grupo"
 Width="109px">
 </asp:DropDownList>
 <asp:TextBox ID="TxtMat" runat="server" Width="524px"></asp:TextBox>
 <br />
 <br />
  
 <asp:Label ID="Label10" runat="server" Font-Names="Arial" Text="Docente:"></asp:Label>
  
 <asp:TextBox ID="TxtCedPro" runat="server" Width="109px"></asp:TextBox>
 <asp:TextBox ID="TxtNomPro" runat="server" Width="523px"></asp:TextBox>
 <br />
 <asp:SqlDataSource ID="dsGrupos" runat="server"
 ConnectionString="<%$ ConnectionStrings:EncConnectionString %>"
 SelectCommand="SELECT DISTINCT [Cod_Grupo] FROM [Est_Grupo] WHERE (([Cod_Est] = @Cod_Est) AND ([Año] = @Año))">
 <SelectParameters>
 <asp:ControlParameter ControlID="TxtCod" Name="Cod_Est" PropertyName="Text"
 Type="String" />
 <asp:ControlParameter ControlID="LblAñoSem" Name="Año" PropertyName="Text"
 Type="Int16" />
 </SelectParameters>
 </asp:SqlDataSource>
 <br />
         &n  bsp;       &nbs  p;                  &n  bsp;       &nbs  p;                  &n  bsp;       &nbs  p;                  &n  bsp;       &nbs  p;                  &n  bsp;       &nbs  p;       
 <asp:Button ID="CmdBus" runat="server" Height="32px" Text="Buscar" />
  
 <asp:Button ID="Button2" runat="server" Height="32px" Text="Limpiar"
 Width="62px" />
  
 <asp:Button ID="CmdGuardar" runat="server" Height="32px" Text="Guardar"
 Width="62px" />
 <br />
 <br />
 <br />
 <asp:Panel ID="Panel1" runat="server" EnableViewState="true" >
 </asp:Panel>
 <br />
 <br />
 <br />
 <br />
 
 </div>
 </form>
 </body>
 </html>
 
 
 no se que podrá ser o faltar o por no ser definidos con la página, por ser desde el comienzo...ni los valores alcanzo a recuperar...pss si me pudieras vos oa lguien ayudar pss se loa gradecería mucho
 
				__________________JU4N35
     |