Telerik Forums
UI for WPF Forum
3 answers
243 views
We have several RadToolBars inside a RadToolbarTray and the user of the application should be able to shift these RadToolBars around inside the Tray. So that he can customize his Tray depending on screen size.

How do we get this done? The IsLocked property shows no effect.
Petar Mladenov
Telerik team
 answered on 07 Oct 2015
5 answers
131 views
Hi,

Please note that I posted this question a few days ago, but it seems to have been deleted, so I am posting it again.

I have modified the WorksheetEditorContextMenu so that a user can right click on a cell and select from the context menu one of the Workbooks currently Defined Names. I need the selected Defined Name to be inserted at the cursor position of the selected cell.

For example if the cell already has =A1+ typed in it and the user right clicks and selects the Defined Name TotalKMs the cell should then read =A1+TotalKMs with the ability for the user to keep tying the rest of the formula.

I am currently achieving what I require by setting the text on the Clipboard and calling radSpreadsheet.CommandDescriptors.Paste.Command.Execute(null).

This is a poor solution because the clipboard should not be used by applications in this manner.

Is there a better way to achieve this?

Thanks
Anthony
Anthony
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 06 Oct 2015
2 answers
196 views

Hello,

after I load the tree I want to expand all items, then call BringPathIntoView(). This does not work. If I do not call ExpandAll(), BringPathIntoView will select the correct item. My requirement is that I expand the whole tree and select a specific item based on certain rules. Here's my code:

 radTreeView.ItemsSource = _radTreeViewItems;

radTreeView.ExpandAll();

radTreeView.BringPathIntoView("something\\somethingChild");

 

The "something\\somethingChild" path is an item near the bottom of a large tree and it does not scroll down. Is there a way to wait for the ExpandAll() method to finish, then call BringPathIntoView?

 

Thanks,

Scott

Scott Michetti
Top achievements
Rank 1
Iron
 answered on 06 Oct 2015
