Telerik Forums
UI for WPF Forum
3 answers
103 views
I'm noticing that some of the "node lines" in my RadTreeView are misaligned by a pixel or two.  It doesn't seem to be theme specific, as I see the same issues regardless of the chosen theme.

I've attached an image of the problem.  The red arrows indicate a few examples of where the lines are not quite right.

Thoughts?

Jeff
Boris
Telerik team
 answered on 12 Feb 2014
3 answers
506 views
Hello,

i'm going to build a RadContextMenu and set the ItemSource with the Columns of a RadGridView.
The task is to show a list of names of columns and a CheckBox in front of them to set the Visibility of columns.
But i can not show the CheckBox in my project.
I followed Binding to Dynamic Data and tried the code in definition of RadGridView like this:

<telerik:RadContextMenu.ContextMenu>
  <telerik:RadContextMenu Opened="RadContextMenu_Opened" Opening="RadContextMenu_OnOpening">
    <telerik:RadContextMenu.ItemContainerStyle>
      <Style TargetType="telerik:RadMenuItem">
        <Setter Property="Visibility" Value="{Binding IsReorderable, Converter={StaticResource BooleanToVisibilityConverter}}"/>
        <Setter Property="Header" Value="{Binding Header}"/>
        <Setter Property="Icon" Value="{Binding IsVisible}"/>
        <Setter Property="IconTemplate">
          <Setter.Value>
            <DataTemplate>
              <CheckBox IsChecked="{Binding}"/>
            </DataTemplate>
          </Setter.Value>
        </Setter>
      </Style>
    </telerik:RadContextMenu.ItemContainerStyle>
  </telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>

Is there something wrong in my code?
Thank for any help.

Ivan

Kalin
Telerik team
 answered on 12 Feb 2014
1 answer
83 views
Hello,
when using a RadRibbonWindow as a main window with the Office2013 theme under Windows 7, the title bar is almost invisible when over a dark background. Interestingly, the second window opened by the application has its title displayed correctly.
See the attached screenshots.
Patrick
Martin Ivanov
Telerik team
 answered on 12 Feb 2014
4 answers
204 views
I am using the combobox search and I keep finding that the search doesn't necessarily highlight the item that it has found. Often if I hit return, it selects the item and so I can see that it has found it, but I have my combobox set up to have  auto dropdown, and I would expect that the item that is found is always highlighted.

Do you have any ideas what I may be doing wrong?

Here is a copy of the one of my GridViewComboBoxColumns:


                        <telerik:GridViewComboBoxColumn Header="{Loc Material}" MinWidth="80" Width="150"
                                    ColumnGroupName="columnGroupCostType"
   IsGroupable="False"
   IsFilterable="False"
   EditTriggers="CellClick"
                                    ItemsSourceBinding="{Binding Path=Data.DefaultItemCategories.CostTypes, Source={StaticResource bindingProxy}}"
                                    DataMemberBinding="{Binding Path=MaterialCostTypeCode, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                    SelectedValueMemberPath="Code"
                                    DisplayMemberPath="Description"
                                    telerik:TextSearch.TextPath="Code"                                   
                                    ItemTemplate="{StaticResource CostTypeComboBoxItemTemplate}"
                                    IsReadOnlyBinding="{Binding Path=IsMaterialCostTypeReadOnly}"/>





Kalin
Telerik team
 answered on 12 Feb 2014
3 answers
131 views
Hi all,

Our WPF application use many GridViews and most of them allows column sorting. Problem: we often get a crash and this error message when pasting data in a sorted column: "Cell is already in the collection".

