Telerik Forums
UI for WPF Forum
1 answer
62 views
Hello Every one

i am already buy the product WPF control Package

and i have a big problem with Rich text box Scroll performance problem with large documents viewing

is there is any solution for this issue.

thanks
Hamed
Top achievements
Rank 1
 answered on 05 Aug 2013
3 answers
318 views
I currently have a RadChartView control that is bound to some objects whose name is on the X-Axis (Horizontal) and total-time as a TimeSpan on the Y-Axis (Vertical).  I would like the vertical axis to show labels such as 00:16:29.6 for sixteen minutes, twenty-nine and six-tenths seconds.  I also want the vertical axis to automatically scale as it does with numerical values.

I have tried using the DateTimeContinuousAxis as the vertical axis which was bound to a DateTime with the hour, minutes, seconds, and milliseconds populated but the chart rendered the objects with a zero value.  I have also tried just binding a CategoricalAxis to the TimeSpan property but that again renders all of the items with a zero value.

Does anybody know how to do this by overriding some classes or if there's any plans to include native TimeSpan representations in the RadChartView?
Petar Kirov
Telerik team
 answered on 02 Aug 2013
11 answers
974 views

Hi,

i am using the namespace - Telerik.Windows.Controls(2009.3.1208.35)

How to add button column to telerik radgridview for WPF programatically
and how to fire the event.

Thank you,
Shashi

hart
Top achievements
Rank 1
Veteran
 answered on 02 Aug 2013
5 answers
261 views

Hello,

 

I am using Pivot Grid which has its DataProvider’s ItemSource as DataTable with large number of rows (around 500000).

Pivot grid takes some time to display this data and shows wait window which says “Loading…”.

 

  1. Is there any way to find out status of DataProvider or PivotGrid control which indicates that data is being displayed in pivot grid control? I checked DataProvider Status and this is always “Ready” during this time. Actually pivot grid starts showing data only when DataProvider becomes Ready, but then if there is huge data to display, I want to do some operations during this time and also when data is fully shown to pivot grid.

 

  1. Also I want to know if I can override default wait window and show my own wait window.

 

Kindly let me know if I can achieve this somehow.

 

Thanks,

Shiv Ram

Rosen Vladimirov
Telerik team
 answered on 02 Aug 2013
4 answers
99 views
Hi,

I wants to add the button(Expansion Button) in RadRichTextboxRibbonUI which allow to implement the following functionality.

When I select a word from the RadRichTextBox and click on Expansion Button, That word allow a area to add more detail information about this word in same window. When I write some more detail about this word and again wants add more detail about any word of that detail information that is Expansion button functionality need to implement in nested structure.

For reference I have added the picture file for this issue.

How to implement this scenario in RadRichtextBox


Please Help

Regards,

Sopan Vaidya

Iva Toteva
Telerik team
 answered on 02 Aug 2013
2 answers
157 views
Hello,

I have defined a WPF application that uses Telerik controls using Visual Studio 2010 SP1.

I have copied what is in Debug folder (.exe files and .dll binaries) to another machine and it worked great. However, I don't want the Telerik binaries to be copied along the exe file. I want the exe to work with the local install of Telerik on the target machine. I installed Telerik on the target machine and added the Paths to binaries to the System Environment Path variable. Yet, I couldn't run the .exe file yet. 
How can I achieve this?

link of question on StackOverflow: WPF App: get Telerik binaries from install on target machine

What I tried so far:

  • I installed Telerik on the target machine and added the Paths to binaries to the System Environment Path variable. Yet, I couldn't run the .exe file yet. How can I achieve this?
  • I installed gacutil.exe and added the binaries to GAC. I can test: gacutil /l | findstr “Telerik” and find all assemblies I added.
  • I tried to place these assemblies (Telerik) in C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0 trying both x64 and x86.
  • I tried to place these assemblies (Telerik) in C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5 trying both x64 and x86.

None of the above works. The only way is having the .dll files right next to the .exe in the same directory which I do not want.

Thanks,

Saher
Top achievements
Rank 1
 answered on 02 Aug 2013
1 answer
61 views

Hello, I downloaded 2013_2_0729 hotfix and RadRibbionView doesn't work as before.
I'm using the below code (called from the OnContentRendered event of RadRibbonWindow).
_mainRibbon is a RadRibbonView instance and each tab in  _mainRibbon is dynamically created.
This code worked fine in former versions, but after applying 2013_2_0729 hotfix, NullExceptionError occurrs in _mainRibbon.Visibility = Visibility.Visible;. Can this be fixed?

        private void createFeatures()
        {
            List<IPluginFactory> featureFactories = PluginManager.Instance.GetFactories(typeof(IFeatureFactory));
            foreach (IPluginFactory factory in featureFactories)
            {
                // Providing callback (delegate) to create any number of FeatureWindows from the feature
                IFeature feature = (factory as IFeatureFactory).Create(_mainRibbon, createFeatureWindow, create3DWindow);
            }

            _mainRibbon.SelectedIndex = 0;
            _mainRibbon.Visibility = Visibility.Visible;
        }

