When the RadOutlookBar is in the minimized state, I want to trigger the content popup when a RadOutlookBarItem element is clicked, exactly as if MinimizedContentElement (a RadDropDownButton) had been clicked.
My imperfect solution adds a Click event to the RadOutlookBarItem element (which is not a button and only has MouseUp/MouseDown) with an attached property, and when this event is raised MinimizedContentElement.IsOpen is set to true which triggers the popup. (The RadOutlookBar.SelectionChanged event is not used because it is not raised if the item is already selected.)
The issue I have is that the popup stays open when there is a mouse click elsewhere in the window, even with MinimizedContentElement.KeepOpen=false and CloseOnPopupMouseLeftButtonUp=true. When the popup is triggered with a click on MinimizedContentElement, it closes automatically which is the behaviour I desire.
What's the simplest way to achieve this?
Thanks for any assistance you can provide.
I think to create a contact form created from five different HTML webpages:
Four HTML webpages would prompt the user for various kinds of data and the fifth webpage would include a submit button and a success message in case a submit process went well form JavaScript’s side at least — not involving possible problems in the backend (PHP) routing.
My problem is that I don’t know almost anything about Ajax:
Ajax CRUD operation codes always seemed to me very long and complicated; perhaps since EcmaScript 2021 Ajax CRUD operations could be much simpler.
I seek some guidance about how to generally do this, how to save data prompted from the user in each of the four HTML documents) and so forth.
Hi
We have a radoutlookbar with some items in it When te user click on the minimize/restore-button ((1) in attached image) it works perfect, the bar and all it content moves out and in. (see attached image).
When user clicks on the "header" of the outlookbar ((2) in attached image) strange things happen. First click is most often than only the first user control in the first item slides out, after that, sometimes the entire outlookbar is stuck half minimized and we have to restart the application.
First of all, Im I doing something wrong in my xaml (below)?
If not, is there any setting where I can make the rest of the outlookbar to minimiza/restore or could I catch the event and programmatically restore it? (We are using te MVVM approach)
--xaml---------------------------------------
<telerik:RadOutlookBar DockPanel.Dock="Right" Width="600" IsVerticalResizerVisible="True" MinimizedButtonContent="Details" IsMinimized="True" >
<telerik:EventToCommandBehavior.EventBindings>
<telerik:EventBinding EventName="SelectionChanged" Command="{Binding DrawerItemChangedCommand}" PassEventArgsToCommand="True"/>
<telerik:EventBinding EventName="Restored" Command="{Binding ExpandCollapseDrawerCommand}" PassEventArgsToCommand="True"/>
<telerik:EventBinding EventName="Minimized" Command="{Binding ExpandCollapseDrawerCommand}" PassEventArgsToCommand="True"/>
</telerik:EventToCommandBehavior.EventBindings>
<modelview:OneView DataContext="{Binding OneViewModel}"/>
<telerik:RadOutlookBarItem Header="Another">
<modelview:AnotherView DataContext="{Binding AnotherViewModel}" />
</telerik:RadOutlookBarItem>
<telerik:RadOutlookBarItem Header="LastViewIPromise">
<moCompliance:LastView DataContext="{Binding LastViewModel}" />
</telerik:RadOutlookBarItem>
</telerik:RadOutlookBar>
-------------------------------------------------
Thanks in advance, Robert
Hello,
it is possible to collapse the content area of the RadOutlookBar?
I want to show the item list at the start of the application. At this moment any item is selected. Only when the user selects an item then the content should showed on the content area.
Thank for tipps,
Richrad
Hi all,
I have a question, I have created an application with an outlook like interface based on the example project.
http://www.telerik.com/products/wpf/outlookbar.aspx
At the moment my all my data is initialized when the application starts.
I would like to have the possibility to run a function when I click on a menu item(schedular or E-mail in the example), so I can initialize the data when clicking on the menu item so I don't have to initialize everything up front.
is there a function for this?
this would give me the following benefits. initial loading should be faster and when data is changed during the application run I can easily update this by moving to another menu item and back.
thank you for your help.
In my application, I have a outlook bar which has some menu items. On click event of mneu Item I want to traverse the visual tree upto main Window. For normal view of Outlook bar it is working properly but for collapsed view of outlook bar when I click menu item it traverse till PopUpRoot control only. Parent of this control returns null.
var parent = VisualTreeHelper.GetParent(this);
while (!(parent is Window))
{
parent = VisualTreeHelper.GetParent(parent);
}
Hi,
how to invert the Arrow direction >> to <<
the property flowDirection isn't good for me because it's change all the inner controls directions
Thanks
<
telerik:RadOutlookBarItem Header="{StaticResource Files}" FontWeight="Bold" Icon="Resources/Files_24x24.png" SmallIcon="Resources/Files_16x16.png" Tag="Files">