Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/05/2008, 09:24
nancy8120
 
Fecha de Ingreso: enero-2006
Mensajes: 233
Antigüedad: 18 años, 4 meses
Puntos: 2
Re: Logout con la tecla enter

<!--cuerpo-->

<table cellpadding=0 cellspacing=10 border=0 width=100%>

<tr><td align=right style="text-align: right; height: 28px; width: 150px;">
Proyecto:</td><td style="text-align: left; height: 28px;">
<asp:TextBox ID="TxtProyecto" runat="server" Height="17px" Width="300px"></asp:TextBox>
&nbsp;<asp:requiredFieldValidator ID="RequiredFieldValidator3"
controlToValidate="TxtProyecto" errorMessage="campo obligatorio" runat="server" />


</td></tr>
<tr><td align=right style="height: 32px; text-align: right; width: 150px;" valign="top">
Monto Total:</td><td style="height: 32px; text-align: left" valign="top">



<asp:TextBox ID="TxtMontoTotal" runat="server" Width="80px"></asp:TextBox>
<asp:regularExpressionValidator ID="RegularExpressionValidator1"
validationExpression="[0-9,]*.[0-9]*"
controlToValidate="TxtMontoTotal"
errorMessage="error introduzca numeros"
runat="server"/>&nbsp; Monto Tetra Pak:<asp:TextBox ID="TxtMontTp"
runat="server" Width="80px"></asp:TextBox>
<asp:regularExpressionValidator ID="RegularExpressionValidator2"
validationExpression="[0-9,]*.[0-9]*"
controlToValidate="TxtMontTp"
errorMessage="error introduzca numeros"
runat="server"/>

</td></tr>
<tr><td align=right style="text-align: right; width: 150px;" valign="top">
Porcentaje de Apoyo:</td><td style="text-align: left" valign="top">
<asp:TextBox ID="TxtPorcentajeA" runat="server" Width="20px"></asp:TextBox>
&nbsp; &nbsp; Apoyo Firmado:&nbsp;<asp:DropDownList ID="ddlApoyoF" runat="server">
<asp:ListItem Value="S">Si</asp:ListItem>
<asp:ListItem Value="N" Selected="True">No</asp:ListItem>
</asp:DropDownList>
Fecha Firma Apoyo:<asp:TextBox ID="TxtFFA" runat="server" Width="100px"></asp:TextBox>
<asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/images/ico_fechas.gif" />&nbsp;<br />
&nbsp; <asp:regularExpressionValidator ID="RegularExpressionValidator3"
validationExpression="[0-9]*"
controlToValidate="TxtPorcentajeA"
errorMessage="error introduzca numeros"
runat="server"/>
<asp:Calendar ID="Calendar3" runat="server" Visible="False" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" Width="220px">
<SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
<WeekendDayStyle BackColor="#CCCCFF" />
<TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
<OtherMonthDayStyle ForeColor="#999999" />
<NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
<DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
<TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True"
Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
</asp:Calendar>
</td></tr>

<tr><td align=right style="text-align: right; height: 17px; width: 150px;">
Firma1:</td><td style="height: 17px; text-align: left;">
<asp:DropDownList ID="ddlFirma1" runat="server" AutoPostBack="True">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSourceF1" runat="server" ConnectionString="<%$ ConnectionStrings:ForecastConnectionString %>"
SelectCommand="SELECT [id_firma], [nombre] FROM [CA_FIRMAS] WHERE (([es_cliente] = @es_cliente) AND ([id_firma] <> @id_firma))">
<SelectParameters>
<asp:Parameter DefaultValue="false" Name="es_cliente" Type="Boolean" />
<asp:ControlParameter ControlID="ddlFirma2" Name="id_firma" PropertyName="SelectedValue"
Type="Decimal" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSourcefirma1" runat="server" ConnectionString="<%$ ConnectionStrings:ForecastConnectionString %>"
SelectCommand="SELECT [id_firma], [nombre] FROM [CA_FIRMAS] WHERE ([es_cliente] = @es_cliente)">
<SelectParameters>
<asp:Parameter DefaultValue="false" Name="es_cliente" Type="Boolean" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
</td></tr>

<tr><td align=right style="text-align: right; height: 17px; width: 150px;">
Firma2:</td><td style="height: 17px; text-align: left;">
<asp:DropDownList ID="ddlFirma2" runat="server" AutoPostBack="True">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSourceF2" runat="server" ConnectionString="<%$ ConnectionStrings:ForecastConnectionString %>"
SelectCommand="SELECT [id_firma], [nombre] FROM [CA_FIRMAS] WHERE (([es_cliente] = @es_cliente) AND ([id_firma] <> @id_firma))">
<SelectParameters>
<asp:Parameter DefaultValue="false" Name="es_cliente" Type="Boolean" />
<asp:ControlParameter ControlID="ddlFirma1" Name="id_firma" PropertyName="SelectedValue"
Type="Decimal" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSourcefirma2" runat="server" ConnectionString="<%$ ConnectionStrings:ForecastConnectionString %>"
SelectCommand="SELECT [id_firma], [nombre] FROM [CA_FIRMAS] WHERE ([es_cliente] = @es_cliente)">
<SelectParameters>
<asp:Parameter DefaultValue="false" Name="es_cliente" Type="Boolean" />
</SelectParameters>
</asp:SqlDataSource>
</td></tr>

<tr><td align=right style="text-align: right; height: 17px; width: 150px;">
Firma Cliente:</td><td style="height: 17px; text-align: left;">
<asp:DropDownList ID="ddlFirma3" runat="server" DataSourceID="SqlDataSourceFC" DataTextField="nombre" DataValueField="id_firma">


</asp:DropDownList><asp:SqlDataSource ID="SqlDataSourceFC" runat="server" ConnectionString="<%$ ConnectionStrings:ForecastConnectionString %>"
SelectCommand="SELECT [id_firma], [nombre] FROM [CA_FIRMAS] WHERE (([id_cliente] = @id_cliente) AND ([es_cliente] = @es_cliente)) ORDER BY [nombre]">
<SelectParameters>
<asp:ControlParameter ControlID="ddlCliente" Name="id_cliente" PropertyName="SelectedValue"
Type="Decimal" />
<asp:Parameter DefaultValue="true" Name="es_cliente" Type="Boolean" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSourcefirma3" runat="server" ConnectionString="<%$ ConnectionStrings:ForecastConnectionString %>"
SelectCommand="SELECT [id_firma], [nombre] FROM [CA_FIRMAS] WHERE ([es_cliente] = @es_cliente)">
<SelectParameters>
<asp:Parameter DefaultValue="true" Name="es_cliente" Type="Boolean" />
</SelectParameters>
</asp:SqlDataSource>
&nbsp;
</td></tr>



<tr><td align=right style="text-align: right; height: 17px; width: 150px;"></td><td style="height: 17px; text-align: left;">
<asp:Button ID="Button1" runat="server" Text="Guardar" />
&nbsp;
<asp:Button ID="Button2" runat="server" Text="Editar" Visible="False" />
&nbsp;
<asp:Button ID="Button3" runat="server" Text="Eliminar" Visible="False" /></td></tr>

</table>