Telerik Forums
UI for WPF Forum
3 answers
132 views
Hi,
I am using Scattered point chart. Following are issues coming
1) I used different point shape like diamond, square , circle etc. I wanted to increase the size so that then can be visible. But whenever i give point size, the actual shape gets cut and the small piece of every shape is visible. I want to make some series prominent.
2) Tooltip opening event is not firing even i made showtooltp= true as suggested in another form. I am giving itemsource if the series in code behind.
 Following is my code

<telerikChart:RadChart x:Name="radChart" >


            <telerikChart:RadChart.DefaultView>
                <telerikCharting:ChartDefaultView>
                   
                    <telerikCharting:ChartDefaultView.ChartLegend>
                        <telerikCharting:ChartLegend x:Name="chartLegend" Header="Legends" UseAutoGeneratedItems="True"/>
                    </telerikCharting:ChartDefaultView.ChartLegend>
                    <telerikCharting:ChartDefaultView.ChartArea>
                        <telerikCharting:ChartArea LegendName="chartLegend" EnableAnimations="True"  ToolTipOpening="ChartArea_ToolTipOpening">
                            <telerikCharting:ChartArea.AxisX>
                                <telerikCharting:AxisX AutoRange="False"   MinValue="-1.5" MaxValue="1.5" Step="0.2" PlotAreaAxisLabelsVisibility="Visible" LayoutMode="Between" ></telerikCharting:AxisX>
                            </telerikCharting:ChartArea.AxisX>
                            <telerikCharting:ChartArea.AxisY   >
                                <telerikCharting:AxisY AutoRange="False" MajorGridLinesVisibility="Visible"  PlotAreaAxisLabelsVisibility="Visible" MinValue="-1.5"   MaxValue="1.5" Step="0.2"  ></telerikCharting:AxisY>
                            </telerikCharting:ChartArea.AxisY>
                        </telerikCharting:ChartArea>
                    </telerikCharting:ChartDefaultView.ChartArea>
                </telerikCharting:ChartDefaultView>
            </telerikChart:RadChart.DefaultView>
<telerikChart:RadChart.SeriesMappings>
                <telerikCharting:SeriesMapping LegendLabel="S"  >
                    
                    
                    <telerikCharting:SeriesMapping.SeriesDefinition>
                        
                        <telerikCharting:ScatterSeriesDefinition  ShowItemToolTips="True"   PointShape="Diamond" PointSize="10" ></telerikCharting:ScatterSeriesDefinition>
                    </telerikCharting:SeriesMapping.SeriesDefinition >
                    
                    <telerikCharting:SeriesMapping.ItemMappings>
                        <telerikCharting:ItemMapping DataPointMember="XValue" FieldName="XValue"></telerikCharting:ItemMapping>
                        <telerikCharting:ItemMapping DataPointMember="YValue"  FieldName="YValue"></telerikCharting:ItemMapping>
                    </telerikCharting:SeriesMapping.ItemMappings>
                </telerikCharting:SeriesMapping>


             <telerikChart:RadChart.SeriesMappings>
                <telerikCharting:SeriesMapping LegendLabel="S"  >
                    
                    
                    <telerikCharting:SeriesMapping.SeriesDefinition>
                        
                        <telerikCharting:ScatterSeriesDefinition  ShowItemToolTips="True"   PointShape="Diamond" PointSize="10" ></telerikCharting:ScatterSeriesDefinition>
                    </telerikCharting:SeriesMapping.SeriesDefinition >
                    
                    <telerikCharting:SeriesMapping.ItemMappings>
                        <telerikCharting:ItemMapping DataPointMember="XValue" FieldName="XValue"></telerikCharting:ItemMapping>
                        <telerikCharting:ItemMapping DataPointMember="YValue"  FieldName="YValue"></telerikCharting:ItemMapping>
                    </telerikCharting:SeriesMapping.ItemMappings>
                </telerikCharting:SeriesMapping>
</telerikChart:RadChart.SeriesMappings>
        </telerikChart:RadChart>
Evgenia
Telerik team
 answered on 07 Apr 2011
7 answers
262 views
Hi,

I am using Checkbox in RadTreelistview and when i click this checkbox the check/uncheck operation is not performing.

PN:Checkbox in RadTreelistview taking 3 mosue clicks to check .

Please help
Vanya Pavlova
Telerik team
 answered on 07 Apr 2011
1 answer
125 views
It seems WPF version has the same problem as the following
http://www.telerik.com/community/forums/silverlight/general-discussions/textbox-using-chinese-keyboard-results-in-catastrophic-failure-0x8000ffff.aspx

I know this problem of silverlight was issued "http://www.telerik.com/support/pits.aspx#/public/silverlight/4584 ".

I'm wondering will it be fixed at the same time silverlight will?


Iva Toteva
Telerik team
 answered on 07 Apr 2011
3 answers
2.0K+ views
Hi all,

I have the requirement to show the images in my RadGridView where the alternate row color is Light blue and dark blue.
I have small images (of cancel,danger etc ) which i cut it from the screenshot , so its background is of white color.

So i want images to look such that in the row that its background color(at present white) get matched with the background color (light/dark blue) od the row of the RadGridView or can say it white part can be done transparent in order to match with the row color.


