AjaxEvent get the wrong DateFiled.SelectedDate!

  1. #1

    AjaxEvent get the wrong DateFiled.SelectedDate!

    Hi, guys! This is an ajax event

    protected override void Submit(object sender, AjaxEventArgs e)
    {
    //I get the DateFiled's SelectedDate here, but the SelectedDate is "01/01/0001" wrong!
    }

    please tell me why?Thanks


    my question is the date display in page is "17/03/2009", but got it in ajax event is 01/01/0001

    ??????Why

  2. #2

    RE: AjaxEvent get the wrong DateFiled.SelectedDate!

    Hi bruce,
    check this one: http://forums.ext.net/showthread.php...=8413-4-1.aspx, hope it helps.
  3. #3

    RE: AjaxEvent get the wrong DateFiled.SelectedDate!

    thanks, but not that problem.
  4. #4

    RE: AjaxEvent get the wrong DateFiled.SelectedDate!

    my question is the date display in page is "17/03/2009", but got it in ajax event is 01/01/0001

    ??????Why
  5. #5

    RE: AjaxEvent get the wrong DateFiled.SelectedDate!

    Hi,

    I think you need post a sample which demonstrates the problem.
    01/01/0001 is MinDate which used if no submitted data or submitted data can't be parsed


    Vladimir Shcheglov
    Sr. Developer

Similar Threads

  1. [CLOSED] DropdownField with Datefiled and Timefield inside
    By bakardi in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 15, 2011, 6:20 PM
  2. DateField - SelectedDate problem
    By Puia in forum 1.x Help
    Replies: 3
    Last Post: Sep 14, 2009, 12:16 PM
  3. [CLOSED] SelectedDate not working when setting culture
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 24, 2009, 10:54 AM
  4. Replies: 3
    Last Post: Mar 17, 2009, 9:42 AM
  5. [CLOSED] Get SelectedDate in DateField
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 16, 2008, 6:13 AM

Posting Permissions