Telerik Forums
UI for WPF Forum
12 answers
242 views
I don't know if it is possible, but I am trying to make a custom window that looks like the image attached.  I am troubled by how to make the tab and the look to it. The window title would be on the top left tab looking piece. Any help would be appreciated.
Vladi
Telerik team
 answered on 14 Mar 2013
5 answers
290 views
Using Telerik.Windows.Controls.*.dll version 2012.1.326.40
<telerik:GridViewDataColumn.AggregateFunctions>

    <telerik:SumFunction ResultFormatString="{}{0:C}"/>

</telerik:GridViewDataColumn.AggregateFunctions>


Getting Exception

System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
   at Telerik.Windows.Controls.GridView.AggregatesToGroupFooterAggregatesConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Cells\GridViewFooterCellBase.cs:line 169
   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.Activate(Object item)
   at System.Windows.Data.BindingExpression.OnDataContextChanged(DependencyObject contextElement)
   at System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
   at System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
   at System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
   at System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.TreeWalkHelper.OnInheritablePropertyChanged(DependencyObject d, InheritablePropertyChangeInfo info)
   at System.Windows.DescendentsWalker`1._VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.VisitNode(FrameworkElement fe)
   at System.Windows.DescendentsWalker`1.VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.WalkFrameworkElementLogicalThenVisualChildren(FrameworkElement feParent, Boolean hasLogicalChildren)
   at System.Windows.DescendentsWalker`1.IterateChildren(DependencyObject d)
   at System.Windows.DescendentsWalker`1._VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.VisitNode(FrameworkElement fe)
   at System.Windows.DescendentsWalker`1.VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.WalkLogicalChildren(FrameworkElement feParent, FrameworkContentElement fceParent, IEnumerator logicalChildren)
   at System.Windows.DescendentsWalker`1.WalkFrameworkElementLogicalThenVisualChildren(FrameworkElement feParent, Boolean hasLogicalChildren)
   at System.Windows.DescendentsWalker`1.IterateChildren(DependencyObject d)
   at System.Windows.DescendentsWalker`1._VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.VisitNode(FrameworkElement fe)
   at System.Windows.DescendentsWalker`1.VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.WalkFrameworkElementLogicalThenVisualChildren(FrameworkElement feParent, Boolean hasLogicalChildren)
   at System.Windows.DescendentsWalker`1.IterateChildren(DependencyObject d)
   at System.Windows.DescendentsWalker`1._VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.VisitNode(FrameworkElement fe)
   at System.Windows.DescendentsWalker`1.VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.WalkLogicalChildren(FrameworkElement feParent, FrameworkContentElement fceParent, IEnumerator logicalChildren)
   at System.Windows.DescendentsWalker`1.WalkFrameworkElementLogicalThenVisualChildren(FrameworkElement feParent, Boolean hasLogicalChildren)
   at System.Windows.DescendentsWalker`1.IterateChildren(DependencyObject d)
   at System.Windows.DescendentsWalker`1._VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.VisitNode(FrameworkElement fe)
   at System.Windows.DescendentsWalker`1.VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.WalkLogicalChildren(FrameworkElement feParent, FrameworkContentElement fceParent, IEnumerator logicalChildren)
   at System.Windows.DescendentsWalker`1.WalkFrameworkElementLogicalThenVisualChildren(FrameworkElement feParent, Boolean hasLogicalChildren)
   at System.Windows.DescendentsWalker`1.IterateChildren(DependencyObject d)
   at System.Windows.DescendentsWalker`1._VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.VisitNode(FrameworkElement fe)
   at System.Windows.DescendentsWalker`1.VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.WalkFrameworkElementLogicalThenVisualChildren(FrameworkElement feParent, Boolean hasLogicalChildren)
   at System.Windows.DescendentsWalker`1.IterateChildren(DependencyObject d)
   at System.Windows.DescendentsWalker`1.StartWalk(DependencyObject startNode, Boolean skipStartNode)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.ClearValueCommon(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata)
   at System.Windows.DependencyObject.ClearValue(DependencyProperty dp)
   at Telerik.Windows.Controls.GridView.DataCellsPresenter.AggregateResultCollection_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\DataCellsPresenter.cs:line 113
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.RadObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\RadObservableCollection.cs:line 149
   at Telerik.Windows.Data.RadObservableCollection`1.ResumeNotifications() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\RadObservableCollection.cs:line 265
   at Telerik.Windows.Controls.GridView.GridViewDataControl.CreateAggregateResults() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs:line 3436
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs:line 3638
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\DataItemCollection.cs:line 656
   at Telerik.Windows.Data.DataItemCollection.RaiseChangeEvents() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\DataItemCollection.cs:line 912
   at Telerik.Windows.Data.DataItemCollection.SetItemsSource(IEnumerable source, Type itemType) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\DataItemCollection.cs:line 773
   at Telerik.Windows.Controls.GridView.GridViewDataControl.<>c__DisplayClass14.<Bind>b__13() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs:line 3575
   at Telerik.Windows.Controls.CursorManager.PerformTimeConsumingOperation(FrameworkElement frameworkElement, Action action) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\CursorManager.cs:line 16
   at Telerik.Windows.Controls.GridView.GridViewDataControl.Bind(Object newValue) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs:line 3544
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnItemsSourceChanged(Object oldValue, Object newValue) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs:line 3199
   at Telerik.Windows.Controls.DataControl.OnItemsSourcePropertyChanged(DependencyObject origin, DependencyPropertyChangedEventArgs args) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\DataControl.cs:line 143
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
   at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange)
   at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
   at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
   at MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName)
   at MS.Internal.Data.PropertyPathWorker.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)
   at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)
   at System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args)
   at OpenSolutions.Sys.Client.Windows.Common.BaseViewModel.OnPropertyChanged(String property) in D:\OSI\Core\DEV\Extensions\RPDashboard\Src\OSI.Core.RPDashboard.Client.Windows\OpenSolutions.Sys.Client.Windows\Common\BaseViewModel.cs:line 30
   at OSI.Core.RPDashboard.Client.Windows.ViewModels.RelationshipSummaryFeeIncomeViewModel.set_FeeIncome(ObservableCollection`1 value) in D:\OSI\Core\DEV\Extensions\RPDashboard\Src\OSI.Core.RPDashboard.Client.Windows\ViewModels\RelationshipSummaryFeeIncomeViewModel.cs:line 90
   at OSI.Core.RPDashboard.Client.Windows.ViewModels.RelationshipSummaryFeeIncomeViewModel.RefreshView() in D:\OSI\Core\DEV\Extensions\RPDashboard\Src\OSI.Core.RPDashboard.Client.Windows\ViewModels\RelationshipSummaryFeeIncomeViewModel.cs:line 131
   at OSI.Core.RPDashboard.Client.Windows.ViewModels.RelationshipSummaryFeeIncomeViewModel.<RefreshData>b__3() in D:\OSI\Core\DEV\Extensions\RPDashboard\Src\OSI.Core.RPDashboard.Client.Windows\ViewModels\RelationshipSummaryFeeIncomeViewModel.cs:line 109
   at OpenSolutions.Sys.Client.Windows.WpfDispatcher.TryExecuteAction(Action action)

 


