Telerik Forums
UI for WPF Forum
17 answers
456 views

I have an issue in the gridview with the rowdetails.

 

I'm using the grid to show hierarchical data but at a certain point the rowdetails stop expanding although i have still have a gridview left with no data in it.

Why is this happening and how can i solve this so i expands and activates the scrollbars when i reaches the bottom of the grid?

JIG
Top achievements
Rank 1
 answered on 24 Jul 2017
1 answer
115 views

I am trying to display the values used for the RadHeatMap as labels in the table but somehow I cannot get it to work. The version of Telerik which is used is 2015.3.930.45 (which is 2015 Q3 so it should include the new labeling functionality which was introduced in 2015 Q2).

I have looked at the relevant example in the demo application (version R2 2017) but that code does not work in 2015 Q3).

What could be the issue here? Thanks in advance!

Douwe
Top achievements
Rank 1
 answered on 24 Jul 2017
3 answers
90 views

Hi,

it's possible to show the group line on bottom of details instead of before details? 

The effect is similar to a pivor grid, but I want to make the same effect in the gridview

Ivan Ivanov
Telerik team
 answered on 21 Jul 2017
14 answers
440 views

Telerik Support,

Just wanted to give a heads-up, was having an interesting problem with a client where our app wouldn't start up, eventually learned it was because Telerik.Windows.Documents.Core.dll was identified as a trojan by their Comodo One client and quarantined.  Attached is a report of us adding the file to the exclusion list.

Thanks,

Kyle

Tanya
Telerik team
 answered on 20 Jul 2017
1 answer
109 views

Hi,

I am trying to create a view where I have a RadMenu that drives the content being displayed in a RadGridView. So when I make a selection in my RadMenu the RadGridView will populate based on a parameter passed from the Menu.

I cannot find any examples of this anywhere on this forum. Can you please point me in the right direction?

 

Regards

David

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Jul 2017
17 answers
1.3K+ views

I am using a PropertyGrid.  The grid itself uses a converter to select the proper control to display based on type as such:

<UserControl.Resources>
    <converters:PropertyGridDataTemplateSelector x:Key="dataTemplateSelector">
        <converters:PropertyGridDataTemplateSelector.NumericPropertyDataTemplate>
            <DataTemplate>
                <telerik:RadNumericUpDown propertyGrid:AutoBindBehavior.UpdateBindingOnElementLoaded="Value"/>
            </DataTemplate>
        </converters:PropertyGridDataTemplateSelector.NumericPropertyDataTemplate>
        <converters:PropertyGridDataTemplateSelector.IntegerPropertyDataTemplate>
            <DataTemplate>
                <telerik:RadNumericUpDown propertyGrid:AutoBindBehavior.UpdateBindingOnElementLoaded="Value" NumberDecimalDigits="0"/>
            </DataTemplate>
        </converters:PropertyGridDataTemplateSelector.IntegerPropertyDataTemplate>
    </converters:PropertyGridDataTemplateSelector>
</UserControl.Resources>

 

I then assign the EditorTemplateSelector of the RadPropertyGrid

<telerik:RadPropertyGrid EditorTemplateSelector="{StaticResource dataTemplateSelector}">

 

There are other properties set as well such rendermode flat, data context, etc... but the above is how I am hooking to my converter for the property grid.

The primary property grid works great.  I have a couple of ObservableCollection<myObject> that allow for a drop down and those show a CollectionEditor.  This also works great with two exceptions:

#1 - I have no ability to assign a control to a property because the converter being used is not carried over into the CollectionEditor.  So for example I have a Rate on the object contained in the ObservableCollection.

The value $25.10 shows up as "25.1".  

What I would like is to be able to assign to that property the RadNumericUpDown like the properties in the primary property grid and then just say "NumberDecimalDigits="2" like I can do with the converter. 

However I cannot see a way to do this.

I found an article on Editor Attributes that you can use on the model, but our Data Model that contains our models is not allowed to reference View-Specific control assemblies.  The other attributes you can decorate properties with (like Browsable, Description, etc...) work fine because they are part of the .NET Framework and we have access, but the Editor Attributes you all provide cannot be accessed from the Data Model.

