Hi Telerik,
my os :win10
VS:2015
telerik :WPF 2017 R1 SP1
when is use the OpenFileDialog control,and click the oepn button,it will throw 19 exceptions, System.IO.FileNotFoundException.
1. read c:\config.msi error.
2. read c:\Documents and Settings error.
......
and so on.
why?
It would be nice if you could help me here.
with kind regards
I have used RadGridView to show data with customize group header by GroupHeaderTemplate. I have used grouping on single column and based on that it shows the group header but not able to bind it. I had searched related to this but not found any solution. I would like to know how we bind the customized GroupHeaderTemplate from viewmodel?
I have refer below link but it not working -
http://latestupdatedinfo.blogspot.in/2016/05/telerik-wpf-radgridview-group-header.html
can you please provide sample example?
Thanks
I have used RadGridView to show data with customize group header by GroupHeaderTemplate. I have used grouping on single column and based on that it shows the group header but not able to bind it. I had searched related to this but not found any solution. I would like to know how we bind the customized GroupHeaderTemplate from viewmodel?
I have refer below link but it not working -
http://latestupdatedinfo.blogspot.in/2016/05/telerik-wpf-radgridview-group-header.html
can you please provide sample example?
Thanks
Hi,
I have purchased the Telerik license for WPF controls and I am facing issue to bind the RadGridView.GroupHeaderTemplate. I want to bind GroupHeaderTemplate by GroupViewModel but not able to bind.
I have uploaded sample example at - https://www.dropbox.com/s/1tw9rlv70bgo14b/Telerik%20Example%20-%20GridHeaderTemplate.zip?dl=0
Please find the attached snapshot.
Let me know we need call so I can explain the issue.
Thanks
I have a GridView bound using MVVM to a collection of `List<Person> People`.
Let's say the 'Person' class has properties like:
public List<ID> IDs { get; set; }
public string Name { get; set; }
public DateTime BirthDate { get; set; }
My issue is that I'd like to allow a user to click to insert a new row in the data grid, but I need it so that as they are typing in a 'Name', the DB is doing a query finding all IDs for that person which will populate a ComboBoxColumn for the IDs property above. So it seems like I need to be able to bind (with MVVM) onto a 'Cell Editing' event for a cell so I can get an event as each character is typed. I also need to know what item (SelectedItem is null for a new row for some reason in MVVM) is being edited so I can insert the returned array of found IDs into that item. Any help would be appreciated and I'd like to avoid using Code-Behind.
Hi,
I'm using RadGridView in my wpf project, and the filtering mode for the gridview is "FilterRow". I have a column with datatype of DateTime.
I'd like to have a custom filtering for this column like the one you have in you sample called "CustomFilteringControl/FromDateToDateFilterControl".
But it doesn't work, and I still see the default pop-up window for that column.
My question is that :"Is there a way to have "FilterRow" as the filtering mode and create custom filtering for each column at the same time?"
Thanks!
I have grid with 2 rows. I want to set first row Height base on how many lines are in RadTileView.
All items should be visible on screen (without scrollbars).
RadTileView items are moved automatically to next line if there is no place in current line.
How can i achieve that?
Sample code:
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<!--when RadTileView have more line height should change-->
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
telerik:RadTileView
x:Name
=
"ll"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
Grid.Column
=
"0"
Grid.Row
=
"0"
ItemsSource
=
"{Binding current, Mode=OneWay}"
/>
...
Hi,
if I'm trying to host your control, I will get an error that the component "Telerik.Windows.Documents.UI.Adorner.ImageAdornerUI" has no resource which could be identified by URI "/Telerik.Windows.Documents;component/ui/adorner/imageadornerui.xaml".
If I run it anyway, this result will be shown:
System.IO.FileNotFoundException
HResult=0x80070002
Nachricht = Die Datei oder Assembly "Microsoft.Windows.Design.Extensibility, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
Quelle = mscorlib
Stapelüberwachung:
bei System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
bei System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
bei System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
bei System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
bei System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
bei System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
bei System.Reflection.RuntimeAssembly.GetCustomAttributes(Type attributeType, Boolean inherit)
bei Microsoft.Internal.AttributeServices.GetAttributes[T](ICustomAttributeProvider attributeProvider)
bei Microsoft.Internal.AttributeServices.GetFirstAttribute[T](ICustomAttributeProvider attributeProvider)
bei System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_InnerCatalog()
bei System.ComponentModel.Composition.Hosting.AssemblyCatalog.GetEnumerator()
bei System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
bei System.ComponentModel.Composition.Primitives.ComposablePartCatalog.GetExports(ImportDefinition definition)
bei System.ComponentModel.Composition.Hosting.CatalogExportProvider.InternalGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition)
bei System.ComponentModel.Composition.Hosting.CatalogExportProvider.InnerCatalogExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition)
bei System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable`1& exports)
bei System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExports(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable`1& exports)
bei System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition)
bei System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable`1& exports)
bei System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition)
bei System.ComponentModel.Composition.Hosting.AggregateExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition)
bei System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable`1& exports)
bei System.ComponentModel.Composition.Hosting.CompositionContainer.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition)
bei System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable`1& exports)
bei System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition)
bei System.ComponentModel.Composition.Hosting.ImportEngine.TryGetExports(ExportProvider provider, ComposablePart part, ImportDefinition definition, AtomicComposition atomicComposition)
bei System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable`1 imports, AtomicComposition atomicComposition)
bei System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part)
bei System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports)
bei System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImportsOnce(ComposablePart part)
bei System.ComponentModel.Composition.Hosting.CompositionContainer.SatisfyImportsOnce(ComposablePart part)
bei Telerik.Windows.Documents.UI.Extensibility.RadCompositionInitializer.SatisfyImports(Object part)
bei Telerik.Windows.Documents.UI.Extensibility.UIExtensibilityManager.GetLayersBuilder()
bei Telerik.Windows.Documents.UI.DocumentWebLayoutPresenter.OnOwnerChanged()
bei Telerik.Windows.Documents.UI.DocumentPresenterBase.set_Owner(RadRichTextBox value)
bei Telerik.Windows.Controls.RadRichTextBox.InitActiveEditorPresenter(Boolean clearTextRelatedObjectPools)
bei Telerik.Windows.Controls.RadRichTextBox.OnApplyTemplate()
bei System.Windows.FrameworkElement.ApplyTemplate()
bei System.Windows.FrameworkElement.MeasureCore(Size availableSize)
bei System.Windows.UIElement.Measure(Size availableSize)
bei System.Windows.Controls.Grid.MeasureOverride(Size constraint)
bei System.Windows.FrameworkElement.MeasureCore(Size availableSize)
bei System.Windows.UIElement.Measure(Size availableSize)
bei MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
bei System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
bei System.Windows.FrameworkElement.MeasureCore(Size availableSize)
bei System.Windows.UIElement.Measure(Size availableSize)
bei System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
bei System.Windows.FrameworkElement.MeasureCore(Size availableSize)
bei System.Windows.UIElement.Measure(Size availableSize)
bei System.Windows.Controls.Border.MeasureOverride(Size constraint)
bei System.Windows.FrameworkElement.MeasureCore(Size availableSize)
bei System.Windows.UIElement.Measure(Size availableSize)
bei System.Windows.Window.MeasureOverrideHelper(Size constraint)
bei System.Windows.Window.MeasureOverride(Size availableSize)
bei System.Windows.FrameworkElement.MeasureCore(Size availableSize)
bei System.Windows.UIElement.Measure(Size availableSize)
bei System.Windows.Interop.HwndSource.SetLayoutSize()
bei System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
bei System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
bei System.Windows.Window.SetRootVisual()
bei System.Windows.Window.SetRootVisualAndUpdateSTC()
bei System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
bei System.Windows.Window.CreateSourceWindow(Boolean duringShow)
bei System.Windows.Window.CreateSourceWindowDuringShow()
bei System.Windows.Window.SafeCreateWindowDuringShow()
bei System.Windows.Window.ShowHelper(Object booleanBox)
bei System.Windows.Window.Show()
bei System.Windows.Window.ShowDialog()
bei InstructionsPlugin.ViewModel.InstructionsPluginViewModel.AddNewEntryAction(Object args) in C:\Users\Didi\Documents\Visual Studio 2015\Projects\Leitstand\InstructionsPlugin\ViewModel\InstructionsPluginViewModel.cs: Zeile147
bei InstructionsPlugin.ViewModel.InstructionsPluginViewModel.<.ctor>b__16_0(Object c) in C:\Users\Didi\Documents\Visual Studio 2015\Projects\Leitstand\InstructionsPlugin\ViewModel\InstructionsPluginViewModel.cs: Zeile89
bei GUICore.Commands.DelegateCommand.Execute(Object parameter) in C:\Users\Didi\Documents\Visual Studio 2015\Projects\Leitstand\GUICore\Commands\DelegateCommand.cs: Zeile41
bei MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
bei System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
bei MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.ProcessQueue()
bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
bei System.Windows.Application.RunDispatcher(Object ignore)
bei System.Windows.Application.RunInternal(Window window)
bei System.Windows.Application.Run(Window window)
bei System.Windows.Application.Run()
bei ServiceController.App.Main()
What I then did, is creating a new empty project and copied your sample which works.
If I copy that back I will get the exceptions.
I use R3 2017.
Any ideas?
best regards
Dietmar