Ver Mensaje Individual
  #7 (permalink)  
Antiguo 11/04/2008, 11:33
Avatar de Peterpay
Peterpay
Colaborador
 
Fecha de Ingreso: septiembre-2007
Ubicación: San Francisco, United States
Mensajes: 3.858
Antigüedad: 17 años, 6 meses
Puntos: 87
Re: Valiar fecha inicio y fecha fin del calendarextender con c#.

Aqui esta y funciona perfectamente

<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" />
<asp:TextBox ID="inicio" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" EnabledOnClient="true" PopupButtonID="inicio" TargetControlID="inicio" Format="dd/MM/yyyy">
</cc1:CalendarExtender>

<asp:TextBox ID="fin" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="CalendarExtender2" runat="server" EnabledOnClient="true" PopupButtonID="fin" TargetControlID="fin" Format="dd/MM/yyyy" >
</cc1:CalendarExtender>
&nbsp;

<asp:CompareValidator ID="mine" runat="server" ControlToCompare="inicio" ControlToValidate="fin" Type="Date" Operator="GreaterThan" ErrorMessage="Fecha Invalida"></asp:CompareValidator>
__________________
Curso WF4
http://cursos.gurudotnet.com/ DF
Aprende HTML5