Telerik Forums
UI for WPF Forum
2 answers
126 views
How to get node children count after applying column filter?

I used the following solution for counts, before filtering

http://www.telerik.com/community/forums/wpf/treelist/summing-up-parents-and-children.aspx

Now I am  stuck with counts, after filtering

Can any one help me plz?

Dan
Top achievements
Rank 1
 answered on 21 Jan 2018
2 answers
169 views

when I try and run the demos after latest update (2017.3.1018) I get.

You cannot start application demos - telerik UI for WPF from this location because it is already installed from a different location.

any help would be appreciated

 

Jan
Top achievements
Rank 2
 answered on 20 Jan 2018
1 answer
136 views

Hello,

Attached a simple application that has one pane. 

Upon init, I'm calling to:

mainPane.Content = new UserControl1();

 

Upon 'save' menu item I'm calling to:

FileStream Stream = File.Create("MyApplication.wsp");
Docking.SaveLayout(Stream);
Stream.Close();

 

Upon 'load' menu item I'm calling to:

FileStream Stream = File.Open("MyApplication.wsp", FileMode.Open);
Docking.LoadLayout(Stream);
Stream.Close();

 

But at this point, the pane is displayed exactly in the location where it was when layout was saved.

But it's empty, without its user control.

Can you please help ?

How can I upload full source tree ?

Thank you,

Zvika 

Zvi
Top achievements
Rank 1
 answered on 20 Jan 2018
3 answers
200 views

How can I prevent changing the width of the RadOutlookBar inside a RadPane?

What I did for now is to process SizeChanged event and force the RadOutlookBar's Width property to the Width of its LogicalTreeHelper.GetParent() but it's still possible to have the mouse catch the edge of the RadOutlookBar instead of the RadPane parent's splitter which gives the illusion that the splitter won't move.  Is there a better way to do this?

 

Ahmed
Top achievements
Rank 1
 answered on 19 Jan 2018
1 answer
152 views
How to prevent attach connection to shape, detach connection from shape and delete connection from diagram? I want to make decision on ObservableGraphSourceBase level.
Petar Mladenov
Telerik team
 answered on 19 Jan 2018
1 answer
343 views

So, I just updated my project to 2018.1.116 because it fixed the "OutOfMemoryException" that was being thrown by the PDFViewer.  The latest version has seemed to resolve that issue, but now there's a new issue.  PDFs with images load, display and export just fine, however if you try and print a PDF that contains an image, the images is not printed.

 

You can reproduce this behavior by opening Telerk's WPF Demo application, go to the PDFViewer sample and printed.  The document prints but id did not print the image under "1. Images" on page 2.

 

Anyone else having this issue?

Anna
Telerik team
 answered on 19 Jan 2018
3 answers
233 views

Hi all,

     I read this blog(https://www.telerik.com/blogs/ui-automation-testing-with-uia-verify) about identify Wpf telerik element by uia verify tool. 

     However, I can't find the RadButton and only the text on uia verify tool. Could someone give me hints? Thanks

Yoan
Telerik team
 answered on 19 Jan 2018
7 answers
1.2K+ views

Hi,

I'm trying to use different GroupHeaderTemplates with Converters for the columns in my grid view.  If I apply the template to the entire grid, my converter gets invoked.

           <telerik:RadGridView.GroupHeaderTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" />
                </DataTemplate>
            </telerik:RadGridView.GroupHeaderTemplate>

 

If I apply the GroupHeaderTemplates to GridViewDataColumn, my converter gets called unless the column had a cell template.  My converter gets called for the followiing:

 

               <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name">

                   <telerik:GridViewDataColumn.GroupHeaderTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" />

                        </DataTemplate>
                    </telerik:GridViewDataColumn.GroupHeaderTemplate>

            </telerik:GridViewDataColumn>

My converter (IsActiveConverter) does NOT get called for the following.

               <telerik:GridViewDataColumn Width="16" SortMemberPath="FontFormat">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <Image x:Name="TypeIcon" Width="12" Height="12" Style="{StaticResource TypeIconStyle}" />
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                    <telerik:GridViewDataColumn.GroupHeaderTemplate>
                        <DataTemplate>
                            <Image Source="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" Height="16" Width="16"/>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.GroupHeaderTemplate>
                </telerik:GridViewDataColumn>

 

What am I doing wrong?  Thanks.

 

    
 

Stefan
Telerik team
 answered on 19 Jan 2018
0 answers
349 views

Hi,

I am binding my observablecollection to CollectionViewSource which has SortDescriptions. On initial load everything loads fine and sorting can be done. 

I have a reset button on which i am trying to refresh the changes in the grid with re fetching observablecollection and binding to ItemSource. Once i do the rebind the sorting doesnot work. 

Below is my collectionviewsource,

<CollectionViewSource
                x:Key="BuildLineSource"
                IsLiveSortingRequested="True"
                Source="{Binding BuildLineCollection,
                                 UpdateSourceTrigger=PropertyChanged}">
                <CollectionViewSource.GroupDescriptions>
                    <PropertyGroupDescription PropertyName="BuildLineCategory.Category" />
                </CollectionViewSource.GroupDescriptions>
                <CollectionViewSource.LiveSortingProperties>
                    <system:String>ExecutePriority</system:String>
                </CollectionViewSource.LiveSortingProperties>
                <CollectionViewSource.SortDescriptions>
                    <componentModel:SortDescription PropertyName="ExecutePriority" />
                </CollectionViewSource.SortDescriptions>
            </CollectionViewSource>

 

Below is the code i am calling on Constructor and also on Reset click,

private void GetBuildLines()
        {
            BuildLineCollection?.Clear();
            BuildLineCollection = _buildLineData.GetBuildLines();           
            ((INotifyPropertyChanged)BuildLineCollection).PropertyChanged +=
                (x, y) => BuildLineUpdated();
        }
Vinay
Top achievements
Rank 1
 asked on 19 Jan 2018
2 answers
635 views

Hi,

Is there a way to turn off the opacity in the new Fluent theme?

Stefan
Top achievements
Rank 1
 answered on 19 Jan 2018
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
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?