Tina Stancheva
Telerik team
 answered on 02 Aug 2013
3 answers
136 views
i wan to know which dimensions  youu use in diagram
in another word if i want to convert from mm or inches how to set   diagram dimensions
Ahmed
Top achievements
Rank 1
 answered on 02 Aug 2013
5 answers
340 views

Hello,

 

We are using RadControls for WPF Q3 2011.2.712.40 Runtime version v4.0.30319 and we are facing a problem with printing using RadRichTextBox control.

 

The code using to print (as shown on your Website) is :

 

Telerik.Windows.Documents.UI.PrintSettings printSettings = new Telerik.Windows.Documents.UI.PrintSettings();

printSettings.PrintMode = Telerik.Windows.Documents.UI.PrintMode.Native;

printSettings.PrintScaling = Telerik.Windows.Documents.UI.PrintScaling.None;

MyRichTextBox.Print(printSettings);

 

And I’m getting the following error :

 

   at Telerik.Windows.Documents.UI.HeaderFooterPresenterBase.UpdateBody() in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\HeaderFooterPresenterBase.cs:line 338

   at Telerik.Windows.Documents.UI.HeaderFooterPresenterBase.OnApplyTemplate() in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\HeaderFooterPresenterBase.cs:line 417

   at System.Windows.FrameworkElement.ApplyTemplate()

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)

   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Controls.Control.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Controls.Canvas.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at Telerik.Windows.Documents.UI.DocumentPrintPresenter.MeasureOverride(Size availableSize) in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentPrintPresenter.cs:line 455

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)

   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.ContextLayoutManager.UpdateLayout()

   at System.Windows.UIElement.UpdateLayout()

   at Telerik.Windows.Documents.UI.DocumentPrintPresenter.UpdateEditorLayout() in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentPrintPresenter.cs:line 308

   at Telerik.Windows.Documents.UI.DocumentPrintPresenter.DoOnDocumentChanged() in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentPrintPresenter.cs:line 301

   at Telerik.Windows.Documents.UI.DocumentPrintPresenter.OnOwnerChanged() in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentPrintPresenter.cs:line 283

   at Telerik.Windows.Documents.UI.DocumentPrintPresenter.set_Owner(RadRichTextBox value) in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentPrintPresenter.cs:line 102

   at Telerik.Windows.Controls.RadRichTextBox.InitActiveEditorPresenter() in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\RadRichTextBox.cs:line 2862

   at Telerik.Windows.Controls.RadRichTextBox.set_ActiveEditorPresenter(IDocumentEditorPresenter value) in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\RadRichTextBox.cs:line 1010

   at Telerik.Windows.Controls.RadRichTextBox.<>c__DisplayClass22.<Print>b__20(Object o, EventArgs e) in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\RadRichTextBox.cs:line 2391

   at Telerik.Windows.Documents.UI.DocumentPrintPresenter.OnPrintingStarted() in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentPrintPresenter.cs:line 702

   at Telerik.Windows.Documents.UI.DocumentPrintPresenter.Print() in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentPrintPresenter.cs:line 654

   at Telerik.Windows.Controls.RadRichTextBox.Print(PrintSettings printSettings) in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\RadRichTextBox.cs:line 2411

   at Optivia.WpfClient.Views.UserControls.CourrierType.UpdateCourrierTypeViewModel.ExportCourrierType(RadRichTextBoxBindable RTB) in C:\Projects\Eurovia_SSO\Optivia\Code\Optivia.WpfClient\Views\UserControls\CourrierType\UpdateCourrierTypeViewModel.cs:line 200

   at GalaSoft.MvvmLight.Command.RelayCommand`1.Execute(Object parameter)

   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)

   at System.Windows.Controls.Primitives.ButtonBase.OnClick()

   at System.Windows.Controls.Button.OnClick()

   at Telerik.Windows.Controls.RadButton.OnClick() in c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Core\Controls\Buttons\RadButton.cs:line 357

   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)

   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(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.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

   at System.Windows.UIElement.OnMouseUpThunk(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)

 

The print screen attached gives you a visual description of the error we are getting.

 

We had tried to pass by HTML to do the job, but, and for client desire reason, we must pass by the control printing tool.

 

Thank you so much for your time.

 

Best regards

Iva Toteva
Telerik team
 answered on 02 Aug 2013
3 answers
98 views
Hi Experts,

I have done a customized settingspane referenced to the MindMap example(But I change the RadDiagramShape instead of MindmapRootShape in example case). And in the my settingspane, I have a button to open a new window, when the window closed, the settingspane will be closed by default.

What I want is to keep its showing. Or when the window closed, the settingspane should be show again. How to do it like this ? Thanks  very much. It is appreciate if you can provide me a simple example.
Pavel R. Pavlov
Telerik team
 answered on 02 Aug 2013
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?