Hristo
Telerik team
 answered on 14 Mar 2013
1 answer
144 views
Hello,
I'm using RibbonView and RibbonWindow for my application.
But I can't see application icon on the top left of the window

Could you tell me how to set the application icon on the ribbonwindow in xaml?

Regards,
Kiril Vandov
Telerik team
 answered on 14 Mar 2013
6 answers
299 views
Hi,

how do i find a textbox on "EditEnded"? I have a RadDataform with an EditTemplate. Now i use a textbox like this:
<DataTemplate x:Key="MyEditTemplate">
   <Grid>
         <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="*"/>
          </Grid.ColumnDefinitions>
          <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition  Height="40"/>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
         </Grid.RowDefinitions>
         <telerik:DataFormDataField Label="{Binding Source={StaticResource Lang}, XPath=SettingsHost/@Header}" DataMemberBinding="{Binding Host, Mode=TwoWay}" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" />
                                        <telerik:DataFormDataField Label="{Binding Source={StaticResource Lang}, XPath=SettingsMandant/@Header}" DataMemberBinding="{Binding Mandant, Mode=TwoWay}" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" />
          <telerik:DataFormDataField Label="{Binding Source={StaticResource Lang}, XPath=SettingsPort/@Header}"  DataMemberBinding="{Binding Port, Mode=TwoWay}" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" />                                      
          <telerik:DataFormDataField Label="{Binding Source={StaticResource Lang}, XPath=SettingsPasswort/@Header}"  DataMemberBinding="{Binding Passwort, Mode=TwoWay}" Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" />                                                                                                           
        <TextBox x:Name=MyTextBox Foreground="red" />                                       
     </Grid>
