Hai
am having a WPF user control in my telerik Form, when i click my button in my form , i just want to pass some value to the textbox which is in the usercontrol, tell me how to do this.
<
TelerikControls:RadGridView.Columns>
<TelerikControls:GridViewSelectColumn Header="" />
<TelerikControls:GridViewDataColumn DataMemberBinding="{Binding CodigoAbonado}" Header="{DynamicResource LBL_AccionComercialView_CodigoAbonado}" IsReadOnly="True" IsFilterable="False"/>
<TelerikControls:GridViewDataColumn DataMemberBinding="{Binding CodigoPostal}" Header="{StaticResource LBL_AccionComercialView_CodigoPostal}" IsReadOnly="True" IsFilterable="False"/>
<TelerikControls:GridViewDataColumn Width="Auto" DataMemberBinding="{Binding CuentaNombre}" Header="{DynamicResource LBL_AccionComercialView_NombreCuenta}" IsReadOnly="True" IsFilterable="False"/>
<TelerikControls:GridViewDataColumn DataMemberBinding="{Binding IdFranquicia}" Header="{DynamicResource LBL_AccionComercialView_Franquicia}" IsReadOnly="True" IsFilterable="False"/>
<TelerikControls:GridViewDataColumn DataMemberBinding="{Binding Envios}" Header="{DynamicResource LBL_AccionComercialView_NumeroEnvios}" IsReadOnly="True" IsFilterable="False"/>
<TelerikControls:GridViewDataColumn DataMemberBinding="{Binding Facturacion}" Header="{DynamicResource LBL_AccionComercialView_Facturacion}" IsReadOnly="True" IsFilterable="False"/>
</TelerikControls:RadGridView.Columns>
where "TelerikControls" is
xmlns:TelerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
The application crashed with the following error:
"Null object reference exception.
Original Error StackTrace:
en Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.FindRootVisual()
en Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.Initialize()
en Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.OnAllowDragChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
en System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
en System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
en System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
en System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
en System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
en System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
en Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.SetAllowDrag(DependencyObject obj, Boolean value)
en Telerik.Windows.Controls.GridView.GridViewHeaderCell.OnApplyTemplate()
en System.Windows.FrameworkElement.ApplyTemplate()
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureChild(UIElement child, Size constraint)
en Telerik.Windows.Controls.GridView.GridViewCellsPanel.GenerateChild(IItemContainerGenerator generator, Size constraint, GridViewColumn column, Int32& childIndex, Size& childSize)
en Telerik.Windows.Controls.GridView.GridViewCellsPanel.EnsureAtleastOneHeader(IItemContainerGenerator generator, Size constraint, List`1 realizedColumnIndices, List`1 realizedColumnDisplayIndices)
en Telerik.Windows.Controls.GridView.GridViewCellsPanel.DetermineRealizedColumnsBlockList(Size constraint)
en Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
en System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Control.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Control.MeasureOverride(Size constraint)
en Telerik.Windows.Controls.GridView.GridViewRowItem.MeasureOverride(Size constraint)
en Telerik.Windows.Controls.GridView.GridViewHeaderRow.MeasureOverride(Size availableSize)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Border.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
en System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Control.MeasureOverride(Size constraint)
en Telerik.Windows.Controls.GridView.GridViewDataControl.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
en System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Border.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Border.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
en System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Border.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.Controls.Control.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
en System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
en System.Windows.UIElement.Measure(Size availableSize)
en System.Windows.ContextLayoutManager.UpdateLayout()
en System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
en System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
en System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
en System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
en System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
"
Any idea of what's happening?
Is version Q1 2010 not stable for this control?
Thanks in advance.

|
|
Hai am having a WPF user control in my telerik Form, when i click my button in my form , i just want to pass some value to the textbox which is in the usercontrol, tell me how to do this. |

PLATFORM VERSION INFO
Windows : 5.2.3790.131072 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)
SOURCES
Deployment url : http://demos.telerik.com/wpf/
Application url : http://demos.telerik.com/wpf/Telerik.Windows.Examples.exe.manifest
IDENTITIES
Deployment Identity : Telerik.Windows.Examples.xbap, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=06e954e71cc7b2f5, processorArchitecture=msil
Application Identity : Telerik.Windows.Examples.exe, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=06e954e71cc7b2f5, processorArchitecture=msil, type=win32
APPLICATION SUMMARY
* Online only application.
* Browser-hosted application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* An exception occurred while downloading the application. Following failure messages were detected:
+ Downloading http://demos.telerik.com/wpf/Telerik.Windows.Examples.exe did not succeed.
+ The operation has timed out
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
No phase information is available.
ERROR DETAILS
Following errors were detected during this operation.
* [3/10/2010 4:34:48 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://demos.telerik.com/wpf/Telerik.Windows.Examples.exe did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking)
at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()
--- Inner Exception ---
System.Net.WebException
- The operation has timed out
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.