Telerik Forums
UI for WPF Forum
1 answer
367 views
I have a DLL that gets loaded into a desktop application that contains several WPF controls that use the Telerik RadDateTimePicker, RadListBox and RadAutoCompleteBox controls.  When the desktop application creates the tabbed window that these controls are used on, none of them a visible and I am receiving the following exception:

The type initializer for 'Telerik.Windows.Input.Touch.TouchManager' threw an exception.

There are no Themes being used in these WPF controls/windows.  I am at a complete lose about what is causing this, please help.
Geri
Telerik team
 answered on 03 Apr 2015
2 answers
166 views
I am adding to my project and hourly choice and also a minutes.  So the user can set the recurrence to happen every x amount of hours or every x amount of minutes.  But when setting either of these, the UI doesn't show the recurrences after the editrecurrence box closes.  I have attached a sample application I made that shows.  Open Recurrence and pick like every 2 hours.  Nothing will happen after you close the dialog.  But if you then open it back up and change the resources or do another UI function, then they will show up. How do I fix this?
Nasko
Telerik team
 answered on 03 Apr 2015
1 answer
202 views
Hi,
We have a RadPropertyGrid with its items being auto-generated. and Requirement is to show the trimmed text for the properties that have a lengthy name.
How can I show the ellipses on the property labels?

Stefan
Telerik team
 answered on 03 Apr 2015
5 answers
235 views
Hi,

i use a RadOutlookBar like this:

<telerik:RadOutlookBar x:Name="outlookBar" Width="230" MaxWidth="500" Grid.Column="0" IsMinimized="False" IsMinimizable="True" IsVerticalResizerVisible="True" HorizontalAlignment="Stretch" telerik:StyleManager.Theme="Windows8"  MinimizedButtonContent="Adressen-Cockpit">

I use a theme "Windows8" and i want to change to parts of the RadOutlookbar (The blue header and the grey part of the footer). Please take a look at the attached file!

Thanks a lot
Best Regards
Rene
Pamelard
Top achievements
Rank 1
 answered on 02 Apr 2015
8 answers
641 views
I am trying to get a gridviewcombobox to filter and it does not work as documented. 

The properties have different names than the combobox documentation and some properties are not the same as a combobox. 

I tried setting the edit panel style as suggested in the reply to another post, but when I do that the edit panel does not appear and the combo box does not function at all. I have the following code:

 <telerik:GridViewComboBoxColumn Header="Parent"
                                                IsComboBoxEditable="True"
                                                ItemsSource="{Binding AllFinishedProducts, Source={StaticResource finishedProduct}}"
                                                FilterMemberPath="PartNumber"
                                                DataMemberBinding="{Binding ParentId}"
                                                SelectedValueMemberPath="Id"                  
                                                DisplayMemberPath="PartNumber">

The current behavior is more like a search than a filter. How can I get a gridviewcomboboxcolumn to filter like a radcombobox?

Eric
Top achievements
Rank 1
 answered on 02 Apr 2015
5 answers
233 views
Hello there folks,

I have an issue with a RadGridView and GridViewNewRow.

I have a RadGridView bound to an Itemssource (ICollection). Every row is expandable with a DetailsTemplate for Read-Only and Edit. So far everything works fine. Problems arise when I enable the "NewRow" option of the GridView.

The GridViewNewRow uses the same DetailsTemplate as the Edit Template but for some strange reason the built-in ScrollViewer of RadGridView works differently for the GridViewNewRow. The content of the GridViewNewRow gets recognized and shown (all Height and Width properties are set to Auto/NaN), but the content is not scrollable, so if the new row gets activated near the bottom of the GridView, the content flows outside of the visible area and you have no possibility to focus it there.

Expanding the DetailsTemplate of the Read-Only or Edit Template works perfectly with the scrolling. So basically you can add a new row on the bottom of the GridView and you can only see half of the content, then you commit the row and go to edit mode of the same row (which uses exactly the same template) and you can scroll like a young god. I added two pictures showing the explained behavior, GridViewNewRow without the ScrollBar and GridViewRow with the ScrollBar, both using the same template with the same data, but one working and the other not so much.

