in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Get the current Date witch is on the ASPxScheduler View displayed

Last post 10/21/2008 4:33 AM by Ahmet Cilesiz. 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
Previous Next
  • 10/17/2008 5:33 AM

    Get the current Date witch is on the ASPxScheduler View displayed

    Hi together,

    can somebody help me? I need the current Date from the ASPxScheduler View for my ASPxDateEditor.

    How i can get the Date from the ASPxScheduler. I have read the Documentation and somethings in the Forums, but

    i have nothing found. If i navigate with the left- and right-image-links the Date on the ASPxScheduler view change.

    And i like to set the changed Date from the ASPxScheduler view on my ASPxDateEditor.

    Like this:

     

    Thanks,

    Ahmet

  • 10/21/2008 4:33 AM In reply to

    Re: Get the current Date witch is on the ASPxScheduler View displayed

    Answer

    Hi again,

    i have solve my problem. I have write a JavaScript function like this:

        function HandleUpdateDateEdit(s, e) {
            var DreissigJahre = new Date(s.selection.firstSelectedInterval.start);
            clientDateEditor.GetDate().setDate(DreissigJahre.getDate());
            clientDateEditor.UpdateDateEditInputs();
        }

    And i call it on the ASpxScheduler ClientSideEvent EndCallback like this:

    <ClientSideEvents EndCallback="function(s, e){ HandleUpdateDateEdit(s, e);}" />

Page 1 of 1 (2 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED