Telerik Forums
UI for WPF Forum
1 answer
90 views

Hi,

can somebody provide me a docuemtion regarding the gridview filter capability?

I would like to provide our end user a guide where there can find a answere on typical questions like

- who to do an and / or search

- examples when to use which filter

- The difference filtering behavior using filtering Mode ("FilterRow" or "Popup")

 

Best regards

Stefan
Telerik team
 answered on 24 Jan 2017
3 answers
626 views
After I open my application and select a Row in RadGridView, I would like on Esc button click to deselect that row, is that possible ? If yes how ?
Thanks
Dilyan Traykov
Telerik team
 answered on 24 Jan 2017
1 answer
136 views

I am having some trouble setting up drag and drop from a RadGridView to a RadGridView nested in another RadGridView's RowDetails.  

I have picture attached but basically I'd like to be able to drag n drop from the Strategies list to the Optimizations RowDetails list of Strategies.

Thanks in advance for the help! 

Stefan
Telerik team
 answered on 24 Jan 2017
1 answer
206 views

I read your documentation on how to Merge Cells in RadGridView, however, non of the examples you provide worked for me.
Can you please provide a complete simple example/project on how to use this feature to know what I am missing exactly.

Thanks in advance.

Stefan
Telerik team
 answered on 24 Jan 2017
6 answers
199 views

Hello there,

We already manage drag and drop operations fine ​to a RadScheduleView target in an empty slot or on an existing Appointment.  However we ​need to manage a drop event on a given resource on the left-hand side of the Schedule-View (resources displayed vertically here).  I mean in this case, we do not drop on a time slot, but on a resource header.

Just to make it clear : if a drop occurs on a given slot, we can already create an appointment for that slot.  ​Now we would like to provide an action "Create Appointment for that resource and find our the time slot automatically based on some business logic".  You see?

So far, it seems the DragDropBehavior.CanDrop() method is not involved when we drag over the resource header on the left side of the ScheduleView.

Thanks

/Sébastien Lacroix

 
Nasko
Telerik team
 answered on 24 Jan 2017
1 answer
257 views
Hi, I'm utilizing telerik's window 8 theme on the windows. But sometimes I would like to display the window as red to indicate it as an error. I would do the follow

Windows8Palette.Palette.AccentColor = Color.FromArgb(0xFF, 0xE0, 0x00, 0x00);

The issue with doing this is that I always have to change it back to the original colour after the window is shown. Any tips on a "better" way to do this. 

Windows8Palette.Palette.AccentColor = Color.FromArgb(0xFF, 0xE0, 0x00, 0x00);
 
RadWindow.Alert(new DialogParameters
{
    Content = new TextBlock { Text = message, MinWidth = 200, MaxWidth = 450, TextWrapping = TextWrapping.Wrap },
    Header = header,
    Theme = new Windows8Theme(),
    Owner = Application.Current.MainWindow
});
 
Windows8Palette.Palette.AccentColor = AppConfiguration.DefaultBlue;
return header;
Lance | Senior Manager Technical Support
Telerik team
 answered on 23 Jan 2017
5 answers
185 views

Hi,

At the moment, one of the columns has no filter. In my model, that column is a collection of strings. For the grid, I append them together separating by a comma. 

Person.cs

Name
Collection<strings> Tags

John Doe, new List("Apples", "Oranges")

In my grid, it appears as "John Doe" in the first column and "Apples, Oranges" in the second column.

In my database, I do have a collection of all the tags, I was wondering if I can create a custom filter such that it'll check if it contains the tags I select to filter by.  

Yoan
Telerik team
 answered on 23 Jan 2017
1 answer
316 views
Hierarchical Grouping and Filtering with TreeView WPF

Hello,

After long searches, I have finally found a way to (somehow) achieve my requirement to display my Resources in some sort of Hierarchical groups, through a TreeView.
This works quite well, as the TreeView can even be seen as a row header in some way.

However, I got some new Requirements.
I need to display my Treeview in another part of my View (or even hide it)
Therefore, I thought, that it might be possible to modify my CustomGroupHeaderContentTemplateSelector to Bind its Content (instead of an empty Content)

<telerik:GroupHeaderTemplateSelector x:Key="CustomGroupHeaderContentTemplateSelector">
    <telerik:GroupHeaderTemplateSelector.HorizontalTemplate>
        <DataTemplate>
            <ContentPresenter Content="{Binding FormattedName}" Height="16" Margin="4"/>
        </DataTemplate>
    </telerik:GroupHeaderTemplateSelector.HorizontalTemplate>
    <telerik:GroupHeaderTemplateSelector.VerticalTemplate>
        <DataTemplate>
            <ContentPresenter Content="" Height="16" VerticalAlignment="Top" />
        </DataTemplate>
    </telerik:GroupHeaderTemplateSelector.VerticalTemplate>
</telerik:GroupHeaderTemplateSelector>

to

<telerik:GroupHeaderTemplateSelector x:Key="CustomGroupHeaderContentTemplateSelector">
            <telerik:GroupHeaderTemplateSelector.HorizontalTemplate>
                <DataTemplate>
                    <ContentPresenter Content="{Binding FormattedName}" Height="16" Margin="4"/>
                </DataTemplate>
            </telerik:GroupHeaderTemplateSelector.HorizontalTemplate>
            <telerik:GroupHeaderTemplateSelector.VerticalTemplate>
                <DataTemplate>
                    <ContentPresenter Content="{Binding}" Height="16" VerticalAlignment="Top" />
                </DataTemplate>
            </telerik:GroupHeaderTemplateSelector.VerticalTemplate>
        </telerik:GroupHeaderTemplateSelector>

       
On Start, the application works (and displays its data) as expected
BUT,
I came across a MAJOR PROBLEM that you can reproduce in attached sample
When you collapse both items of the TreeView - then expand one (look at header of each row) - then collapse it - then expand it again, you can see that the header text has changed in a way I cannot re-enact (take a look at attached pictures)

My questions now are:
What causes this kind of behaviour?
Is there a way I can avoid this Problem?
What do you recommend, to achieve my Requirements?

P.S.: - The sample is one of yours (Telerik), with only the slight change/add of a binding
        - Yes I even tried it with the latest telerik release 2017.1.117
        - As it is still not possible to add a .rar file to a post in your forum I hosted the sample project at onedrive: https://1drv.ms/u/s!AqROZw-XiIMygxUHdEcNdVy83H-y

Yana
Telerik team
 answered on 23 Jan 2017
5 answers
180 views
Is it possible to generate a PropertyGrid on the fly by binding it to an XML string?
If not then what would be a good solution here?
I have a property that return an XML string with attributes and values, I need the attributes to be the property display names and values the property values. Maybe parsing the XML and creating PropertyDefinitions? I'd just like to avoid parsing an XML if PropertyGrid has some way doing it.

Thank you for the help!
Stefan
Telerik team
 answered on 23 Jan 2017
2 answers
713 views

Hi,

I´d like to use the template ERP sample source code in my project study.
where can i dowload it?

Regards,

Yale

Developer

Leandro
Top achievements
Rank 1
 answered on 23 Jan 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
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?