Telerik Forums
UI for WPF Forum
1 answer
133 views
I am getting an error which appears to be similar to this one:
http://www.telerik.com/community/forums/wpf/general-discussions/system-web-assembly-error.aspx

I have a WPF app targeted to .NET 4 Client Profile, and it is referencing a view models namespace which is populating a BulletGraph QualitativeRangeCollection.  This project is referenced with  Telerik.Windows.Controls, .Controls.DataVisualization, and Windows.Data from RadControls for WPF Q2 2011.   On build I am getting this error:

The referenced assembly "C:\Development\DHS\DHSDashboardService\DHSDashboardViewModels\bin\DHSDashboardViewModels.dll" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
Rossen Hristov
Telerik team
 answered on 22 Aug 2011
1 answer
122 views
Hi,
I have a page with RadRibbonBar at top and below RadDocking. Each Rad Ribbon bar tabs have few buttons like "View All", "Add new", "Edit Selected Item" & "Delete Selected Item".
When user press "View All" button, I create a new RadPane dynamically and add it to RadPaneGroup. Now I have following requirements to accomplish.
1. When user again press View All then just make then pane Docked and selected.
2. When user press Edit button and its relevant "View All Pane" is selected (i.e. has focus) then open a edit dialog. If its relevant "view all pane" is not selected (i.e. has focus) then don't do anything.
3. Same with Delete button as Edit button.

Now the problem is that if user Float the RadPane then it is removed form RadPaneGroup (i.e. its items count decreases) so I don't know how can I see that right now which RadPane has focus.
Kindly note that I am creating RadPane dynamically i.e. there is no fix number of RadPanes.
Kindly help me how can I do that?
Konstantina
Telerik team
 answered on 22 Aug 2011
1 answer
130 views
Hi all
I am using latest hotfix version of radcontrols. following error occured as i can not use radpane. how can i supress this error?

System.NullReferenceException was unhandled by user code
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Windows.Controls.Docking
  StackTrace:
       at Telerik.Windows.Controls.RadDocking.SelectActivePane(RadPane radPane) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Docking\Docking\Docking\RadDocking.cs:line 332
       at Telerik.Windows.Controls.Docking.PaneGroupBase.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Docking\Docking\Parts\PaneGroupBase.cs:line 227
       at System.Windows.UIElement.OnGotKeyboardFocusThunk(Object sender, KeyboardFocusChangedEventArgs e)
       at System.Windows.Input.KeyboardFocusChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp)
       at System.Windows.Input.KeyboardDevice.TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
       at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
       at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
       at System.Windows.UIElement.Focus()
       at Telerik.Windows.Controls.Docking.PaneGroupBase.OnMouseLeftButtonDown(Object sender, RoutedEventArgs e) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Docking\Docking\Parts\PaneGroupBase.cs:line 392
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(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, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
  InnerException:
Konstantina
Telerik team
 answered on 22 Aug 2011
1 answer
384 views
Hello, I am trying to put a gridfooter on the bottom part of the grid. How can I do that? and also, on that grid, i'd like to show the total number of duration based on the Duration row on my grid. Can you please attach an example that I could follow? Thanks.
Vanya Pavlova
Telerik team
 answered on 22 Aug 2011
2 answers
155 views
Hi there,

I'm using RadScheduler, and other RadControls, on development in the my WPF software. However, i encountered some problems:
I try change CultureInfo for pt-BR and the properties on RadScheduler don't change languages. But when i changed for "en" or "it", the properties is changed with sucessfully.

Can you help me?

Thanks. Sorry for bad english.
cayo fontana
Top achievements
Rank 1
 answered on 19 Aug 2011
1 answer
230 views
Hi,
I am Naresh Mesineni,
I have some doubt....How to strike out of a row.After data binding based on Active column value it has to be strike out with red color.

It is helpful provides sample code..

Thanks ad Regards
Naresh Mesineni
Ivan Ivanov
Telerik team
 answered on 19 Aug 2011
9 answers
371 views
Hi,

I implemented my own paste handling. Therefore I set the property RadGridView.ClipboardPasteMode to GridViewClipboardPasteMode.None. This worked perfectly for version Q3 2010. Now I update to Q2 2011. With this version my handlers of the command ApplicationCommands.Paste are not invoked any more. I noticed that now the method GridViewDataControl.PasteCanExecute contains the statemente: e.Handled = true. I think this does not make sense for GridViewClipboardPasteMode.None.

Is this a known issue? Will it be fixed? Is there a workaround?

Best regards

Uli

Nedyalko Nikolov
Telerik team
 answered on 19 Aug 2011
2 answers
218 views
Hi,

In the past, I've managed to successfully create a sort of time marker that show the current time. This marker worked fine until I upgraded to the newest version of RadControls in order to utilize the new AllDay Event-functionality.

Screenshot

Because of the new AllDay-area in the top of the calendar, my time marker shows the incorrect time. The algorithm used to calculate the position of the marker needs to know the height of the actual schedule (the scrollable area, marked with a long red line in the screenshot) in order to work. Earlier, I resorted to using the schedule's ActualHeight-property - a hardcoded static value (that corresponded to the group header height). However, this won't work now, as every AllDay Event changes the height of the group header area.

This leads me to the question; Is there a way of getting the height of the group header-part of the schedule (marked with a short red line on the screenshot) or the actual schedule (marked with a long red line on the screenshot)?

Thanks,
Kristian
Kristian
Top achievements
Rank 1
 answered on 19 Aug 2011
1 answer
478 views

I use the MenuItem IsSeparator sucessfully in dropdown menus but the separator is not showing when used in the main menu bar...

<Menu>
   <MenuItem ... />
   <MenuItem IsSeparator="True" ... />
   <MenuItem ... />
</Menu>

EDIT: I added a default style for the menu item and it now displays a "horizontal" separator bar... How can I make this bar vertical ?
Dani
Telerik team
 answered on 19 Aug 2011
9 answers
362 views
In many examples, I see the use of the TileStateChanged event to manually control the tile state. In every example, the first line of code in the event handler is this:

RadTileViewItem item = e.Source as RadTileViewItem;

But when use the same code in my own handler, the e.Source reference is to the RadTileView, not RadTileViewItem. Just to note, I'm wiring the event up in xaml using the following:

<my:RadTileView x:Name="ClassOverridesTileView" 
                        ItemsSource="{Binding Classes}" 
                        ItemTemplate="{StaticResource HeaderTemplate}"
                        ContentTemplate="{StaticResource ContentTemplate}"
                        TileStateChanged="ClassOverridesTileView_TileStateChanged"
                         >
        </my:RadTileView>

Why would the source of the event be different for me than the examples?
Zarko
Telerik team
 answered on 19 Aug 2011
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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?