DatePicker not picking up correct foreground?

6 posts, 0 answers
  1. Chris
    Chris avatar
    5 posts
    Member since:
    Apr 2011

    Posted 01 May 2011 Link to this post

    Hi there,

    When I add a DatePicker to my page it doesnt seem to get the right Foreground styling applied for some reason.

    I am new to the controls so might be doing something wrong. But cant see where i am messing it up.

    Thanks. 
  2. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 04 May 2011 Link to this post

    Hello Chris,

    Thanks for contacting us and for the provided screenshot.

    We would like to ask you for some further details on the case since, based on the screenshot only, we cannot determine the reason for the undesired appearance.

    Could you please prepare a sample App that simulates the behavior and send it to us so that we can directly see what goes wrong.

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

    Thanks for your time.

    Kind regards,
    Deyan
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. Chris
    Chris avatar
    5 posts
    Member since:
    Apr 2011

    Posted 06 May 2011 Link to this post

    Thanks,

    I have narrowed this down and can repro this.   It seems to have something to do with the use of the SilverLight toolkit for Windows Phone 7 and the use of the transitions they provide.

    Using this combination below causes the issue:

    //RootFrame = new PhoneApplicationFrame();

    RootFrame =

     

    new TransitionFrame();

     

     

     


    If i remove the use of their frame, the control is styled correctly:

    RootFrame =

     

    new PhoneApplicationFrame();

     

     

     

     

    //RootFrame = new TransitionFrame();

     

     


    You can get the Silverlight toolkit from here: http://silverlight.codeplex.com/

    Do you know why this might be the case?   It seems strange that these two control sets wont play nicely together.

    Thanks,

    Chris.
  5. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 12 May 2011 Link to this post

    Hello Chris,

    Thanks for writing back and excuse us for the delay with our answer.

    Our date & time picker controls do not define the foreground of the looping items explicitly. It is inherited from the foreground of the page. It seems that the application frame from the Silverlight Toolkit explicitly sets its foreground which causes the undesired behavior that you experience.

    Since we consider the approach of not explicitly setting foreground the correct one we have not defined it in our style for the control.

    If the Silverlight Toolkit's application frame overrides the default foreground, you should change this behavior in order for the RadDate-/TimePicker to work correctly.

    I hope this is helpful.

    Do not hesitate to get back to us in case you have further questions.

    All the best,
    Deyan
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  6. Maciej
    Maciej avatar
    3 posts
    Member since:
    May 2011

    Posted 15 Jul 2011 Link to this post

    Hi there,

    so there is no workaround for this problem?

    I want to use both Page Transitions by Ms Silverlight Toolkit and your super fast RadDatePicker. I deeply want to avoid situation when I will be pushed to choose between your date picker and page transitions by Ms toolkit.

    All suggestions will be appreciated.

    Thank you.

    Best regards,

    Maciej
  7. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 20 Jul 2011 Link to this post

    Hello Maciej,

    Thanks for writing.

    Why don't you try using our transitions provided by the RadPhoneApplicationFrame control?

    You can read more about this control here:

    RadPhoneApplicationFrame Overview

    Do not hesitate to get back to us in case you have further questions or need assistance.

    All the best,
    Deyan
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top
DevCraft banner