Telerik Forums
UI for WPF Forum
5 answers
248 views
Zooming and scrolling on the x-axis seems to have some issues:

  • The point on the far left stays in view. I would expect it to disappear
  • No line is drawn between the last point in view on the right, and the first point outside the viewable range on the right
  • When I zoom in between two data point, the graph is replaced with the text "No Data Series"
  • Scrolling sometimes doesn't result in an updated graph

The .avi file linked here shows me using the mouse to drag the scrollbar around and dragging the scrollbar handles to zoom in and out:
telerikchartzoomscrollbugs.avi

My xaml is simply:

<telerikChart:RadChart.DefaultView>
                  <telerikCharting:ChartDefaultView>
                     <telerikCharting:ChartDefaultView.ChartArea>
                        <telerikCharting:ChartArea>
                           <telerikCharting:ChartArea.ZoomScrollSettingsX>
                              <telerikCharting:ZoomScrollSettings ScrollMode="ScrollAndZoom"/>
                           </telerikCharting:ChartArea.ZoomScrollSettingsX>
                        </telerikCharting:ChartArea>
                     </telerikCharting:ChartDefaultView.ChartArea>
                  </telerikCharting:ChartDefaultView>
               </telerikChart:RadChart.DefaultView>


[edit]
forgot to mention the version I'm using: 2010.3.1314
[/edit]
Ves
Telerik team
 answered on 22 Aug 2012
12 answers
281 views
Hello there!
We are using Telerik WPF controls and the IsolatedStorageprovider to persist UI Settings. Now we've got the problem that the Columns of the RADGridViews are destroyed and AutoGenerateColumns is set from false to true when the LoadFromStorage Method is executed. :-(
Interesting is that the Grids don't even have a StorageId...
Is there a way to avoid this unfortunate behavior?
I should also mention that the grids are arranged in a user Control.

brgds
Sven Weiberg
Format Software Service
Sven
Top achievements
Rank 1
 answered on 22 Aug 2012
3 answers
132 views
Hello,
I want to rotate my grid, like sql´s sentence pivot. How can i get it?. Thanks for your support.
Vlad
Telerik team
 answered on 22 Aug 2012
1 answer
126 views
Good afternoon,

We started getting this exception on one of our forms, after upgrading Telerik control for WPF to a new version.
The exception occurs for a DataGridHyperlinkColumn of the DataGrid in the RadTabControl.
Can anyone help us with this?

Stack trace:

bei MS.Internal.Media.VisualTreeUtils.AsVisual(DependencyObject element, Visual& visual, Visual3D& visual3D) bei Telerik.Windows.Controls.TabControl.RadTabControlBase.ScrollViewer_MouseWheel(Object sender, MouseWheelEventArgs e) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TabControl\RadTabControlBase.cs:Zeile 707. bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) bei System.Windows.Input.InputManager.ProcessStagingArea() bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& 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.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) bei System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) bei Akzente.Gigant.Administration.Program.Main() in C:\projects\akzente\src\trunk\trunk\Akzente.Gigant.Administration\Akzente.Gigant.Administration\Program.cs:Zeile 61.
Tina Stancheva
Telerik team
 answered on 22 Aug 2012
1 answer
105 views
I've not been able to locate any information regarding this request, so the question is asked here!

I want to change the automatic layout of the tiles from Left to Right, Top to Bottom  to Top to bottom , Left to Right.

i.e. change from 

1,2,3,4,5,6,7,8,9,10,
11,12,13,14,15,16,17,18,19,20,
21,22,23

to this
1, 6, 11, 16,21
2,7,12,17,22
3,8,13,18,23
4,9,14,19,
5,10,15,20,

where the numbers represent ordered tiles.

Is this  possible??

Regards,

/SiD
Tina Stancheva
Telerik team
 answered on 22 Aug 2012
5 answers
386 views
Hello All,

I am trying to display an icon in the RadTabControl, right aligned, at the tab strip level.  I have done this with the RibbonBar using the TabStripAdditionalContent property, but in this particular view, I do not have a RibbonBar.  I was wondering if there is a similiar property I can use to achieve this, or using a style / template.

Any help is appreciated.

Thanks in advance
Tina Stancheva
Telerik team
 answered on 22 Aug 2012
3 answers
165 views
Hi,

I'm using VS2008 and Telerik V2012.1.326.35 and a special scenario occured when I'm trying to close a RadWindow.

