Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/02/2013, 03:53
maialenlopez
 
Fecha de Ingreso: abril-2012
Mensajes: 449
Antigüedad: 12 años, 1 mes
Puntos: 7
Pregunta ir creando según el usuario vaya introduciendo

Hola estoy haciendo una aplicación web y necesito vuestra ayuda para realizar esto ya que no se ni por donde empezar.

os explico; tengo un .aspx en el que tengo lo siguiente:
Código aspx:
Ver original
  1. <%@ Page Title="Hoja de Visas" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="HojaVisas.aspx.vb" Inherits="HojaDeGastos.HojaVisas" %>
  2.  
  3. <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
  4. </asp:Content>
  5. <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
  6. <asp:DropDownList ID="ComboConceptosV1" runat="server" Height="25px"
  7.             Width="175px" AutoPostBack="True">
  8.         </asp:DropDownList>
  9.         &nbsp;
  10.         <asp:Label ID="Label1" runat="server" Text="Descripción: "></asp:Label>
  11.         <asp:TextBox ID="TextDescripcionV1" runat="server" BackColor="#CCCCCC"
  12.             Width="190px"></asp:TextBox>
  13.         &nbsp;
  14.         <asp:Label ID="Facturable1" runat="server" Text="Facturable: "></asp:Label>
  15.         <asp:RadioButtonList ID="RadioButtonFacturableV1" runat="server" AutoPostBack="True" RepeatDirection="Horizontal" RepeatLayout="Flow" CellPadding="-1" Enabled="False">
  16.             <asp:ListItem Value="1">SI</asp:ListItem>
  17.             <asp:ListItem Value="2">NO</asp:ListItem>
  18.         </asp:RadioButtonList>
  19.         <asp:Label ID="Label2" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
  20.         &nbsp;
  21.         <asp:Label ID="Orden1" runat="server" Text="Orden: "></asp:Label>
  22.         <asp:TextBox ID="TextOrdenV1" runat="server" BackColor="#CCCCCC" Width="90px"
  23.             Enabled="True" AutoPostBack="True"></asp:TextBox>
  24.         &nbsp;
  25.         <asp:Label ID="Proyecto1" runat="server" Text="Proyecto: "></asp:Label>
  26.         <asp:TextBox ID="TextProyectoV1" runat="server" BackColor="#CCCCCC" Width="80px"
  27.             Enabled="True" AutoPostBack="True"></asp:TextBox>
  28.         &nbsp;
  29.         <asp:Label ID="Importe1" runat="server" Text="Importe: "></asp:Label>
  30.         <asp:TextBox ID="TextImporteV1" runat="server" BackColor="#CCCCCC" Width="50px"
  31.             Enabled="True" AutoPostBack="True"></asp:TextBox>
  32.         <asp:Label ID="validacionImporteV1" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
  33.         &nbsp;
  34. </asp:Content>

Lo que quiero es que todo lo que he puesto en el codigo .aspx se vaya creando automaticamente. Es decir, que si un usuario termina de introducir en el Importe1 un valor, que me genere de nuevo todo (ComboConceptosV1, label1, TextDescripcionV1, ... ) hasta llegar al validacionImporteV1.

¿alguien tiene alguna idea de como hacerlo?
__________________
Gracias por todo;

Un saludo