3 answers
778 views
Is it possible to display RTF files in the RadRichTextBox that contain binary picture data? I have a stripped-down file that contains a jpegblip\bin tag which the RadRichTextBox does not display. The first line of the file is:
{\rtf1{\pict\picw2700\pich2700\picwgoal2700\pichgoal2700\jpegblip\bin9889

I created a second file with the binary data converted to hex data and the text box shows the image as expected. The first line of that file is:
{\rtf1{\pict\picw2700\pich2700\picwgoal2700\pichgoal2700\jpegblip

While the binary data contents of pictures is a part of the RTF standard, is this part of the standard supported by RadRichTextBox?

NB: I have two RTF files that demonstrate the issue, however only images can be attached this thread.

Thanks,
Jason.
Aylin
Telerik team
 answered on 06 Oct 2015
1 answer
122 views

I am using the diagram view in MVVM mode and I have built my test app starting from the MVVM SDK sample and the Class Diagram demo.

I can create shapes and connections programmatically. Connections created programmatically can be edited. I am using "gliding" connectors. My test app is able to create new shapes by dragging/dropping shapes from the toolbox. However, I cant create new connections interactively. When I click a shape, the center point of the shape shows up, when mousing over it, it gets highlighted and the tooltip "Connect" does appear. I am getting ConnectorManipulationStarted event. When dragging the mouse away no connector is showing up, and no Completed event ever fires. I have made sure that every editing related property is enabled on shapes, connectors and diagram style, but nothing...

 

Any idea ?

Thanks !

L.

 

 

 

Laurent
Top achievements
Rank 1
 answered on 05 Oct 2015
2 answers
114 views

Hi!

We are implementing a patient history where we want to plot some medical data values with a bar series (vertical) and line series, medication with bars (horizontal) and interventions (e.g. operations) with vertical lines that have a symbol. I made an annotated drawing (attached) so the use case is clear.

The vertical bar and line graphs are easily done with the RadCartesianChart. However, what I'm missing is a chart, that can display the treatments (Placebo Forte et al.) and the treatments (syringe and scalpel). It's important for them to align with the chart, since they share the same timeline.

What would you suggest for this use case?

 

Thanks in advance and best regards,
luetm

Lukas
Top achievements
Rank 1
 answered on 05 Oct 2015
1 answer
207 views
Hi,

I am trying to develop a wizard. I am trying to inherit a class from WizardPage for make custom WizardPages, and I make this

public partial class My_WizardPage : WizardPage
{
    public My_WizardPage()
    {
        
    }
}

And Xaml

 

<telerik:WizardPage
    x:Class="​My_WizardPage"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="300"
    ButtonsVisibilityMode="Next"
    >
    <mycontent/>
</telerik:WizardPage>

That work at Design time, I cant see the view, but if I add this custom page to WizardPages collection  from RadWizard nothing happend.

 

this.Wizard = pWizard;
 
WizardPage page = new My_WizardPage();
page.DataContext = this;(vm)
 
this.Wizard.WizardPages.Add(page);
 
this.Wizard.SelectedPageIndex = 0;

 

What am I doing wrong?

 

Regards!!

Yoan
Telerik team
 answered on 05 Oct 2015
1 answer
120 views

Hi,

it seems, that UpdateDropPreviewLine is not working with DropPosition.Inside. DropPosition.After works fine, but I want to give the user a clue, if the drop would result in a new child node or a new sibling node. Is UpdateDropPreviewLine in principle limited to DropPosition.After and DropPosition.Before or is the problem in my code?

Best regards
Thomas

Dinko | Tech Support Engineer
Telerik team
 answered on 05 Oct 2015
1 answer
134 views

[ Originally posted on the "Chart" forum but actually this issue happens with ChartView ] 

I am still in the process of evaluating the Telerik WPF package. Everything was OK with the Chart component until I found this problem.
 When loaded with plenty of data, the chart crashes with the following exception :
Decimal too big or too small
   at System.Decimal..ctor(Double value)
   at System.Decimal.op_Explicit(Double value)
   at Telerik.Charting.LinearAxisModel.<GenerateTicks>d__0.MoveNext()
   at Telerik.Charting.AxisModel.<Delay>d__1e`1.MoveNext()
   at Telerik.Charting.AxisModel.TryBuildNonOverlappingTicksAndLabels(Boolean buildLabels, ValueRange`1 zoomRange, Boolean allowOverlappingLabels)
   at Telerik.Charting.NumericalAxisModel.ChooseActualRange()
   at Telerik.Charting.NumericalAxisModel.BeginMeasureCore(RadSize availableSize)
   at Telerik.Charting.AxisModel.MeasureCore(RadSize availableSize)
   at Telerik.Charting.AxisModel.Measure(RadSize availableSize)
   at Telerik.Charting.NumericalAxisModel.Measure(RadSize availableSize)
   at Telerik.Charting.CartesianChartAreaModel.AxisStack.Measure(RadSize availableSize)
   at Telerik.Charting.CartesianChartAreaModel.PrepareAxesStacks(RadSize availableSize)
   at Telerik.Charting.CartesianChartAreaModel.ArrangeAxes(RadRect availableRect)
   at Telerik.Charting.ChartAreaModelWithAxes.UpdateAndArrangeAxes(SeriesByAxesTuple seriesByAxes, RadRect availableRect, RadRect& seriesRect)
   at Telerik.Charting.ChartAreaModelWithAxes.ArrangeOverride(RadRect rect)
   at Telerik.Charting.ChartNode.Arrange(RadRect rect, Boolean shouldRoundLayout)
   at Telerik.Charting.ChartAreaModel.Arrange()
   at Telerik.Windows.Controls.ChartView.RadChartBase.UpdateChartArea()
   at Telerik.Windows.Controls.ChartView.RadChartBase.CallUpdateUI()
   at Telerik.Windows.Controls.ChartView.RadChartBase.OnInvalidated()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(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.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
Known problem? Any workaround?

Petar Marchev
Telerik team
 answered on 05 Oct 2015
1 answer
108 views

Hi,

How can I add additional controls for certain fields in a PropertyGrid? Similar to Visual Studio. See attached image. 

 â€‹

Yoan
Telerik team
 answered on 05 Oct 2015
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?