In m'y application, I have a flag to detect any user data changes and when the user try to close the RadWindow, if the flag = true, I display a dialog to ask the user if he want to loose his changes or not. If he answer YES, no problem, the RadWindow close without any problem but if he answer NO, the previewclosed event are trigger a second time. The problem occur only when he click on my close button. If he use the upper right X button of the RadWindow, the normal behaviour are respected.

XAML CLOSE BUTTON:
---------------------------------
                <telerik:RadButton Margin="0 0 5 0" x:Name="btnClose" Click="btnQuit_Click" IsCancel="True">
                    <StackPanel Orientation="Horizontal">
                        <Image Margin="5 0 0 0" Source="Resources/Quit_32x32.png" Height="24" Width="24" />
                        <TextBlock Margin="5" VerticalAlignment="Center" Text="{StaticResource Quit}" />
                    </StackPanel>
                </telerik:RadButton>
CODE BEHIND
---------------------
        private void btnQuit_Click(object sender, RoutedEventArgs e)
        {
   try
   {               
    Close();
   }
   catch (Exception exc)
   {
    ClientUtilities.DisplayContextEventError(mTracingTool, exc, "BILDT019", "btnQuit_Click");
   }
        }

        private void Me_PreviewClosed(object sender, WindowPreviewClosedEventArgs e)
        {
   try
   {
                if (IsChangesInProgress && ClientUtilities.ConfirmDialog(this, LocGeneral.GetControlText("Confirmation"), LocGeneral.GetYesNo("CancelChanges")) != true)
                {
                    e.Cancel = true;
                }
                else
                {
                    DoAction(this, new ActionEventArgs(ActionEvent.Close));

                    // Apply persistence if required.
                    if (mUsePersistence)
                    {
                        string errMsg;
                        PersistenceStorage.Persist(PersistenceStorage.PersistenceAction.Save, this, "BillingModule.BillingDetails" + "." + this.IsReadOnly.ToString(), out errMsg);
                        mIsAlreadyLoaded = false;
                    }
                }
   }
   catch (Exception exc)
   {
    ClientUtilities.DisplayContextEventError(mTracingTool, exc, "BILDT019", "Me_PreviewClosed");
   }
        }


Georgi
Telerik team
 answered on 22 Aug 2012
1 answer
118 views
I receive this message when binding to a graphsource for each connection in the graphsource:
System.Windows.Data Error: 40 : BindingExpression path error: 'Content' property not found on 'object' ''SeqLink' (HashCode=58169988)'. BindingExpression:Path=Content; DataItem='SeqLink' (HashCode=58169988); target element is 'ContentPresenter' (Name=''); target property is 'Content' (type 'Object')

Commenting out all binding in the Style for connections in xaml does not help.

internal class SeqLink:ILink<SeqStep>
    {
        public string ConnectionSide { get; internal set; }
 
        object ILink.Source
        {
            get { return Source; }
            set { Source = (SeqStep) value; }
        }
 
        public SeqStep Target { get; set; }
 
        //Uncomment either of these to remove the runtime binding error in debug window. However, the appearance is unchanged, AFAICT.
 
        //public string Content
        //{
        //    get { return String.Empty; }
        //    set { throw new NotImplementedException("Set content was called");}
        //}
 
        //public FrameworkElement Content
        //{
        //    get { return new Button() {Height = 30,Width = 30,Content = "SampleText"}; }
        //    set { throw new NotImplementedException("Set was called"); }
        //}
 
        public SeqStep Source { get; set; }
 
        object ILink.Target
        {
            get { return Target; }
            set { Target = (SeqStep) value; }
        }
    }

Have I done something wrong, is this a bug or is there something that I should be exposing through this property that would achieve some functionality that I fail to grasp? 
Alex Fidanov
Telerik team
 answered on 22 Aug 2012
1 answer
47 views
When I am scrolling through a large amount of data, there is a item that appears over the top of the grid that appears to show data from the first column in the grid.

What is this UI Element called?

Do you have any samples on how to style it.
Vlad
Telerik team
 answered on 22 Aug 2012
3 answers
630 views
Hello,
I'm currently evaluating the RadGridView (2012_1_326) and am encountering a problem setting the DisplayIndex.  The documentation (http://www.telerik.com/help/wpf/gridview-columns-reordering-columns.html) illustrates a simple scenario setting the DisplayIndex property in xaml.  When I implement this same example, i get a runtime ArgumentOutOfRangeException {"DisplayIndex out of range! Column2\r\nParameter name: displayIndex"}. 

My intent is to eventually bind this property to a custom object containing display settings which will be used to persist the user's preferences.

Your help is appreciated
Erik
Top achievements
Rank 1
 answered on 21 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?