</DataTemplate>

CodeBehind:

if (e.EditAction == Telerik.Windows.Controls.Data.DataForm.EditAction.Commit)
{
      Model.MandantObj NewMandant = VerbindungForm1.CurrentItem as Model.MandantObj;
     // Find Textbox?
     VerbindungForm1.MyTextbox ??? does not work...
}

Thanks
Best Regards
Rene

ITA
Top achievements
Rank 1
 answered on 14 Mar 2013
0 answers
131 views
Hi,
     I want to change only parent rows color in treelistview.
     could you please give any examples of Treelistview?
    
     Thanks!  

regards
Ketan




Ketan
Top achievements
Rank 1
 asked on 14 Mar 2013
3 answers
197 views

Error Creating VB RadControls WPF Application (Telerik.VSX.Xaml.2013.1.215.0.dll not found)

 

I just installed WPF controls package for Visual Studio.  I am having an issue creating a VB RadControls WPF Application.  I am selecting the VB RadControls WPF Application options and in the configuration wizard I am selecting Use Implicit Styles and for components I am only selecting Telerik.Windows.Controls.  After selecting a theme it pops up this error during the install.

 

An error occurred while running the wizard.

 

Error executing custom action Telerik.VSX.TextTemplating.Actions.UnfoldFilesAction: Compiling transformation: Metadata file 'Telerik.VSX.Xaml.2013.1.215.0.dll' could not be found

 

I have tried updating the WPF VSExtensions from the extensions manager as well as just uninstalling and reinstalling them. 

 

I can create a RadControls Windows Forms Application just fine.  It’s just the WPF applications that are the issue. 

 

Any thoughts on how to fix this issue would be appreciated.

 

I am running:

Win 7 Pro 64bit

vs2012

 

I also have these other Telerik Applications installed:

Windows Forms

Reporting

JustCode

JustTrace

JustDecompile

Thanks

Biliana Ficheva
Telerik team
 answered on 14 Mar 2013
1 answer
78 views
Hello all,

Is it possible to change application button to custom made button? So it doesn't look like rectangle or circle

Thanks in advance
Nikola
Nikola
Top achievements
Rank 1
 answered on 13 Mar 2013
1 answer
320 views
My objects has a RequiredCondition property.

RequiredCondition has Id, Name and so one.

I also has an Collection that is the ItemsSource.

How do I set up the binding? 

 <telerik:RadComboBox ItemsSource="{Binding Path=DataContext.Conditions, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type views:PropertyEditorView}}}"
                                                     SelectedItem="{Binding RequiredCondition}"
                                                     SelectedValue="{Binding RequiredCondition}"
                                                     DisplayMemberPath="Name" EmptyText="Select an Expression" />

 
Yana
Telerik team
 answered on 13 Mar 2013
1 answer
223 views
I'm trying to upgrade to Q1 2013 and I've am having some issues with the migration from RadDragAndDropManager to DragDropManager after reading your migration help
http://www.telerik.com/help/wpf/dragdropmanager-migration.html

What is the equivilant for the RadDragAndDropManager.DropQueryEvent?

What is the equivilant event for RadDragAndDropManagerDragInfoEvent with a status of DragStatus.DragInProgress?

Can you please provide a sample of the following based on DragDropManager, I can't see how to set cues on the new class
http://www.telerik.com/help/wpf/radtreeview-how-to-set-drag-cue-feedback-deny-drop.html
Pavel R. Pavlov
Telerik team
 answered on 13 Mar 2013
7 answers
85 views
We are migrating from Actipro to Telerik docking. What I am wondering if it is possible what we did with Actipro.  The tabs down the right side is actually a tab control that opens the Actipro docking windows.   But please notice that that when you do an autohide, no tab is created.  The tabs on the right basically tell the corresponding window to open or shut.

https://www.dropbox.com/s/gvx7a4306856hxh/Docking.mp4

Yana
Telerik team
 answered on 13 Mar 2013
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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?