Telerik Forums
UI for WPF Forum
2 answers
120 views
Hi,

I am trying to upgrade my project to 2009 Q2.

I removed all the refernces to the previous version 2009 Q1 and removed the toolbar items.
I them added the Q2 binaries but when I compile I get the following error:

Error 3 Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.'  CoachTech

What am I doing wrong?

Cheers,
Kevin. 
Kevin
Top achievements
Rank 1
 answered on 20 Jul 2009
3 answers
104 views
I have a situation where I have a RadDatePicker situated above another control.  I click on the Calendar button to display the Calendar, select a date, and then the MouseUp event is triggered on the control that is under the Calendar.  This is because the Calendar disappears on MouseDown rather than MouseUp.  Is there a way to work around this issue?  If not, can this be considered a feature request?
Kaloyan
Telerik team
 answered on 20 Jul 2009
4 answers
130 views
Hi,

If I try to select an item programmatically, and that item is in a collapsed group, an IndexOutOfRange exception is thrown. Is there any other way of avoiding this besides expanding all groups?

Thanks in advance!
JDB
Top achievements
Rank 1
 answered on 20 Jul 2009
1 answer
236 views
Would the TreeView be a good control to display and edit a hierarchical bulleted list like what MS Word does?
See picture
http://www.java2s.com/Tutorial/Microsoft-Office-Word-2007Images/Create_Multilevel_Bulleted_Or_Numbered_List___Press_Enter.PNG

From a display side, hiding the treeview lines and adding bullet points to every node should solve it. Is there a way to let editing happen without having to press the F2 key.

Thanks,
Ash
Valentin.Stoychev
Telerik team
 answered on 20 Jul 2009
2 answers
48 views
I scraped the RadGridView style in expression blend, and then massaged it so that it had a titlebar that itself contains a toolbar.  In order to set the properties for those new elements, I derived a new class from RadGridView and added attached properties.  All of this seems to work well.

HOWEVER

When we instantiate the custom class, our existing databinding doesn't work.  I'm not aware of anythign I might have done to break this, but at the same time, I don't know exactly how to go about determining what's wrong.  I'm in the process of creating a sample project so you can see what I'm doing (in case you need it).

John Simmons
Top achievements
Rank 1
 answered on 17 Jul 2009
1 answer
137 views
I have a RadGridView in a hierarchical view.

Double-clicking on a child row and checking the RadGridViw.SelectedItem I get the parent row. Any idea how I can get the selected child item not the parent?

Thanks,
Mihai.
Milan
Telerik team
 answered on 17 Jul 2009
4 answers
377 views
I need to be able to tell a GridViewRowItem to reload itself from its DataContext, but the functionality doesn't seem to be available in the current release.  To work around this, I use this logic:

object context = theRow.DataContext; 
theRow.DataContext = null
theRow.DataContext = context; 

This works fine for the standard GridViewRowItem.  Unfortunately, my grid also has a hierarchy, and so it contains GridViewExpandableRow items as well - I assumed that the same logic would cause the rows to refresh themselves, however it doesn't!

Ideally I just need to be able to tell a row to refresh itself without having to reload the entire grid.  The automatic databinding doesn't work perfectly for this, which is why I just need to tell the row to refresh itself.

Any ideas on how I can achieve what I'm attempting here?  I'm not sure whether this is a bug within the GridViewExpandableRow.
James
Top achievements
Rank 1
 answered on 17 Jul 2009
1 answer
128 views
Hello,

can i use drag and drop between RadGridview and RadTreeView items?

i have this code:

 

Dim mPoint As Point = e.GetPosition(TreeViewMedicosServicios)

with it i take the mouse x and y position on the TreeView, i need know the TreeviewItem in this position

 



Thanks

Allan
Top achievements
Rank 1
 answered on 16 Jul 2009
1 answer
159 views
Hi,

I downloaded the Q2 version of WPF Controls and installed the same. When trying to view the samples for window the application crashes. I am attaching the  stacktrace. Do let me know how can this be viewed without throwing any error. 

---------------------------
Fatal error!
---------------------------
Error message: Value does not fall within the expected range.

StackTrace:    at System.StubHelpers.ObjectMarshaler.ConvertToNative(Object objSrc, IntPtr pDstVariant)

   at MS.Internal.Automation.UiaCoreProviderApi.RawUiaRaiseAutomationPropertyChangedEvent(IRawElementProviderSimple provider, Int32 id, Object oldValue, Object newValue)

   at System.Windows.Automation.Provider.AutomationInteropProvider.RaiseAutomationPropertyChangedEvent(IRawElementProviderSimple element, AutomationPropertyChangedEventArgs e)

   at System.Windows.Automation.Peers.AutomationPeer.RaisePropertyChangedEvent(AutomationProperty property, Object oldValue, Object newValue)

   at Telerik.Windows.Controls.RadWindow.OnLeftChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) in c:\Builds\WPF_Scrum\Navigation_WPF\Sources\Development\Controls\Navigation\Window\RadWindow.cs:line 1576

   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)

   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)

   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

   at Telerik.Windows.Controls.RadWindowPopup.WindowPopupWindowFactory.WindowPopupWindowImpl.PositionWindow() in c:\Builds\WPF_Scrum\Navigation_WPF\Sources\Development\Controls\Navigation\Window\WindowPopup\WindowPopupWindowImpl.cs:line 201

   at Telerik.Windows.Controls.RadWindowPopup.WindowPopupWindowFactory.WindowPopupWindowImpl.OnWindowLoaded(Object sender, EventArgs args) in c:\Builds\WPF_Scrum\Navigation_WPF\Sources\Development\Controls\Navigation\Window\WindowPopup\WindowPopupWindowImpl.cs:line 116

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args)

   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)

   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)

   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()

   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.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)

   at System.Windows.Interop.HwndTarget.OnResize()

   at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam)

   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

 

---------------------------
OK  
---------------------------

Regards,

M. Rajesh.

Boyan
Telerik team
 answered on 16 Jul 2009
8 answers
512 views
I create empty project, add line
<telerik:DateTimePicker />

and when user try to change antyhing exception is thrown: Nullable object must have a value.



Nikolay
Telerik team
 answered on 16 Jul 2009
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?