RadDatePicker

6 posts, 0 answers
  1. Eitan
    Eitan avatar
    26 posts
    Member since:
    Jun 2012

    Posted 03 Jul 2012 Link to this post

    Hi,

    I am trying to bind a RadDatePicker to a DateTime variables.
    <telerikInput:RadDatePicker x:Name="DOB"
           Width="165"                                                             
    Margin
    ="0"                                                             
    Value
    ="{Binding DOB, Mode=TwoWay}"                                                             
    VerticalAlignment
    ="Center" />

    I am not getting the expected result.

    What is the right way to bind my DOB (DateTime) variable to the RadDatePicker.

    Thanks,
    Eitan



  2. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 03 Jul 2012 Link to this post

    Hi Eitan,

    Thanks for writing.

    That is the correct way to bind the Value property of RadDatePicker. If you are getting errors or undesired behavior, please be more specific so that we can make sure that we understand the scenario and see how we can help.

    It will be great if you can send us some source code or a demo project that will help us reproduce the undesired behavior and thus be able to investigate it.

    Note that in order to be able to attach a project you will have to open a new support ticket.

    Thanks for your time. 

    All the best,
    Deyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Eitan
    Eitan avatar
    26 posts
    Member since:
    Jun 2012

    Posted 03 Jul 2012 Link to this post

    Hi,

    My variables "DOB" is initialized at the constructor level to DateTime.Now.
    When the page (a Pivot page) is laoaded and shown, the RadDatePicker shows 1/1/0001 instead of the 3/7/2012.

    Can it be as a result of the fact that this a Pivot page?

    Eitan Barazani

    <telerikInput:RadDatePicker x:Name="DOB"
        Width="165"
        
    Margin="0"
        
    VerticalAlignment="Center"
        
    Value="{Binding DOB, Mode=TwoWay}" />


  5. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 05 Jul 2012 Link to this post

    Hello Eitan,

    Thanks for writing back and for the additional details.

    We tried to reproduce the issue but unfortunately to no avail. We therefore would like to kindly ask you to prepare a sample project and send it to us for further investigation.

    Please note that you will have to open a new support ticket in order to be able to attach your project.

    All the best,
    Deyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Vijayan
    Vijayan avatar
    1 posts
    Member since:
    Oct 2012

    Posted 15 Oct 2012 Link to this post

    Hi,
    Wondering if you found a solution for the mentioned issue, if yes please let me know. Thanks in advance.
  7. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 16 Oct 2012 Link to this post

    Hi Vijayan,

    Thanks for writing.

    We haven't been able to reproduce it yet. If you experience this issue, we will be grateful if you manage to help us resolve it by sending us a sample that we can use to reproduce it on our side.

    You will have to open a new support ticket to be able to attach files for security reasons.

    All the best,
    Deyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner