Telerik Forums
UI for WPF Forum
1 answer
104 views

hi

I wanna to use  RadTileView with pdfviewer  in each content that display employee salary slips

Lance | Senior Manager Technical Support
Telerik team
 answered on 12 Jan 2017
5 answers
265 views
Hi,

I'm searching for a solution to filter the source immediately when the user types in the filter criteria. This is my declaration in my xaml:

<telerik:RadGridView Name="grvKanten" AutoGenerateColumns="False" IsReadOnly="True" CanUserReorderColumns="True" FilteringMode="FilterRow"
                     FilterOperatorsLoading="grvKanten_FilterOperatorsLoading" >
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Name="colKantenname" DataMemberBinding="{Binding Kantenname}" Header="Kantenname" MinWidth="150"/>
        <telerik:GridViewDataColumn Name="colKantenbreitenname" DataMemberBinding="{Binding Kantenbreitenname}" Header="Kantenbreiten-Name" MinWidth="150"/>
        <telerik:GridViewDataColumn Name="colLagerplatz" DataMemberBinding="{Binding Lagerplatzname}" Header="Lagerplatz" MinWidth="150"/>
        <telerik:GridViewDataColumn Name="colLaenge" DataMemberBinding="{Binding Laenge}" Header="Länge" MinWidth="100"/>
        <telerik:GridViewDataColumn Name="colDekor" DataMemberBinding="{Binding Dekor}" Header="Dekor" MinWidth="100"/>
        <telerik:GridViewDataColumn Name="colBreie" DataMemberBinding="{Binding Breite}" Header="Kantenbreite" MinWidth="100"/>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

In my codebehind I delete some filter operators and set a default operator for each column when the FilterOperatorsLoading event is fired:
Private Sub grvKanten_FilterOperatorsLoading(sender As System.Object, e As Telerik.Windows.Controls.GridView.FilterOperatorsLoadingEventArgs)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.EndsWith)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsContainedIn)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsEmpty)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsEqualTo)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsGreaterThanOrEqualTo)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsLessThanOrEqualTo)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNotEmpty)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNotEqualTo)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNotNull)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNull)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.StartsWith)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsLessThan)
      e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsGreaterThan)
      e.DefaultOperator1 = Telerik.Windows.Data.FilterOperator.Contains
End Sub

So, if the user types in some filter criterias, I want the underlying source to be immediately refreshed every time the criteria changes without pressing the return button.

I tryed to set IsFilteringDeferred to false and true for some columns, but that doesn't seem to make a difference. The behavior is always the same: I have to press return to refresh the source.

Kind regards
Risa
Top achievements
Rank 1
 answered on 12 Jan 2017
0 answers
134 views

Hello!

      I'm using a "RadGridView" in my application. The grid is in a border with HorizontalAlignment="Stretch". I'm having 8 columns with only 2 of them given fixed widths. Since I want my grid to fill the horizontal space I'm setting the columns width in form of "*" values (e.g. 50* or 100*). Every thing works fine if the amount of data bound is small up-till around 50-70 max. When I bind a collection with more data like around 100-200 the UI starts to distort. The columns do not resize to take the whole space (Se the attached image). I need help asap on this.

 

Regards

Tushar Gupta

 

tushar
Top achievements
Rank 1
 asked on 12 Jan 2017
1 answer
65 views
In WPF RadRichTextBox (2015.2.623.45 build), how to get number of lines in DocumentContentChanged event while text get wrapped?
Tanya
Telerik team
 answered on 12 Jan 2017
1 answer
76 views

In WPF RadRichTextBox (2015.2.623.45 build).

how to get number of lines while text get wrapped in DocumentContentChanged event?

 

Thanks

 

Tanya
Telerik team
 answered on 12 Jan 2017
2 answers
901 views

Hi ,

I am binding one of the Property "Location" of  a class to Gridview column as combobox.Its ItemSource is another property in ViewModel of type List<string>.

