Telerik Forums
UI for WPF Forum
3 answers
374 views

Hi,

I am surprised that there is no MaxLength attribute for RadAutoCompleteBox.

I want user to free type text and if they don't find what they are looking for, I want to accept the value typed by user.

I figured out that I am unable to restrict the free typing after max length of 15.

How can I implement this ?

 

Nasko
Telerik team
 answered on 02 Sep 2015
2 answers
175 views
How would one change the UI culture for the text in the GroupPanel?  For example, the English content says, "Drag a column header and drop it here to group by that column."  How would that get changed to Spanish, for example?  I suppose this question could apply to all Telerik controls with localization.
Martin
Telerik team
 answered on 02 Sep 2015
3 answers
297 views

Hi,

 I'm regularly getting the following exception whenever I move around my Window with a RadBusyIndicator in it. There are multiple windows, each with their own busy indicator. (The Window is a template, and is filled dynamically at runtime.

01.No Title
02.System.NullReferenceException was unhandled
03.  HResult=-2147467261
04.  Message=Object reference not set to an instance of an object.
05.  Source=Telerik.Windows.Controls
06.  StackTrace:
07.       at Telerik.Windows.Automation.Peers.RadBusyIndicatorAutomationPeer.GetCustomPropertyValuesCore()
08.       at Telerik.Windows.Automation.Peers.RadBusyIndicatorAutomationPeer.GetItemStatusCore()
09.       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
10.       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
11.       at System.Windows.Automation.Peers.AutomationPeer.UpdatePeer(Object arg)
12.       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
13.       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
14.       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
15.       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
16.       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
17.       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
18.       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
19.       at System.Windows.Threading.DispatcherOperation.Invoke()
20.       at System.Windows.Threading.Dispatcher.ProcessQueue()
21.       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
22.       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
23.       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
24.       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
25.       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
26.       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
27.       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
28.  InnerException: 

 

Any ideas?

Thanks!

 

 

Georgi
Telerik team
 answered on 02 Sep 2015
1 answer
92 views
I have identified a problem with the RadMaskedCurrencyInput controls handling of the backspace key.
I have set the following properties in code
 Mask = "";
 FormatString = "c";
 
The error scenario is
1. The control has the value "$0.00"
2. Place the cursor to the left of the period (between the '0' and the period).
3. Press the backspace key (The cursor ends up to the left of the left most '0')
4. Press the number '1' key to enter the value
 
Expected
The value in the control is "$1.00"
 
Actual
The value in the control is "$10.00"
 
At the moment this bug is preventing us from using the control. Is anyone able to provide a solution or workaround for this problem.
 
My client is running the latest version.
 
Petar Mladenov
Telerik team
 answered on 02 Sep 2015
4 answers
187 views

Hi,

Is it possible to not receive handled MouseDoubleClickEvent and MapMouseDoubleClickEvent in RadMap when the event is handled in a item of a map layer ? I've joined a sample that demonstrates the problematic behavior (for me).

Thank you,

Etienne

Etienne
Top achievements
Rank 1
 answered on 01 Sep 2015
1 answer
138 views

Is it possible with your controls to build a LinearGauge with a logarithmic scale and logarithmic tickmarks?

 

Sia
Telerik team
 answered on 01 Sep 2015
1 answer
206 views

After adding a handler, the next step is to set focus to the cell (if any) under the mouse click.

this.AddHandler(MouseLeftButtonDownEvent, new MouseButtonEventHandler(this.myRadGridView_MouseDown), true);

I can set the cell focus given row and column.

The goal is to find the UIElement under the mouse click, if any, and then attempt to set Focus to it.

Thank you for your assistance.

Petya
Telerik team
 answered on 01 Sep 2015
3 answers
269 views

Hi All,

I am trying to create a horizontal stacked bar to show data.  Below is the code I have so far.

 

The problems that I'm having are:

1.  It creates the chart but the data bar seems to be vertical.  I want it to go horizontal.

2.  I want each segment of the bar to have a different color automatically from the theme.

3.  I want each segment of the bar to have its own tooltip.

 What am I missing?

Thanks for your help!     

 

 this.Chart = new Telerik.Windows.Controls.RadCartesianChart() {
                MinHeight = 0,
                MinWidth = 0,
                HorizontalAxis = new Telerik.Windows.Controls.ChartView.CategoricalAxis() {
                    Visibility = System.Windows.Visibility.Collapsed,
                },
                VerticalAxis = new Telerik.Windows.Controls.ChartView.LinearAxis() {
                    Visibility = System.Windows.Visibility.Collapsed,
                }
            };

            Chart.Background = System.Windows.Media.Brushes.Green;

            Chart.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
            Chart.VerticalAlignment = System.Windows.VerticalAlignment.Stretch;

            var DataSeries = new Telerik.Windows.Controls.ChartView.BarSeries();
            DataSeries.CombineMode = Telerik.Charting.ChartSeriesCombineMode.Stack100;

            foreach (var item in e.Parameters) {
                DataSeries.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint() { Value = item.Used, Category = "1" });
                DataSeries.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint() { Value = item.Available, Category = "1" });
            }

            Chart.Series.Add(DataSeries);​

Martin Ivanov
Telerik team
 answered on 01 Sep 2015
5 answers
215 views

Hey all.

 I'm playing around with DragDrop behaviours, mainly dragging from other controls (or explorer), and dropping onto a TreeListView. I would like to set the drag visual in these instances (for example, detail how many files are being dragged), but currently, the only way to create a visual is when the item is the source of the drag operation, not the destination.

Does anyone have any pointers as to where I can go from here ?

Dimitrina
Telerik team
 answered on 01 Sep 2015
1 answer
166 views

Does the Cartesian chart support multiple labels for the crosshairs? What I am looking for is a label for all of the axes in the chart. I have a chart with 3 y-axes and the potential for 2 x-axes. I have been asked to provide crosshair labels for all 4-5 of the axes. Is there a way to do this?

Thank you.

Martin Ivanov
Telerik team
 answered on 01 Sep 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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?