I know that you have answered similar problems before (see http://www.telerik.com/community/forums/silverlight/gridview/gridview-exception-on-pasting-from-excel.aspx), but none would help me.

We are currently using GridView.dll version 2012.2.725.40. The language is C# and the IDE is VStudio 2010 on Windows 7 Enterprise 64 bits. The WPF application uses MVVM Light.

Thank you in advance!!

-------------------------------------------------------

- Date: 27/02/2013 14:19:35
- Build: 1.0.0
- Outermost exception: Cell is already in the collection
Parameter name: cellInfo

- No innner exceptions

- Call stack:
   at Telerik.Windows.Controls.GridView.Selection.CellInfoCollection.Add(GridViewCellInfo cellInfo) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\Selection\CellInfoCollection.cs:line 130
   at Telerik.Windows.Data.CollectionExtensions.AddRange[T](ICollection`1 collection, IEnumerable`1 items) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Extensions\CollectionExtensions.cs:line 22
   at Telerik.Windows.Controls.GridView.GridViewDataControl.PerformPaste(String text) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Clipboard\GridViewDataControl.Clipboard.cs:line 322
   at Telerik.Windows.Controls.GridView.GridViewDataControl.PasteFromClipboard() in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Clipboard\GridViewDataControl.Clipboard.cs:line 290
   at Telerik.Windows.Controls.GridView.GridViewDataControl.PasteExecuted(Object sender, ExecutedRoutedEventArgs e) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs:line 2674
   at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
   at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Vera
Telerik team
 answered on 12 Feb 2014
1 answer
117 views
Hi,

I am using RadMenu inside RadPanelPar. I noticed when I hover over the Menu one box appears around the edges of the menu. I tried border options but nothing seems to work. Please, provide me some help with an example.

Thanks
Rosen Vladimirov
Telerik team
 answered on 11 Feb 2014
4 answers
249 views
i;m trying to open a control that it will fill the dockinmanager in  the center
i have the following code:

            RadSplitContainer container = new RadSplitContainer();
            container.InitialPosition = DockState.DockedRight;
            RadDocking.SetDockState(container, DockState.DockedRight);
            m_dockingManager.Items.Add(container);
            RadPaneGroup group = new RadPaneGroup();
            container.Items.Add(group);
            RadPane newPane = new RadPane();
            group.AddItem(newPane, global::Telerik.Windows.Controls.Docking.DockPosition.Center);
            RadDocking.SetSerializationTag(newPane, control.Name);
            newPane.Title = ps.Caption;
            newPane.Content = control;
            newPane.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
            newPane.Arrange(new Rect(control.DesiredSize));
            newPane.ClipToBounds = true;
            newPane.CanUserClose = ps.CloseButtonVisability;
            newPane.CanUserPin = ps.AutoHideVisability;
            newPane.CanDockInDocumentHost = (ps.FloatOnly == false);
            if (ps.FloatOnly == true)
                newPane.MakeFloatingOnly();
            else
            {
                if (ps.Floating == true)
                    newPane.MakeFloatingDockable();
                else
                    newPane.MakeDockable();
            }
            ResourceDictionary dic = GetTelerikResourceStyle();
            newPane.Style =(Style)dic[DEFAULTRADPANESTYLE];
but this doesnt work- it always open the control in 24 width and heigth in the top left corner of the screen.
why?????





omer
Top achievements
Rank 1
 answered on 11 Feb 2014
1 answer
111 views
Hi,

How can I change the width of the filter funnel as its cutting the column headings in the gridview.

Any help with an example will be greatly appreciated.

Thanks.
Dimitrina
Telerik team
 answered on 11 Feb 2014
3 answers
182 views
Hi
I have an autocomplete box associated with a tree view that displays a hierarchy. I'm trying to provide a search on a property of the child items (the Description). In my case it is showing only the items for the first parent item in the list.
e.g.
Parent1
>>> Child1 apple
>>> Child2 pear
Parent2
>>> Child3 peach
>>> Child4 pea

When typing p in the autocomplete box only apple and pear are displayed. I'm guessing it's a binding issue. Here's my XAML:-

<StackPanel Orientation="Horizontal">
   <telerik:RadAutoCompleteBox Name="radAutoCompleteBox1" VerticalAlignment="Top"
      WatermarkContent="Enter part of description ..."
      TextSearchMode="Contains"
      AutoCompleteMode="Suggest"
      TextSearchPath="Description"
      SelectionMode="Multiple"
      ItemsSource="{Binding Path=ParentCollection/ChildItems}"
      DropDownItemTemplate="{StaticResource SearchAutoComplete}"
      DropDownWidth="250"
      SelectionChanged="radAutoCompleteBox1_SelectionChanged"
      ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=SelectedItem.Description}" />
 </StackPanel>
 
<telerik:RadTreeView Name="radTreeView" VerticalAlignment="Stretch"
    ItemsSource="{Binding Path=ParentCollection}"
    SelectedItem="{Binding SelectedTreeItem, Mode=TwoWay}"
    IsTextSearchEnabled="True" telerik:TextSearch.TextPath="Description"
    ItemTemplateSelector="{StaticResource ItemDataTemplateSelector}" >
 </telerik:RadTreeView>

Any suggestions?
Thanks
Craig
Kalin
Telerik team
 answered on 11 Feb 2014
3 answers
256 views
Is it possible to draw annotations behind lineseries? We use CartesianPlotBandAnnotation to draw regions on our grid, but it needs a semitransparent Fill, otherwise the lineseries are hidden. This deteriorates the color chosen for these regions. Is there a way to draw the annotations behind the graph?

Thanks,
Wouter
Petar Marchev
Telerik team
 answered on 11 Feb 2014
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
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?