I did some digging inside the properties and saw that the IScrollInfo.ExtentHeight of the RadGridView does not recognize the expanding of the Details Template of the GridViewNewRow while it does recognize the expanding of the GridViewRow. So there might be some error at this point. I attach an event handler to the "AddingNewDataItem" in the RadGridView to set the DataContext, but otherwise everything is out-of-the-box "Telerik" usage and I never enable/disable the ScrollViewer in any way.

Any ideas where the problem might be? Is there some property you have to set for GridViewNewRow?

Thanks !
Maya
Telerik team
 answered on 02 Apr 2015
5 answers
183 views
Hi,

Performances of ChartTrackBallBehavior isn't good when I work with a lot of series (20/30) with a lot of points (>20.000 each).
In effect I cant ensure conditions for a good implementation of "Get Closest" functions because my datapoints is always ordered.

Exists a strategy for inform series that Dataset is ordered or override GetClosest functions?

Thank's marc.
Petar Marchev
Telerik team
 answered on 02 Apr 2015
1 answer
219 views
i want to have a scroll to be added in the submenu item list.
if im making radmenuItem.DropDownHeight = 200, then i can achieve wat want. 
but issue arise when the submenu item are less(say2), then submenuitem list shows 2 submenu item and rest space is show blank, ie. it takes minumun height to the submenu item list as 200.

FUNCTION: 
  private void AddtoReporMenuItem_OnMouseEnter(object sender, MouseEventArgs e)
        {
            var treeViewModel = this.DataContext as TreeViewModel;
            if(radcontextMenu.Items.Count>2)
                radcontextMenu.Items.RemoveAt(2);
            RadMenuItem  reportItem = new RadMenuItem(){Header = "Add to Report"};
            RadMenuItem reportNamesItem;
            RadMenuGroupItem reportsList = new RadMenuGroupItem();
            if (treeViewModel.Reports != null)
            {
                foreach (var report in treeViewModel.Reports)
                {
                    reportNamesItem = new RadMenuItem();
                    reportNamesItem.Header = report.ReportName;
                    reportNamesItem.Click += (senderObj, eventargs) => reportItem_Click(senderObj, eventargs, report);
                    reportsList.Items.Add(reportNamesItem);
                }
               
                reportItem.Items.Add(reportsList);
                reportItem.DropDownHeight = 200;
                radcontextMenu.Items.Add(reportItem);
            }

        }




xaml:
   <telerik:RadContextMenu.ContextMenu>
                <telerik:RadContextMenu x:Name="radcontextMenu" MouseEnter="AddtoReporMenuItem_OnMouseEnter">
                    <telerik:RadMenuItem Header="{localization:Translate DeleteTxt}" Command="{Binding Path=DeleteChartDash}" />
                    <telerik:RadMenuItem Header="{localization:Translate ExportButton}">
                        <telerik:RadMenuItem Header="CSV" Command="{Binding Path=ExportCommand}" CommandParameter="ExportChart" />
                        <telerik:RadMenuItem Header="{localization:Translate ExportdataTxt}" Command="{Binding Path=ExportCommand}" CommandParameter="ExportData"  />
                        <telerik:RadMenuItem Header="{localization:Translate PowerPointTxt}" Command="{Binding Path=ExportCommand}" CommandParameter="ExportPPT"  />
                        </telerik:RadMenuItem>
                </telerik:RadContextMenu>
            </telerik:RadContextMenu.ContextMenu>




Kalin
Telerik team
 answered on 02 Apr 2015
2 answers
229 views
Hello

Is there a way to lock a radDiagramItem so the user won't be able to move it?

I've already disabled the item's dragging, but the user can still  change the position through Ctrl+Arrow Keys.
Maurício
Top achievements
Rank 1
 answered on 02 Apr 2015
1 answer
102 views
I am looking for option similar to 'Hide Field' available in Ajax on a field selected in pivot field list.
I  want the user to  be able to select a field in the pivotfieldlist. But then have an option to hide it from the pivot grid view.

At the moment I can hide a field using AutoGenerateField  which hides it completely from both pivotfieldlist and pivotgrid.
Kalin
Telerik team
 answered on 02 Apr 2015
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?