Telerik Forums
UI for WPF Forum
3 answers
228 views

Hello everyone.

Is it possible to add context menu (RadContextMenu or System.Windows.Controls.ContextMenu) to filtering control in RadGridView?

I need to implement copy and past functions on textboxes in the FilteringControl.

It is the sample where I try to do this ( https://drive.google.com/file/d/0B1j-40J5aVOfSEctRHdZYnh3RjA/view?usp=sharing ). 
There are ContextMenu in UserControlWithMenu and in FilteringControlEx, but both of them doesn't appear on right mouse click.

Stefan
Telerik team
 answered on 07 Aug 2017
1 answer
209 views

When Mouse is on a recurring, it show tooltip.

However when case 'Recurring task on single row', it doesn't show tooltip.

How can I make it to show tooltip when 'Recurring task on single row'?

Polya
Telerik team
 answered on 07 Aug 2017
1 answer
100 views

Hi,

I want to show one empty row at the end of the RadGridview when it is loaded when the data is empty.How to achieve this.I tried like shown below but no use

 

if(collection.Count ==0)

{

var itemsView = (IEditableCollectionView)CollectionViewSource.GetDefaultView(SyncObjects);
                    itemsView.NewItemPlaceholderPosition = NewItemPlaceholderPosition.AtEnd;

}

Once after loaded user will add data using add button.Now the grid is appearing as shown in the image where only headers are coming and it is not appealing  like grid.

 

I want one empty row once it is loaded when no data exist.How to achieve this.

Stefan
Telerik team
 answered on 04 Aug 2017
1 answer
260 views

Hi I am having combobox in the GridViewData column and i am binding the ItemSource with one  of the property present on the class binded to the radgridview itemsource collection.For example I binded radgridview with list of employees.Employee is a class and I binded the combobox itemsource with dependants property which is one of the property on the employee class.

But the combobox is not populating.DataContext of RadGridView is separate and it is another viewmodel class.

 

<telerik:GridViewDataColumn.CellEditTemplate>
                       <DataTemplate>
                           <telerik:RadComboBox x:Name="ComboBox"  SelectedIndex="0"  Height="20" Width="150"
                            ItemsSource="{Binding Items,RelativeSource={RelativeSource AncestorType=telerik:GridViewRow}}"
                            ItemTemplate="{StaticResource RadComboBoxItemTemplate}"
                            SelectionBoxTemplate="{StaticResource SelectionBoxTemplate}">
                           </telerik:RadComboBox>
                       </DataTemplate>
                   </telerik:GridViewDataColumn.CellEditTemplate>

 

Stefan
Telerik team
 answered on 04 Aug 2017
2 answers
243 views

Hi,

I have a real simple grid prototype. Works fine until I group by a column. When any grouping applied the area below the header row is blank although the gridview seems to be resizing as expected. I think this is a rendering issue. 

More details:

  • Windows 10 OS
  • VS2017
  • Dell PC
  • Latest Telerik, installed today (trial)

Images attached show the before and after. Notice that the size (border) of the grid changes as expected.

Code fragment:

 
    <Grid.RowDefinitions>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="*"/>
    </Grid.RowDefinitions>
     
    <telerik:RadGridView Grid.Row="0" ItemsSource="{Binding Variables}" GroupRenderMode="Nested"
                         AutoExpandGroups="True" AutoGenerateColumns="False">
        <telerik:RadGridView.Columns>
            <telerik:GridViewDataColumn DataMemberBinding="{Binding Type}" Header="Type" IsGroupable="True"/>
            <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" IsGroupable="False"/>
            <telerik:GridViewDataColumn DataMemberBinding="{Binding Index}" Header="Index"/>
            <telerik:GridViewDataColumn DataMemberBinding="{Binding BriefDescription}" Header="Description" IsGroupable="True"/>
        </telerik:RadGridView.Columns>
         
        <telerik:RadGridView.GroupDescriptors>
            <telerik:GroupDescriptor Member="BriefDescription" SortDirection="Ascending" />
        </telerik:RadGridView.GroupDescriptors>
    </telerik:RadGridView>
     
</Grid>

Any ideas?

Stefan
Telerik team
 answered on 04 Aug 2017
0 answers
142 views

 Hello,

I've implemented 2 years ago a CustomDockingPane to work with Catel MVVM pattern but reviewing the code looks like a ...hum... Code smell...

I was wondering if I'm the only one which use those 2 framework together or is there anyone who can share his implementation with me

 

I've asked in the past and also sent ticket to Telerik support but they don't know the Catel Framework so well...

 

so...anyone alive?

Thanks

 

Michele
Top achievements
Rank 2
 asked on 03 Aug 2017
1 answer
114 views
Hi,

As I would like to display rich, structured information with validation errors, in my application calls to INotifyDataErrorInfo.GetErrors don't return strings but complex objects. For example, there is a severity level that would need to affect the colors (from orange to darker red).

It easily works everywhere, except on the RadGridView.

I've been trying to replace the GridViewValidationToolTipTemplate with something that does not assume errors to be simple strings. I've tried setting the ToolTip.Content in other templates to Validation.Errors (the original errors) instead of Errors (which is a list of strings), but that just brings a list of duplicated entries at row level (GridViewRowTemplate), or no entry at all on cell level (GridViewCellTemplate).

Am I missing something? What do you suggest?

Thanks
Stefan
Telerik team
 answered on 03 Aug 2017
1 answer
93 views

Hey

I have some problem with Kendo.Grid()

I wanna add filter for some column value then is NULL.

Code here:

x.Ajax().Read(r => r.Action("DataSource", "SRV_Service", new { area = "SRV" }))
.Filter(f => f.Add(s => s.PID).IsEqualTo((Guid?)null))

Datasource when i use null value filter.

https://resimyukle.xyz/resim/KU48JA

 

MVC Enums for filter operators

    public enum FilterOperator
    {
        IsLessThan = 0,
        IsLessThanOrEqualTo = 1,
        IsEqualTo = 2,
        IsNotEqualTo = 3,
        IsGreaterThanOrEqualTo = 4,
        IsGreaterThan = 5,
        StartsWith = 6,
        EndsWith = 7,
        Contains = 8,
        IsContainedIn = 9,
        DoesNotContain = 10
    }

 

And your "Operator used in FilterDescriptor" keys has IsNull operator
http://docs.telerik.com/aspnet-mvc/api/Kendo.Mvc/FilterOperator

How can i do append IsNull operator on Kendo.Mvc.FilterDescriptor ?

Please help me

 

 

 

Martin Ivanov
Telerik team
 answered on 03 Aug 2017
2 answers
377 views

Hi,

I want to add button at the end to drop down in AutoCompleteBox. Can Any one suggest me the best approach.

 

Regards,

Viswa Teja.

Martin
Telerik team
 answered on 03 Aug 2017
0 answers
68 views

Hi!

Last two days I have been recording tests on Web types and Wpf types separately

Seems like 'random name generator' is working fine in Web Type test. But is it possible to use random  â€˜DataBindVariableName’ from Web types test to Wpf Type test?

Thanking you!

Kind Regards

Sheerin

Sheerin
Top achievements
Rank 1
 asked on 03 Aug 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
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?