RadScheduleViewCommands button visibility?

2 posts, 0 answers
  1. Juanjo
    Juanjo avatar
    3 posts
    Member since:
    Dec 2012

    Posted 19 Dec 2012 Link to this post

    Hi everyone,

    I have a button declared in a Prism region with a command declared in RadScheduleViewCommands. This button is used to advance the displayed date in my ScheduleView. 

    <Button Label="Next day" Command="scheduleView:RadScheduleViewCommands.IncreaseVisibleDateLarge"/>

    My RadScheduleView is declared in another region. This region can be shown or not, because it is inside a tab control. My problem is when I show my RadScheduleView in the tab, my button is disabled until the user clicks in the RadScheduleView. In this moment, the button is enabled and functional.

    I need to change this behavior to enable the button in the moment the ScheduleView is shown on the screen, avoiding the user to click on the schedule. Is this possible? How?

    Thank you!!!!

    EDIT: The title of this post is wrong, The button is always visible. My problem is the IsEnabled property of the button. Don't know how to change the post title, sorry!
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 24 Dec 2012 Link to this post

    Hi Juanjo,

    I think you need to keep the content of the TabControl and then the button will be enabled permanently, You could find more information on how to keep the content of the TabControl in this help article.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top