Telerik Forums
UI for WPF Forum
0 answers
139 views
Hi,
I have RadCarousel which contains RadCarouselPanel for its items Panel. I use a horizontal path and have 3 items per page. The HorizontalScrollBarVisibility has been made to hidden and I use the CarouselButtons.
The way it is laid out is I have a grid panel with 3 columns and widht of the grid being 1022. The centre contains the radcarousel, and on either side the carousel scroll buttons with width 38 px each. The centre column occupies the rest of the space in the grid. So I want to specify the width between the panels in the radcarousel.
And also I wanted to know if there is anyway to connect the the items in the rad carousel panel Here is the explanation for the connectors
[prev]=[Main]=[next]
[prev] is the panel that is on the left side of the focussed item on carousel
[Main] is the panel that is the focussed item on carousel
[next] is the panel that is on the right side of the focussed item on carousel
= are the connectors between panels

Is there a way to achieve this requirement. Any help is appreciated. I use the v2012_3_1017_40_noxaml version from telerik.

Thank you
YK
YK
Top achievements
Rank 1
 asked on 29 Nov 2012
2 answers
410 views
Hi,

I'm using a RadGridView to display several thousand objects stored in an ObservableCollection.
The GridView is bound to the PagedItems on a DataPager, which is bound to the ObservableCollection.
I use filters on the columns in the GridView to filter down the data, so that instead of 250 pages, I get 5 pages.

How can I access these items in these pages? That is, all the items that matches the filter, and not only the items on the current page.
(the items on the current page I can access by gridView.Items, but it does not show the whole collection)
Dimitrina
Telerik team
 answered on 29 Nov 2012
2 answers
192 views
Hi,

I am trying to create a cutom look for the RadGridView to suit our application theme. The templates are based on telerik default templates where you have used some converters:
FilterOperatorConverter,FilterCompositionLogicalOperatorConverter,DistinctValueConverter etc..
No matter how I declare them in a resource dictionary I get errors:
<UserControl x:Class="WPFClient.Views.RequestSubmitView"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"          
   xmlns:grid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView,Version=2012.3.1017.40,Culture=neutral,PublicKeyToken=5803cfa389c90ce7"
   >
<telerik:FilterOperatorConverter x:Key="FilterOperatorConverter1"/>
<grid:FilterOperatorConverter x:Key="FilterOperatorConverter2" />
 
</ResourceDictionary>

The first decleration prompts the error:
Ambiguous type reference. A type named 'FilterOperatorConverter' occurs in at least two namespaces, 'Telerik.Windows.Controls.GridView' and 'Telerik.Windows.Data'. Consider adjusting the assembly XmlnsDefinition attributes. C:\dev\trunk\WPFClient\Views\RequestSubmitView.xaml 1 1 WPFClient

The second decleration prompts the error:
The name "FilterOperatorConverter" does not exist in the namespace "clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView,Version=2012.3.1017.40,Culture=neutral,PublicKeyToken=5803cfa389c90ce7". C:\dev\trunk\WPFClient\Views\RequestSubmitView.xaml 90 13 WPFClient

There are a few odd things about this bug.
1)At runtime everything works fine. The problem is limited to design time and the visual studio designer does not work because of this.
2)I've tried this out in an external test application and the second decleration  work fine. It only happens in our project. It is not originally a .net 4 application but was upgraded from 3.5.

Thanks,

Gary


Gary
Top achievements
Rank 1
 answered on 29 Nov 2012
4 answers
246 views
Hi There,

We have  checkbox column in RadGridview for checking the checkbox we need to click three times on the cell. we want to select the check box in a single click or may be with double click is ok.
Can you please help me to achieve this. we are getting many requests from our customers to have this feature.

Thanks in advance,,
Srinivas.
Dimitrina
Telerik team
 answered on 29 Nov 2012
1 answer
758 views
Hi, I'd like to disable drag and drop reordering of columns in a RadGridView. I set CanUserSortColumns to false, but this doesn't seem to make a difference. I setup the grid like so:

public static void SetupGrid(RadGridView gc)
{
  gc.IsFilteringAllowed = false;
  gc.CanUserSortColumns = false;
  gc.CanUserSortGroups = false;
  gc.CanUserReorderColumns = false;
  gc.CanUserDeleteRows = false;
  gc.CanUserInsertRows = false;
  gc.ShowGroupPanel = false;
  gc.ShowInsertRow = false;
}