Is there a way to edit the CollectionEditor within a RadPropertyGrid to know to use certain controls like you can do with converters on a RadPropertyGrid itself?  Is there another way to accomplish what I am after?

Dilyan Traykov
Telerik team
 answered on 20 Jul 2017
3 answers
979 views
Hi,

We are using telerik controls. Now I want to create custom message box with four buttons (Yes, Yes To All, No, No To All).
Can any of you suggest how can i achieve this by using existing MessageBoxButtons ?

Regards,
Parvathi.
Dilyan Traykov
Telerik team
 answered on 20 Jul 2017
4 answers
603 views
Hi. 
Is there a way to customize SearchPanel appearance ?
I have the grid (see 1st screenshot) and I want to achieve something like on the 2nd screenshot.
Also, how can I perform searching only by single (or several) columns ?
Thanks.
Dilyan Traykov
Telerik team
 answered on 20 Jul 2017
0 answers
77 views

I have a ViewModel that has a list of "ScheduleItems" (custom appointments) which is set as the AppointmentSource on my ScheduleView.

When I update a single (custom) property on a ScheduleItem - I need to effectively loop through all the appointments on the same resource and decide whether I need to update a property on them too based on another factor - but I do not have access to the ScheduleItems/AppointmentsSource list from my single ScheduleItem?

Kieron
Top achievements
Rank 1
 asked on 20 Jul 2017
1 answer
506 views

Hi I am trying to add context menu for treelistview which has selectionmode as "Extended" value.

1)I want to show context menu when user selects multi rows and performs right click operation

2) Also I want to know how to get selected Items to my View model.

based on selected items only (I mean selected rows) I have to populate Items in my context menu which is again need to be binded in one of ViewModel property.  Items source for contextmenu should be bind to collection of items from my View mode.

 

Here is my code which is same as the code present in sample application 

 

======================

<telerik:RadTreeListView x:Name="RadTreeListView1"
AutoExpandItems="{Binding IsChecked, ElementName=AutoExpandItemsCheckBox, Mode=TwoWay}"
IsReadOnly="True"
ItemsSource="{Binding Folders}"
Width="600"
MinHeight="300"
Height="550"
CanUserFreezeColumns="False"
RowIndicatorVisibility="Collapsed"
ColumnWidth="*">
<telerik:RadTreeListView.ChildTableDefinitions>
<telerik:TreeListViewTableDefinition ItemsSource="{Binding Items}" />
</telerik:RadTreeListView.ChildTableDefinitions>
</telerik:RadTreeListView>
================================

 

Example menu items binding is as below .

<telerik:RadContextMenu  DataContext="{Binding PlacementTarget.DataContext, RelativeSource={RelativeSource Self}}"                                        ItemsSource="{Binding MenuItems, Mode=Default}" ItemContainerStyle="{StaticResource ContextMenuItemStyle}"                                        Visibility="{Binding Path=MenuItems.Count,Converter={StaticResource NumberToVisibilityConverter}}" />                                   

<Style x:Key="ContextMenuItemStyle" TargetType="{x:Type telerik:RadMenuItem}" BasedOn="{StaticResource {x:Type telerik:RadMenuItem}}">             <Setter Property="Command" Value="{Binding MenuCommand}"/>             <Setter Property="CommandParameter" Value="{Binding DataContext, RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type telerik:RadContextMenu}}}"/>             <Setter Property="IsSeparator" Value="{Binding IsSeparator}"/>             <Setter Property="IsEnabled" Value="{Binding IsEnabled}"/>             <Setter Property="Header" Value="{Binding Content}"/>             <Setter Property="ItemsSource"  Value="{Binding Children}"/>             <Setter Property="FontWeight" Value="Normal"/>             <Setter Property="IsChecked"  Value="{Binding IsChecked}"/>             <Setter Property="IconTemplate">                 <Setter.Value>                     <DataTemplate>                         <uxt:UxtXamlImage Width="16" Height="16" Template="{Binding DataContext.Icon, Converter={uxt:StringToResourceConverter}, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type telerik:RadMenuItem}}}"/>                     </DataTemplate>  

               </Setter.Value>

            </Setter>

        </Style>

                                    

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Jul 2017
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
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?