Telerik Forums
UI for WPF Forum
1 answer
215 views
I am working on a RadGridView component where I have a single column that should display data using two control types, a TextBlock and an Image interchangeably. How can I achieve this? Can you please provide an example?!

Thanks in advance.
Dilyan Traykov
Telerik team
 answered on 24 Jan 2017
1 answer
117 views
How can I edit position of the grid?
I want only one column like in the attach image
Dinko | Tech Support Engineer
Telerik team
 answered on 24 Jan 2017
1 answer
84 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
604 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
128 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
194 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
190 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
250 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
179 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
305 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?