What do I need to do to disable this feature?
Nick
Telerik team
 answered on 29 Nov 2012
2 answers
161 views
Hi Telerik,

I'm using HierarchicalDataTemplate in RadPanelItem for my datasource. I need to use drag-n-drop to reorder items and groups in RadPanelBar.

1. When user drags HeaderRow (group item) he should be able to change order of this group in list as result.

Original:                                  After drag-n-drop by group header to the begin of list:
Group1                                   Group2
    Item11                                     Item21
    Item12                                     Item22
    Item13                                Group1        
Group2 <--dragged to begin       Item11
    Item21                                     Item12
    Item22                                     Item13


2. User also should be able to reorder item(s) (one or multiply selected) inside one group or move it to another group using drag-n-drop.


I'm more interested in the definition and visualization of position within the list where item should be moved.
Can you help me with direction of search or maybe little example?

Thanks.

Regards,
Alexey Lavrov
Alexey
Top achievements
Rank 1
 answered on 29 Nov 2012
1 answer
238 views
When the arrows are clicked little faster , the calendar keeps loading few months & repeating the same cycle, does not move to further months. Not getting what is the bug because when I click on the arrows patiently like taking a second's gap in each click, then the datepicker loads properly.
Boyan
Telerik team
 answered on 29 Nov 2012
1 answer
338 views
Using virtualizing panel as itemspanel does not resize the dropdown height and also another behavior i got was it does not filter the items as it focused the correct item but in the case when it has lots of items in my  case 5000 items it searches correctly but does not filter. Can someone suggest how to fix this issue. I have created a sample project with this. The project has two dropdowns with seperate behaviors 

1) Dropdown height is not resizing on filtering.
2) Large Collection finds the item but does not filter the items.

Sample Project can be found here
https://www.dropbox.com/s/q2my5hj9lyrqrmp/RadComboBoxDemo.zip

I have IsFilteringEnabled set to true

<Style TargetType="{x:Type controls:ComboBox}">
            <Setter Property="IsEditable" Value="True" />
            <Setter Property="VerticalAlignment" Value="Center" />
            <Setter Property="Margin" Value="5" />
            <Setter Property="Grid.Column" Value="1" />
            <Setter Property="IsTextSearchEnabled" Value="True" />
            <Setter Property="TextSearchMode" Value="Contains" />
            <Setter Property="IsFilteringEnabled" Value="True" />
            <Setter Property="StaysOpenOnEdit" Value="True" />
            <Setter Property="ItemsPanel">
                <Setter.Value>
                    <ItemsPanelTemplate>
                        <VirtualizingStackPanel/>
                    </ItemsPanelTemplate>
                </Setter.Value>
            </Setter>
        </Style>

Vladi
Telerik team
 answered on 29 Nov 2012
3 answers
199 views

Hello,


I’m using several DataGrids in an entity framework scenario.  In every case I’m using DB access and on every operations 
on QueryableEntityCollectionView<>  objects  I put them in a try – catch block.

But when my application is running and I just shutdown the SQL Server I get something terrible like this:

 