But here the problem is I am not able to see the value of Location when Grid is loaded.The following is Xaml related to GridviewComboColumn.

 <telerik:RadGridView.Columns>
                    <telerik:GridViewComboBoxColumn  DataMemberBinding="{Binding Location}"  ItemsSource="{Binding LocationList}" IsComboBoxEditable="False"  Width="*" />               
                </telerik:RadGridView.Columns>

Here what should be the selectedValueMemberPath and DisplayMemberPath values will be ?? Location List is a simple List<string> not a class type.

How to make Location value to be seen when grid loaded?/

Regards,

Nagasree.

Dharmavaram
Top achievements
Rank 1
 answered on 12 Jan 2017
2 answers
114 views

Hi,

I am using RadTreeListView to display the data hierarchy in UI. I have a requirement to shuffle/re-order the columns. I had achieved this functionality by setting CanUserReorderColumns property to True.

 

UI:

Three Data Columns Naming - Col1|Col2|Col3

XAML is written such a way that Col1 is freezed (cannot reorder) setting GridViewDataColumn.IsReorderable="False". Means Col2 & Col3 can reshuffle there positions.

Everything works well till this point. The issue is with DropIcon.

When I drag Col2 on top of Col1 a DropIcon showing cannot drop is displayed (that is expected), but from this point without dropping i drag Col2 on top Col3 still a cannot drop drop icon is display (actually user can drop Col2 on top of Col3 position).

 

Please let me know how to fix this issue.

 

 

Thanks,

Lakshman Siddireddy

Lakshman
Top achievements
Rank 1
 answered on 12 Jan 2017
29 answers
678 views
Hi

I've got an app with some Telerik Docking contols, and in one of the RadPanes is a WPF Frame control, displaying a webpage. This works fine when the pane is docked, but when I undock the pane, the content disappears. It re-appears when I re-dock the pane. Any idea what is happening here?

XAML:
<telerik:RadPane Header="Test" CanDockInDocumentHost="False" Name="Tese"
ContextMenuTemplate="{x:Null}">
    <telerik:RadPane.Content>
        <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
     </telerik:RadPane.Content>
</telerik:RadPane>

 <telerik:RadPane Header="Help" CanDockInDocumentHost="False" Name="Help" ContextMenuTemplate="{x:Null}">
                            <telerik:RadPane.Content>
                                <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
                                </telerik:RadPane.Content>
                        </telerik:RadPane>
 <telerik:RadPane Header="Help" CanDockInDocumentHost="False" Name="Help" ContextMenuTemplate="{x:Null}">
                            <telerik:RadPane.Content>
                                <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
  
 <telerik:RadPane Header="Help" CanDockInDocumentHost="False" Name="Help" ContextMenuTemplate="{x:Null}">
                            <telerik:RadPane.Content>
                                <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
                                </telerik:RadPane.Content>
                        </telerik:RadPane>
                             </telerik:RadPane.Content>
  
 <telerik:RadPane Header="Help" CanDockInDocumentHost="False" Name="Help" ContextMenuTemplate="{x:Null}">
                            <telerik:RadPane.Content>
                                <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
                                </telerik:RadPane.Content>
                        </telerik:RadPane>
                     </telerik:RadPane>


Thanks
Tom Davies
Peavey Digital Research.
Kabir
Top achievements
Rank 1
 answered on 11 Jan 2017
4 answers
368 views

Hi.   I've been working off of the OrgChart example, which is a great example and is exactly what I need.  However, I'm still having issues when updating the graph source and having that layout correctly.   Now, all the nodes get stacked on top of each other.  Can you provide an example of how to get this working?  Take for example, the OrgChart sample app and provide a new demo where you can click a button and have it reload a completely new data set and have that layout correctly in the diagram?

 

Thanks very much

Jamie
Top achievements
Rank 1
 answered on 11 Jan 2017
3 answers
258 views

http://stackoverflow.com/questions/19590930/fluid-layout-wrap-panel-variablesizedwrapgrid-in-desktop-applications

How best to build something like that with Telerik WPF?

Martin Ivanov
Telerik team
 answered on 11 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?