Thanks in Advance !!!!!!!
Yavor Georgiev
Telerik team
 answered on 07 Apr 2011
1 answer
70 views
Hi,

I want to export RadGridViewData in my WPF Windows application to Excell.

How do I achieve this functionality.


Any quick solution to this issue with a sample will be highly appreciated.

Thanks in advance.

Regards,
Hirak
Vlad
Telerik team
 answered on 07 Apr 2011
1 answer
88 views
I've tried to change groupings in the dataloaded event but I get an error message:
"Cannot change ObservableCollection during a CollectionChanged event."
Yavor Georgiev
Telerik team
 answered on 07 Apr 2011
2 answers
394 views
Hello,

By default, when you bind a column to a boolean value, it gets rendered as a checkbox.  Is there any built-in support to render "True" or "False" instead, or do I need to use a Value Converter?  (I just want to make sure that I have not missed some simple setting somewhere.)

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 06 Apr 2011
4 answers
255 views
To set the scene, I am in an MVVM environment and I am using the Behavior from Vlad's blog post located at
How To: Synchronize your UI selected items with your data context using MVVM and Blend behaviors for Silverlight and WPF

This behavior works great and I have it bound to a ViewModel, I am working on extended this so when the user selects a row, the grid will automatically select any rows that have the same PO Number as the selected row.

View Model Code:
public WarehouseLineItemProxy SelectedLineItem
    {
      get { return selectedLineItem; }
      set
      {
        if (value != null)
        {
          selectedLineItem = value;
          RaisePropertyChanged(() => SelectedLineItem);
 
          //Check for any additional items that have this GP PO Number
          var lineItems = new ObservableCollection<WarehouseLineItemProxy>();
 
          foreach (var lineItem in LineItems.Where(x => x.GPPONumber == selectedLineItem.GPPONumber))
          {
            lineItems.Add(lineItem);
          }
 
          SelectedLineItems = lineItems;
        }
      }
    }

Here, the SelectedLineItem property is bound to the SelectedItem property of the RadGrid, LineItems is an ObservableCollection of business objects that serves as the ItemsSource of the RadGrid.

I then made the following changes in the Behavior:
void GridSelectedItems_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
        {
            UnsubscribeFromEvents();
 
            if (((IList)SelectedItems).Count > Grid.SelectedItems.Count)
            {
              Transfer(SelectedItems as IList, Grid.SelectedItems);
            }
            else
              Transfer(Grid.SelectedItems, SelectedItems as IList);
 
            SubscribeToEvents();
        }

So rather then transferring the Grid's selected items to the SelectedItems dependency property I reverse it and transfer the SelectedItems dependency property into the Grid's selected items.

public static void Transfer(IList source, IList target)
        {
            if (source == null || target == null)
                return;
 
            target.Clear();
 
            foreach (var o in source)
            {
                target.Add(o);
            }
        }


This works and if I look at the Grid.SelectedItems property in a watch it shows me a count of 2.  However the UI only displays one row selected.

Is there a way to force the Grid to re-draw?  Is there a better way to accomplish what I am trying to do?

Any help is greatly appreciated.

Jeremie Grund
Jeremie
Top achievements
Rank 1
 answered on 06 Apr 2011
3 answers
170 views
I am attempting to use this style of  combobox:

http://blogs.telerik.com/vladimirenchev/posts/10-04-09/how_to_filter_as_you_type_radgridview_inside_radcombobox_for_wpf_and_silverlight.aspx

The combobox from this tutorial is then being added to a grid view as a template column.  The combobox seems to work in the regards that it filters as you type and displays the results in a grid format.  However, when you select an item from the results the combobox dropdown stays open and the selection does not appear to have registered (even though the view model does in fact register the selected item).  Also tabbing from the combox box to the next grid column does not work.  Instead it tabs within the results grid.

Basically I want to interact with the combobox as if it were a combox box grid column.  I just want the combobox to display the results as I type in a grid format.

Any suggestions?

Valeri Hristov
Telerik team
 answered on 06 Apr 2011
9 answers
490 views
Hi,

Recently we found one show stopper bug after we moved to telerik controls version 2010.2.812. In this version TrasitionControl seems had serious changes. We use transition control inside datatemplates and rendering of views is done mostly with datatemplates.

Thanks for any help.

Exception - "Cannot resolve all property references in the property path 'Effect.Progress'. Verify that applicable objects support the properties."

StackTrace (stack trace i have copied trying lates internal build 2010.2.1018): 

   at System.Windows.Media.Animation.Storyboard.VerifyPathIsAnimatable(PropertyPath path)
   at System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer)
   at System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer)
   at System.Windows.Media.Animation.Storyboard.BeginCommon(DependencyObject containingObject, INameScope nameScope, HandoffBehavior handoffBehavior, Boolean isControllable, Int64 layer)
   at System.Windows.Media.Animation.Storyboard.Begin()
   at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.PlayAnimation() in c:\Builds\WPF_Scrum\HotFix_2010_Q2\Sources\Development\Core\Controls\TransitionControl\TransitionPresenter.cs:line 465
   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)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(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)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()

Yana
Telerik team
 answered on 06 Apr 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
DataPager
PersistenceFramework
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?