Telerik Forums
UI for WPF Forum
1 answer
136 views
HI,

i tried to open the SalesDashboard in VS2010. It is running in debug-mode, but it is not possible to open perhaps the MainPage.xaml,
error: An Instanz of "ViewModel" could not be created,... it's not possible to learn out of this Project...

is there any working SalesDashboard-Project somewhere?

thanks
best regards
rene
Dimitrina
Telerik team
 answered on 28 Mar 2013
1 answer
164 views
I am working on a radgridview and I ran into a problem. In my gridview I hide a column from the header row after it is grouped. When I filter a certain column and then drag that column to the group panel the filtering still applies to that column, however, the filter indicator is no longer present, and since I hide that column from the header the user has no way of seeing that the column is still filtered. I just want the user to have some visual display that the column is still filtered. I would like the filter indicator to be on the group panel item after I drag it there if that is possible. Can this be achieved? If not what are some other options that would help me with this problem.

Thanks for any help 
Nedyalko Nikolov
Telerik team
 answered on 28 Mar 2013
2 answers
303 views
I have GridView 2012.3.1314.40. This view is created with EnableColumnVirtualization and EnableRowVirtualization true.
Data is added slowly by another thread.

When browsing this GridView I get an System.NullReferenceException with the following stack

Error in function Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.SetLeftGripperVisibility()
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.HookupGripperEvents()
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.OnApplyTemplate()
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureCell(GridViewColumn column, GridViewCellBase cell, Size size)
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.RealizeAndMeasureCells(Int32 startIndex, Int32 predictedLastIndex, Func`2 calculateNextIndex)
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.UpdateVirtualizedCells()
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.SetLeftGripperVisibility()
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.HookupGripperEvents()
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.OnApplyTemplate()
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureCell(GridViewColumn column, GridViewCellBase cell, Size size)
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.RealizeAndMeasureCells(Int32 startIndex, Int32 predictedLastIndex, Func`2 calculateNextIndex)
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.UpdateVirtualizedCells()
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

I do not know what is causing this exception and how to prevent or catch it without killing my application first.

Any help would be appreciated.

Pieter
Pieter
Top achievements
Rank 2
 answered on 28 Mar 2013
11 answers
692 views
I am trying to get the header row of my group to stretch to the full grid width.

I had a look at the following online documentation: http://www.telerik.com/help/wpf/gridview-styling-group-row.html and as a result I tried the following. Unfortunately it doesn't seem to work correctly, what do I need to do get it to stretch properly?

<telerik:RadGridView.Resources>
    <Style TargetType="telerik:GridViewGroupRow">
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
    </Style>
    <Style TargetType="telerik:GridViewHeaderRow">
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
    </Style>
    <Style TargetType="telerik:GridViewGroupPanel">
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
    </Style>
</telerik:RadGridView.Resources>
Yoan
Telerik team
 answered on 28 Mar 2013
1 answer
138 views

The clear button is clearing the input field in the PropertyGrid but the value on the model is never set.

<DataTemplate x:Key="RequiredCondition">
      <telerik:RadComboBox ItemsSource="{Binding Path=DataContext.Conditions, RelativeSource={RelativeSource FindAncestor,
                                             AncestorType={x:Type views:PropertyEditorView}}, Mode=OneWay}"
                           DisplayMemberPath="Name"
                           SelectedItem="{Binding CurrentPropertySet[RequiredCondition]}"
                           ToolTip="{Binding ElementName=cboRequiredCondition, Path=SelectionBoxItem.Description}"
                           ClearSelectionButtonContent="Clear"
                           ClearSelectionButtonVisibility="Visible"
                           TextSearchMode="Contains"
                           x:Name="cboRequiredCondition"/>
  </DataTemplate>
Ventzi
Telerik team
 answered on 28 Mar 2013
1 answer
106 views
Hi,

We are currently checking out Telerik controls to be used for our new project. Are the points below feasible?
1. Can we have a mergefield that is a Dictionary?

Ex. We have an Item class with a Dictionary property. Now, I want a mergefield that points to the keys of the the Dictionary property.

    Ex:
    <MERGEFIELD BeerBrands["Bud"]> or <MERGEFIELD BeerBrands.Bud>
   
    where Beerbrands = class property w/ch is a Dictionary
      Bud is the Key of the dictionary.  The result should be the value of the dictionary.

2. Taking this a step further, can we have a mergefield where the fieldName points to a Dictionary<string, new Dictionary<string, string>>.
    Ex. <MERGEFIELD BeerBrands.Bud.Price>

   where Beerbrands = class property w/ch is a Dictionary;
         Bud = key of the 1st Dictionary;
         Price = key of the 2nd dictionary

Regards,
Mari
Boby
Telerik team
 answered on 28 Mar 2013
1 answer
199 views

Hello,

 

I have a View whith a GridView bound to RadDataFilter bound to an QueryableEntityCollectionView<T> exposed in a View-Model.

I have few questions :

Does when the user add filter to the RadDataFilter the data is filtered directly in SQL ?
How to implement assync data loading ? I have the folowing exception when using the DeferRefresh method :

Cannot change or check the contents or Current position of the QueryableCollectionView whileRefresh is being deferred.

Thank you,

Benjamin

Rossen Hristov
Telerik team
 answered on 28 Mar 2013
2 answers
198 views
Hi,
I  am using the below code to display the bar code in WPF.

<telerik:RadBarcode39 x:Name="BarCodeDisplay" Grid.Row="4" Height="80" Width="100" HorizontalAlignment="Center" VerticalAlignment="Center" ShowChecksum="False" Text="Hello"/>

 

The code is getting displayed with the Text "Hello" below the bar. I need to just display the bar code without the Human readable text.
ShowText property is available in .NET and not in WPF. Let me know if there is any property to be set to hide the readable text "Hello",
Vinetha
Top achievements
Rank 1
 answered on 28 Mar 2013
3 answers
131 views
I found this article about the Scheduler control in which I could see the possibility of creating an appointment with an Hourly recurrence.

I have tried to do the same with the RadScheduleView's create a new Appointment View, but I can't seem to find a way to have that Hourly recurrence option. I can't go lower than a daily recurrence. I need to be able to create an hourly recurrence from the appointment creation view.

How would I go about doing that?

Thank you

Yana
Telerik team
 answered on 28 Mar 2013
0 answers
143 views
I have a GridView and it is binding a collection of objects that have around 30 fields/properties.  It ends up with around 30 columns and 1000+ rows.

If I use a Template for some of the columns I notice that the grid becomes much slower.  Are there any known issues or things I should look at in order to improve performance?

I have seen the demo with lots of columns and cells and if I don't style or use a Template my grid has relatively good performance.  It's when I try to use a Template that it starts to get slow.

My Template is used to create a left or right border and also display visual cues (border, color, tooltip) under certain conditions.  It's got about 8 border elements and 7 triggers.  Normally only one border element is visible and the other visual cues are collapsed, but the grid still performs very slowly.  However, even if I only use 1 border element in the template the grid becomes slower.

Douglas
Top achievements
Rank 1
 asked on 27 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
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?