Telerik Forums
UI for WPF Forum
1 answer
227 views
This exception occurred while I was using the RadRichTextBox, and it crashed my application.  I have not been able to reproduce it since.  I am on RadControls for WPF version 2012.3.1017.40.

ShellApplication.HandleException : InteractionDesktopClient: App Domain Unhandled exception
Top Exception
Type=System.ArgumentNullException
Source=mscorlib
Message=Value cannot be null.
StackTrace:
   at System.Threading.Monitor.ReliableEnter(Object obj, Boolean& lockTaken)
   at System.Threading.Monitor.Enter(Object obj, Boolean& lockTaken)
   at Telerik.Windows.Documents.DocumentPosition.Dispose() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Core\DocumentPosition\DocumentPosition.cs:line 2626
   at Telerik.Windows.Documents.DocumentPosition.Finalize() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Core\DocumentPosition\DocumentPosition.cs:line 2650

Is this a known issue?

Thanks,
Evan
Boby
Telerik team
 answered on 16 Jan 2013
5 answers
701 views
Hi,

I am trying to use the AggregateFunctions and display them inside the Footer of the Grid using ItemsControl.ItemTemplate similar to the sample you provide. Though this works fine I have run into a problem, I have a tab control with 2 tabs inside each tab I have a Grid both using AggregateFunctions displayed in the footer using the ItemsControl.ItemTemplate. Initially the footers are displayed fine, if I however move between tabs/grids the footers are displayed empty.

If I do not use the ItemsControl.ItemTemplate approach the footers work fine, if I go and add or update the contents of the grid then the footer is displayed correctly again.

This code does not work:

<telerik:GridViewDataColumn Header="Available Amount" UniqueName="Amount" DataMemberBinding="{Binding Amount}" > 
    <telerik:GridViewDataColumn.AggregateFunctions> 
        <telerik:SumFunction Caption="Sum: " ResultFormatString="{}{0:0}" SourceField="Amount" /> 
        <telerik:AverageFunction Caption="Average: " ResultFormatString="{}{0:0}" SourceField="Amount" /> 
    </telerik:GridViewDataColumn.AggregateFunctions> 
    <telerik:GridViewDataColumn.Footer> 
        <StackPanel Orientation="Vertical" Margin="5,0">  
            <telerik:AggregateResultsList ItemsSource="{Binding}" VerticalAlignment="Center" Grid.Column="4">  
                <ItemsControl.ItemTemplate> 
                    <DataTemplate> 
                        <StackPanel Orientation="Horizontal" VerticalAlignment="Center">  
                            <TextBlock VerticalAlignment="Center" Text="{Binding Caption}" Width="100"/>  
                            <TextBlock VerticalAlignment="Center" Foreground="Blue" Text="{Binding FormattedValue}" /> 
                        </StackPanel> 
                    </DataTemplate> 
                </ItemsControl.ItemTemplate> 
                <ItemsControl.ItemsPanel> 
                    <ItemsPanelTemplate> 
                        <StackPanel Orientation="Vertical" /> 
                    </ItemsPanelTemplate> 
                </ItemsControl.ItemsPanel> 
            </telerik:AggregateResultsList> 
        </StackPanel> 
    </telerik:GridViewDataColumn.Footer> 
</telerik:GridViewDataColumn> 

This code does display but I would really like to control how it is displayed:

<telerik:GridViewDataColumn Header="Available Amount" UniqueName="Amount" DataMemberBinding="{Binding Amount}" > 
    <telerik:GridViewDataColumn.AggregateFunctions> 
        <telerik:SumFunction Caption="Sum: " ResultFormatString="{}{0:0}" SourceField="Amount" /> 
        <telerik:AverageFunction Caption="Average: " ResultFormatString="{}{0:0}" SourceField="Amount" /> 
    </telerik:GridViewDataColumn.AggregateFunctions> 
</telerik:GridViewDataColumn> 

I am using Q2 2009 (Version: 2009.2.701.35)

Hopefully it is something I am missing.

Regards,
Glen
Pankaj
Top achievements
Rank 1
 answered on 16 Jan 2013
4 answers
232 views
Is there a way to increase the height of the tab size (below the title bar).

Thanks

Chom
Chom
Top achievements
Rank 1
 answered on 15 Jan 2013
1 answer
188 views
Good Day,

We use Telerik WPF controls Version 2012 Q2. we have a problem regarding the handling of the menu of options offered by the RadDiagram, modify the content and include new options. The problem is that we want to load a list of options through the DependencyProperties, this was possible but we can not tell you to select element after being added as the method telerik: SettingsPaneView.EditorValue being used to tell the ListBox to property friendly.