ClientConnectionId:00000000-0000-0000-0000-000000000000</ExceptionString><DataItems><Data><Key>HelpLink.ProdName</Key><Value>Microsoft SQL Server</Value></Data><Data><Key>HelpLink.EvtSrc</Key><Value>MSSQLServer</Value></Data><Data><Key>HelpLink.EvtID</Key><Value>10061</Value></Data><Data><Key>HelpLink.BaseHelpUrl</Key><Value>http://go.microsoft.com/fwlink<;/Value></Data><Data><Key>HelpLink.LinkId</Key><Value>20476</Value></Data></DataItems><InnerException><ExceptionType>System.ComponentModel.Win32Exception, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte</Message><StackTrace>   bei System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean&amp; closeStoreConnectionOnFailure)
   bei System.Data.EntityClient.EntityConnection.Open()
   bei System.Data.Objects.ObjectContext.EnsureConnection()
   bei System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   bei System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable&lt;T&gt;.GetEnumerator()
   bei System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
   bei System.Data.Objects.ELinq.ObjectQueryProvider.&lt;GetElementFunction&gt;b__3[TResult](IEnumerable`1 sequence)
   bei System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
   bei System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[S](Expression expression)
   bei System.Linq.Queryable.Count[TSource](IQueryable`1 source)
   bei Telerik.Windows.Controls.EntityFramework.ObjectQueryProxy`1.RefreshCount()
   bei Telerik.Windows.Data.QueryableEntityCollectionView`1.CreateView()
   bei Telerik.Windows.Data.QueryableCollectionView.get_QueryableView()
   bei Telerik.Windows.Data.QueryableCollectionView.CreateInternalList()
   bei Telerik.Windows.Data.QueryableCollectionView.EnsureInternalList()
   bei Telerik.Windows.Data.QueryableCollectionView.get_InternalList()
   bei Telerik.Windows.Data.QueryableCollectionView.get_InternalCount()
   bei Telerik.Windows.Data.QueryableCollectionView.get_Count()
   bei Telerik.Windows.Data.DataItemCollection.get_Count()
   bei Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.RecreateItemMap()
   bei Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.ResetGenerator()
   bei Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.RemoveAll()
   bei Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.OnRefresh()
   bei Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.Refresh()
   bei Telerik.Windows.Controls.GridView.GridViewDataControl.OnItemsSourceChanged(Object oldValue, Object newValue)
   bei Telerik.Windows.Controls.DataControl.OnItemsSourcePropertyChanged(DependencyObject origin, DependencyPropertyChangedEventArgs args)
   bei System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   bei System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   bei System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   bei System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry&amp; newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   bei System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
   bei System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
   bei System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
   bei System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   bei System.Windows.Data.BindingExpression.Activate(Object item)
   bei System.Windows.Data.BindingExpression.OnDataContextChanged(DependencyObject contextElement)
   bei System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
   bei System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
   bei System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
   bei System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs)
   bei System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   bei System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry&amp; newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   bei System.Windows.TreeWalkHelper.InvalidateTreeDependentProperty(TreeChangeInfo info, DependencyObject d, FrameworkObject&amp; fo, DependencyProperty dp, FrameworkPropertyMetadata fMetadata, Style selfStyle, Style selfThemeStyle, ChildRecord&amp; childRecord, Boolean isChildRecordValid, Boolean hasStyleChanged, Boolean isSelfInheritanceParent)
   bei System.Windows.TreeWalkHelper.InvalidateTreeDependentProperties(TreeChangeInfo info, FrameworkElement fe, FrameworkContentElement fce, Style selfStyle, Style selfThemeStyle, ChildRecord&amp; childRecord, Boolean isChildRecordValid, Boolean hasStyleChanged, Boolean isSelfInheritanceParent)
   bei System.Windows.FrameworkElement.InvalidateTreeDependentProperties(TreeChangeInfo parentTreeState, Boolean isSelfInheritanceParent)
   bei System.Windows.FrameworkElement.OnAncestorChangedInternal(TreeChangeInfo parentTreeState)
   bei System.Windows.TreeWalkHelper.OnAncestorChanged(FrameworkElement fe, FrameworkContentElement fce, TreeChangeInfo info)
   bei System.Windows.TreeWalkHelper.OnAncestorChanged(DependencyObject d, TreeChangeInfo info, Boolean visitedViaVisualTree)
   bei System.Windows.DescendentsWalker`1._VisitNode(DependencyObject d, Boolean visitedViaVisualTree)
   bei MS.Internal.PrePostDescendentsWalker`1._VisitNode(DependencyObject d, Boolean visitedViaVisualTree)
   bei System.Windows.DescendentsWalker`1.VisitNode(FrameworkElement fe, Boolean visitedViaVisualTree)
   bei System.Windows.DescendentsWalker`1.VisitNode(DependencyObject d, Boolean visitedViaVisualTree)
   bei System.Windows.DescendentsWalker`1.WalkLogicalChildren(FrameworkElement feParent, FrameworkContentElement fceParent, IEnumerator logicalChildren)
   bei System.Windows.DescendentsWalker`1.WalkFrameworkElementLogicalThenVisualChildren(FrameworkElement feParent, Boolean hasLogicalChildren)
   bei System.Windows.DescendentsWalker`1.IterateChildren(DependencyObject d)
   bei System.Windows.DescendentsWalker`1._VisitNode(DependencyObject d, Boolean visitedViaVisualTree)
   bei MS.Internal.PrePostDescendentsWalker`1._VisitNode(DependencyObject d, Boolean visitedViaVisualTree)
   bei System.Windows.DescendentsWalker`1.VisitNode(FrameworkElement fe, Boolean visitedViaVisualTree)
   bei System.Windows.DescendentsWalker`1.VisitNode(DependencyObject d, Boolean visitedViaVisualTree)
   bei System.Windows.DescendentsWalker`1.WalkLogicalChildren(FrameworkElement feParent, FrameworkContentElement fceParent, IEnumerator logicalChildren)
   bei System.Windows.DescendentsWalker`1.WalkFrameworkElementLogicalThenVisualChildren(FrameworkElement feParent, Boolean hasLogicalChildren)
   bei System.Windows.DescendentsWalker`1.IterateChildren(DependencyObject d)
   bei System.Windows.DescendentsWalker`1.StartWalk(DependencyObject startNode, Boolean skipStartNode)
   bei MS.Internal.PrePostDescendentsWalker`1.StartWalk(DependencyObject startNode, Boolean skipStartNode)
   bei System.Windows.DescendentsWalker`1.StartWalk(DependencyObject startNode)
   bei System.Windows.TreeWalkHelper.InvalidateOnTreeChange(FrameworkElement fe, FrameworkContentElement fce, DependencyObject parent, Boolean isAddOperation)
   bei System.Windows.FrameworkElement.OnVisualParentChanged(DependencyObject oldParent)
   bei System.Windows.Media.Visual.FireOnVisualParentChanged(DependencyObject oldParent)
   bei System.Windows.Media.Visual.RemoveVisualChild(Visual child)
   bei System.Windows.FrameworkElement.set_TemplateChild(UIElement value)
   bei System.Windows.StyleHelper.DetachGeneratedSubTree(FrameworkElement feContainer, FrameworkContentElement fceContainer)
   bei System.Windows.StyleHelper.ClearGeneratedSubTree(HybridDictionary[] instanceData, FrameworkElement feContainer, FrameworkContentElement fceContainer, FrameworkTemplate oldFrameworkTemplate)
   bei System.Windows.StyleHelper.DoTemplateInvalidations(FrameworkElement feContainer, FrameworkTemplate oldFrameworkTemplate)
   bei System.Windows.StyleHelper.UpdateTemplateCache(FrameworkElement fe, FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate, DependencyProperty templateProperty)
   bei System.Windows.Controls.ContentPresenter.OnTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   bei System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   bei System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   bei System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   bei System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry&amp; newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   bei System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   bei System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   bei System.Windows.Controls.ContentPresenter.set_Template(DataTemplate value)
   bei System.Windows.Controls.ContentPresenter.EnsureTemplate()
   bei System.Windows.Controls.ContentPresenter.OnPreApplyTemplate()
   bei System.Windows.FrameworkElement.ApplyTemplate()
   bei System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   bei System.Windows.UIElement.Measure(Size availableSize)
   bei System.Windows.ContextLayoutManager.UpdateLayout()
   bei System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   bei System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   bei System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   bei System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   bei System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
   bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   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 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&amp; handled)
   bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.Dispatcher.WrappedInvoke(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 System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
   bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp; msg)
   bei System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(MSG&amp; msg)
   bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   bei System.Windows.Threading.Dispatcher.Run()
   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 FuelOPTBA20.App.Main()
   bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   bei System.AppDomain.nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   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 System.Threading.ThreadHelper.ThreadStart()
</StackTrace><ExceptionString>System.ComponentModel.Win32Exception (0x80004005): Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte</ExceptionString><NativeErrorCode>274D</NativeErrorCode></InnerException></InnerException></Exception></TraceRecord>


the application quits and the call stack in the Debugger is empty. Is there a way to prevent this?

Best Regarts
Uwe

Vlad
Telerik team
 answered on 29 Nov 2012
0 answers
282 views
Hi!
There are PropertyGrid in View and ViewModel with some binding properties.
I want to change property in ViewModel immediate, in PropertyChanged (not in LostFocus).
But the corresponding property in ViewModel updates after propery definition lost focus.
Any ideas?
Code:
<telerik:RadPropertyGrid ... Name="radPropertyGrid" AutoGeneratePropertyDefinitions="False" Item="{Binding}" EditorTemplateSelector="{StaticResource dataTemplateSelector}" >
    <telerik:RadPropertyGrid.PropertyDefinitions>
        <telerik:PropertyDefinition Binding="{Binding VMSomeProperty, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ... />
...

Igor
Top achievements
Rank 1
 asked on 29 Nov 2012
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?