Qaiser Mehmood

Qaiser Mehmood

  • NA
  • 105
  • 0

vlidation for poup up calendar

Nov 7 2008 2:30 AM

Hi every one!

I am using popup wndow calendar  for two text boxes i want to impliments client side validations that "Start date can not be greater than enddate "

I am also using postbackurl  properties in my page.

please any solution.

 

 

 

<asp:TextBox ID="tbMyDate" runat="server"

Width="154px" style="margin-left: 0px"></asp:TextBox>

<asp:ImageButton ID="ImageButton1" runat="server" Height="24px"

ImageUrl="~/images/call.bmp"

onclientclick="window.open('popup3.aspx?textbox=tbMyDate','cal','width=235,height=200,left=270,top=180,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no, titlebar=no');"

Width="25px" />

 

 

<asp:TextBox ID="tbMyDate1" runat="server"

Width="154px" ontextchanged="tbMyDate1_TextChanged"></asp:TextBox>

<asp:ImageButton ID="ImageButton2" runat="server" Height="24px"

ImageUrl="~/images/call.bmp"

onclientclick="window.open('popup4.aspx?textbox=tbMyDate1','cal','width=235,height=200,left=270,top=180,scrollbars=0,menubars=0,toolbars=0,directories=0,status=0');"

Width="25px" />


Answers (1)