Down with information on how we are achieving this. hope can help,
  Thank Telerik Team.

ListColumn = List different values
ListColumnSelectedItem = Selected Item

telerik:SettingsPaneView.EditorPropertyName="ListColumn" <telerik:RadListBox telerik:SettingsPaneView.EditorItemType="Shapes,Custom" telerik:SettingsPaneView.EditorValue="{Binding ItemsSource, Mode=TwoWay, RelativeSource={RelativeSource Self}}">
                 </ telerik: RadListBox>
Hristo
Telerik team
 answered on 15 Jan 2013
3 answers
107 views
I have a RadGridView and DataGrid implementation of a grid with with about 20 columns. A large number of the columns use cell templates and some of them use converters as well. I've noticed that when I edit and then tab between columns the RadGrid's performance has a noticeable lag compared to the DataGrid. Any ideas as to what might cause this and ways to alleviate?

Thanks,
Alex
Nedyalko Nikolov
Telerik team
 answered on 15 Jan 2013
6 answers
442 views

Hi,

First I apologize if the following issues are already replied.

I am using the WPF Calendar and I have the following issues:

  1. When I try to set the SelectableDateStart to a date prior to current Month (e.g 20 May 2011)

calendar starts again from current month (June in our case).

How is it possible to show calendar starting from the right month?

In my example I use the following dates:

SelectableDateStart: 20 May 2011

SelectableDateEnd: 26 October 2011

I also calculate the DisplayDateStart to be the first day of SelectableDateStart,

and DisplayDateEnd to be the last day of SelectableDateEnd.

  1.  When I try to set SelectableDateStart to a date after the current month (e.g 8 July 2011)

I get an ArgumentOutOfRangeException:

Invalid DisplayDateStart value.

Parameter name: sender


Thanks in advance

Alek
Telerik team
 answered on 15 Jan 2013
2 answers
255 views
In an MVVM application I have a RadGridView bound to an ObservableCollection of objects that implement INotifyPropertyChanged. I can edit an object in this collection in another viewmodel and I can see this change propagate (via a PropertyChanged event handler on the current item) to the viewmodel with the RadGridView but the grid does up update the column.

The grid does see additions and deletions from the collection, but not individual object property changes.

I know this worked at one time, and we have upgraded our telerik tools recently, so I'm wondering if anything has changed.
Kevin
Top achievements
Rank 1
 answered on 15 Jan 2013
1 answer
197 views
I'v created a simple WPF user control containing a RadGridView
which I am hosting on a WinForms form using an elementHost.

The issues occur when I'm creating a custom hierarchy, basically creating a master-detail of companies and employees.
I have done so by adding a childTableDefinition through the xaml and subscribing to the DataLoading event to tinker with the inner grid (just like your given sample).
When the mouse hovers over the scroll bar of the inner grid, it glows but if I press it down and drag the outer scroll bar is the one responding.
Oddly, I can still scroll with the keyboard and the mouse scroll.
Trying to deal with the issue myself I've found that setting IsScrolling to true and then to false during the DataLoading event fixes the problem, but it still occurs with other scroll bars I have no control over, specifically when using the column sort - there are combo boxes inside the sort dialog which manifest the exact same behavior.

Sorry if I haven't been so clear in my description and thanks in advance.
Vera
Telerik team
 answered on 15 Jan 2013
2 answers
111 views
Hi,

is there a way to merge the Telerik DLLs into my EXE-File? I want to have one single file that contains all libraries.

-simon
Vlad
Telerik team
 answered on 15 Jan 2013
3 answers
459 views

Hi

Am new at using Telerik for WPF,

so i created a WPF Telerik solution in VS and included the GridView component then
it referenced the 4 Telerik  DLL's. added the Grid to the Mainwindow.XAML build the solution
and all is Good.

The problem is the Compiler spits out a bunch of Folders(EN FR DE JA TR ES ETC...) with the .EXE
and Also included the 4 Telerik DLL's.

Is it possible to build the Application and produce only the .EXE with the assemblies embedded in it and
no Folder's for all those nations.i tried many methods with no success
EX.( ILMerge - SmartAssembly also tried to place dlls as resource did not work either)
I dont know what am doing wrong the app works but how to merge all those Dll's in it?


I search your forms most examples are for WinForms and no (Telerik.WinControls.RadTypeResolver.Instance.ResolveTypesInCurrentAssembly = true;)
similar method for WPF
.


Thank you regards


Vlad
Telerik team
 answered on 15 Jan 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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?