This is a migrated thread and some comments may be shown as answers.

RadScheduleViewCommands button visibility?

1 Answer 62 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Juanjo
Top achievements
Rank 1
Juanjo asked on 19 Dec 2012, 09:04 AM
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!

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 24 Dec 2012, 08:09 AM
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,
Konstantina
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Juanjo
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or