Telerik Forums
UI for WPF Forum
0 answers
181 views

Hi,

I asked this question in GridView forum but nobody get feedback!

please help me to fix it.

In my GridViewDataColumn I set following CellTemplate:
 
<StackPanel Orientation="Horizontal">
      <telerik:RadComboBox IsEditable="True" x:Name="rcb" 
                           DisplayMemberPath="Name" 
                           Loaded="RadComboBox_Loaded" 
                           Text="{Binding State, Mode=TwoWay}" Width="100"/>

      <TextBlock Text="{Binding ElementName=rcb, Path=Text}" Margin="2 0" Width="100"/>
</StackPanel>


and the RadCombobox Items can be Following Values:
VeryBad, Bad, Good Plus, Good Neg, Good, ...

I set value of the first cell to Good
(=> RadComboBox and TextBlock Both show Good)
but when I scrolling 
the text of RadCombobox change to Good Plus
but TextBlock Shows Good.

My Solution:
https://www.mediafire.com/?2v5p21y6k8w0a7o


Ahmad
Top achievements
Rank 1
 asked on 28 Jun 2017
2 answers
305 views

Hello,

i used your example of the documentation, about the RadCollectionNavigator, but I did not found any information how to autoscroll the Listbox, if the MovetoNextButton or MoveToLastItem is clicked and the Listbox size is to small to show all item without scrollbar.

Does the Controls have such kind of feature out of the box and best case MVVM friendly? Or do you have any suggestion how to implement this feature for a good customer experience? If possible I would like to avoid the datapager control.

Best regards,

Dirk

Dirk
Top achievements
Rank 1
 answered on 27 Jun 2017
4 answers
95 views

Hi,

We are using version 2016.1.217.40 of the Telerik.Windows.Controls.Input dll and whenever we create a custom style (via copy option in Expression Blend) it breaks the Calendar Panel.

When I say breaks, if you attempt to scroll through the months using the left or right buttons it doesn't refresh the days, i.e. the week numbers stay the same.

If we don't override the style it all works fine.  Note, at this point we are not changing anything in the style, we are simply copying it as is.

This did work ok on the 2013.3.1016.40 version.

I have also tried the same on the 2016.3.914.40 version and it also does not work.

Is there anything extra that needs to be done to maintain the functionality when overriding the default styles?

Kind regards

Robin

Martin
Telerik team
 answered on 27 Jun 2017
1 answer
227 views

Hi,

We are benchmarking several  Toolkit for our company.     Amongst our requirements that will make the decision is the ability to merge headers in a grid view.

 It is the concet of "ColumnGroup" , but applied to rows . We need  in fact the "RowGroup", as shown i nthe attached view below.

 

Do you have this concept ,  And If no, how could I achieved desired  "merged rows"  effect  with telerik toolkit ?

_____________________________________________

|    Merged Header  |__RowHeader____||___Cell1______|

|_______________|__RowHeader2__ _|___Cell2______|

 

Thanks,

 

Marc

Ivan Ivanov
Telerik team
 answered on 27 Jun 2017
1 answer
450 views

Hi,

I have a RadGridView that I want to autogenerate columns for, but I also need to add converters to the bindings based on the datatype of the column. I got as far as creating a  to attach to the RadGridView.AutoGeneratingColumn event:

 

private void AutoGeneratingColumn(object sender, GridViewAutoGeneratingColumnEventArgs e)
{
    if (e.ItemPropertyInfo.PropertyType == typeof(DateTimeOffset))
    {
        var col = e.Column;
        var binding = new Binding()
        {
            Converter = new Converters.DateTimeOffsetToLocalDateTimeConverter()
        };
         
        // How to add the converter to the columns binding?!?!
 
    }
}

 

I can't see any way to access the binding of the column to apply the converter. Am I missing something?

 

Thanks,

Pat

Ivan Ivanov
Telerik team
 answered on 27 Jun 2017
1 answer
137 views

I have an object with a list of sub-objects, each of which can be a different type. These sub objects will then have a list of sub-sub-objects, which also will have different types, and I'd like them all to have different template in my tree view (to allow for different context menus, etc.)

Essentially, I'm looking to have:

- GlobalType (which contains a list of ISubType)

     - SubType1 (Which contains a list of ISubSubType)

          -SubSubType1

          -SubSubType2

    - SubType2 (Which contains a list of ISubSubType)

          -SubSubType3

          -SubSubType4

 

If I have my ItemTemplateSelector for the TreeView properly defined (i.e, for each of GlobalType, SubType1, SubType2, SubSubType1, ...), will it properly set the templates for the nested items?

Martin Ivanov
Telerik team
 answered on 27 Jun 2017
7 answers
471 views

I have a list of objects loaded into a RadGridView where the objects have a property that is a List<string>. This list is pulled from a list of possible values. 

 

class myTableItem{
    public int itemID {get;set;}
    public string name {get;set;}
    public List<string> tagList {get;set;}
}

 

What I would like to do is create a filter that displays a checkbox list of all possible tag values, and any item in the table whose tagList contains any of the values selected in filter will get displayed.

 

How would I do this? Is this something I need to create a custom filter for?

Stefan
Telerik team
 answered on 27 Jun 2017
1 answer
117 views
I've integrated the RadDiagram html export example from the WPF UI demos in my project. Now I would like to implement a tooltip when hovering over an connection path in the generated svg. In the cs sourcecode file a "tooltip" div with an "contentLabel" is added, but it is never used. Does someone have a working tooltip example that I could use?
Dinko | Tech Support Engineer
Telerik team
 answered on 27 Jun 2017
8 answers
204 views
Below is a simple docking application. After the app loads I tear out the panels and dock them together into a single floating window. I end up with a floating tabbed window with several tabs. If I press the close button of the floating panel the entire floating panel and all the tabbed items in it close. How would I get this to only close the active item in the tabbed view instead of all the items and the panel? E.g. if the floating panel has tabs for A, B and C, and B is active when I press close, then the panel would remain floating with tabs A and C still present. 

<Window
        xmlns:telerikDocking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="RadControlsDocking.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
 
        <telerikDocking:RadDocking>
            <telerikDocking:RadDocking.DocumentHost>
                <telerikDocking:RadSplitContainer>
                    <telerikDocking:RadPaneGroup>
                        <telerikDocking:RadDocumentPane Header="A"/>
                        <telerikDocking:RadDocumentPane Header="B"/>
                        <telerikDocking:RadDocumentPane Header="C"/>
                        <telerikDocking:RadDocumentPane Header="D"/>
                        <telerikDocking:RadDocumentPane Header="E"/>
                        <telerikDocking:RadDocumentPane Header="F"/>
                        <telerikDocking:RadDocumentPane Header="G"/>
                    </telerikDocking:RadPaneGroup>
                </telerikDocking:RadSplitContainer>
            </telerikDocking:RadDocking.DocumentHost>
        </telerikDocking:RadDocking>
 
    </Grid>
</Window>
Martin Ivanov
Telerik team
 answered on 27 Jun 2017
6 answers
447 views
Hello,

I'd like to move the contents of a selected row's single cell up or down with in the grid based on the user clicking an up or down button.
In the below example row 3 is selected and the user has clicked the UP button. The result shows that the LABEL data for row 2 and row 3 have been switched. I'd also like to move the selected row in the direction indicated with the button push. In this case the selected row moves from row 3 to row 2.

Thanks, G

EXAMPLE:          RESULT:

#     Label            #     Label    
1     1                   1     1
2     2                   2     3
3     3                   3     2
4     4                   4     4
Martin Ivanov
Telerik team
 answered on 27 Jun 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?