Telerik Forums
UI for WPF Forum
1 answer
60 views

Hi,

I have a RadRibbonView and RadRibbonView.ApplicationMenu within it. But when I click the ApplicationMenu, some part of it is hidden below other UI. So my question  is how can I bring it on top of the window?

Please check the attached screenshot. 

Thanks

Wei

Ivan
Telerik team
 answered on 20 Jan 2016
11 answers
1.0K+ views

Hi,

I have DateTime columns in my gridview.
I will see the full date and time values with a custom format string yyyy-MM-dd HH:mm:ss.

But I only want to filter for the date only, so I set the FilterMemberPath to the date value.

 

<telerik:GridViewDataColumn Header="Start-Date"
                            IsCustomSortingEnabled="False"
                            DataMemberBinding="{Binding StartTime}"
                            FilterMemberPath="StartTime.Value.Date"
                            DataFormatString="{} {0:yyyy-MM-dd HH:mm:ss}" />

 

I'm now able to filter for a specific date with equal to,

but in the selection list of  containing entries the dates will be displayed with 12:00:00 AM time :-(

How could I change the format of the filter string to yyyy-MM-dd?

Many thanks for all help.

Cheers,

  Thomas

Thomas
Top achievements
Rank 1
 answered on 19 Jan 2016
10 answers
153 views

If we display a RadWindow ON TOP OF(very important!) a RadTileList upon a MouseDoubleClick event, an exception is thrown.

<Window x:Class="TileViewCrash.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Title="MainWindow" Height="350" Width="525">
   <Grid>
      <telerik:RadTileList>
         <telerik:Tile MouseDoubleClick="OnMouseDoubleClick" />
         <telerik:Tile />
      </telerik:RadTileList>
   </Grid>
</Window>
 
using System.Windows;
using System.Windows.Input;
using Telerik.Windows.Controls;
 
namespace TileViewCrash
{
   public partial class MainWindow : Window
   {
      public MainWindow()
      {
         InitializeComponent();
      }
 
      private void OnMouseDoubleClick(object sender, MouseButtonEventArgs e)
      {
         RadWindow.Alert("Hello");
      }
   }
}

 If we close the RadWindow while it is not on top of the RadTileList, no exception is thrown.

 

Kalin
Telerik team
 answered on 19 Jan 2016
2 answers
202 views

I am trying to implement a solution where a RadPane can be maximized/restored. My solution is based on this topic http://www.telerik.com/forums/add-maximize-button-to-radpane-header, which unfortunately is very much incomplete. I have updated the solution (using Q1 2016) to be a more complete solution that handles different scenarios and have one last thing to figure out (at least at this point). When I maximize the only RadPane in the RadPaneGroup, the group is removed from RadSplitContainer (since I took the only pane out of the group). So when I try to restore layout, I need to add RadPane to the RadPaneGroup and then place RadPaneGroup back to the original location in the RadSplitContainer - this is unfortunately something I have not been able to figure out.

 

Here is how to see what I am trying to do. Take the solution from link (I used VS 2015 with dot.net 4.6.1). Run it, then drag Panel 1 from left side to the right of the window, so you end up with 2 RadPaneGroups each with 1 RadPane. Maximize the RadPane on right side and then restore it. What you will see is the restored pane is no longer on the right of the window, but is docked to the left right next to the other pane. In code in MainWindow.xaml.cs, this logic is on line 76. All I do is add it to the RadSplitContainer.Items collection and it places it on the left. I need help figuring out how to place it back where it was before maximize logic was executed.

https://drive.google.com/file/d/0B9CRDbP2kUo7dzZkcDY3Z2tXQUk/view?usp=sharing

Thank You

Vladi
Telerik team
 answered on 19 Jan 2016
3 answers
784 views
Does anyone know how to take the highlight off of the radtreeview when the mouse hover over it. Thank-You.

Evgenia
Telerik team
 answered on 19 Jan 2016
3 answers
139 views

Hi,

I would like to hide a TileGroup depending on a property in my ViewModel, I mean something like this :

<telerik:TileGroup Header="Header" Visibility={Binding MyProperty, Converter={StaticResource BooleanToVisibility}} />

Is there a way to achieve this ?

 

Thanks,

Rémi.

Stefan Nenchev
Telerik team
 answered on 19 Jan 2016
3 answers
133 views

Hi,

I need to be able to display census tract shape date from the Census Bureau. I'm able to read in the shape file just fine but once I do the performance to drag and pan the map goes down. 

Any suggestions on how to improve performance? I've tried simplifying the shape data and while it helps a little its still slow.

If that's just the nature of the beast is there a way to clear out all the shape data from the visualization layer? Hiding the layer doesn't seem to restore the performance?

 

Petar Mladenov
Telerik team
 answered on 19 Jan 2016
7 answers
413 views

My grid has a comboBox column. But my binding isn't quite working the way I want. Here is my code:

<telerik:GridViewComboBoxColumn Header="Action" UniqueName="Action"
          DataMemberBinding="{Binding ActionID, Mode=TwoWay, ValidatesOnDataErrors=True}"
          SelectedValueMemberPath="ActionID" DisplayMemberPath="Name"
          ItemsSource="{Binding DataContext.Actions, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=UserControl,AncestorLevel=2}}"
          IsComboBoxEditable="True">
 <telerik:GridViewComboBoxColumn.CellTemplate>
          <DataTemplate>
                 <TextBlock Text="{Binding Action.Name}" />
           </DataTemplate>
  </telerik:GridViewComboBoxColumn.CellTemplate>
</telerik:GridViewComboBoxColumn>

When the row loads, the value for this comboBox displays. But when the user changes it or selects a value for a new row, it doesn't display the value until the row is committed. I know this is because I'm displaying the value of Action.Name, but binding the selected value to ActionID.

Is there any way I can get it to show the Name property before its been committed? I could if I don't use a CellTemplate and just use the comboBox, but then there are some records that have an action that isn't a current available option in the drop down. So if I don't use the CellTemplate, then those will display blank because there isn't a matching item in the drop down. Make sense?

How do I accomodate both?

Ivan Ivanov
Telerik team
 answered on 19 Jan 2016
1 answer
179 views

Holle

 We used a listbox as a popup to show drop-down box under the hyperlinks in Radrichtextbox, but we can not locate the position of the listbox (drop-down box). We located the position at the Caret now, but this did not meet our requirement. We plan to locate the position at the start of a hyperlink, could you please help us.

What we should explain is that: the language we used is Chinese, far from English words, there is no space between Chinese words in a sentence, 

the English sentences: Telerick is a very good company.

but in Chinese, the sentence is: Telerick是一个非常好的公司

We located the position of caret, and calculated the length between the start and the end of hyperlink, and put the listbox at the position :caret-the length. But the listbox always display in a wrong position..

Thanks a lot, we hope your answer.

 

 

 

 

 

Todor
Telerik team
 answered on 19 Jan 2016
2 answers
130 views

Hi, 

I'm using the Swimlane Demo, and I have a problem in Example.xaml.cs line 96 -  SamplesFactory.LoadSample(this.diagram, "SwimlaneDiagram"); 

I can't find the "SamplesFactory", it doesn't exist any other place. Maybe it's in a different reference? Where can I find it?

 

Best Regards

Prime Minister Office
Top achievements
Rank 1
 answered on 18 Jan 2016
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?