Telerik Forums
UI for WPF Forum
1 answer
125 views
See attached image. The arrows/connections don't look right.

Is this a drawing bug?
Pavel R. Pavlov
Telerik team
 answered on 15 Apr 2013
0 answers
132 views
Hello Telerik team!.

I have 1 problem with radchart (currently i'm using Telerik.Web.UI version 2012.3.1016.35 with SharePoint 2013). I have 1 image and store it in Layout folder and I can not set background image for the radchart. Here is my code 
            
radChart.PlotArea.Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Image;
            radChart.PlotArea.Appearance.FillStyle.FillSettings.BackgroundImage = ~/_Layouts/15/Bamboo.Reporting/RiskChartBubbleQuarand.jpg";

Can anyone help me how to fix this!?
Thanks in advance!.
An
An
Top achievements
Rank 1
 asked on 15 Apr 2013
4 answers
143 views
My AutoCompleteBox seems to work correctly except that the text does not display properly in the DropDown (pls. see screen capture attached).

I am new to WPF controls and I am wondering if this is because the application is a VSTO add-in. This is the container hierarchy:
  • AutoCompleteBox is in a WPF UserControl
  • WPF UserControl is in an ElementHost
  • ElementHost is in a WinForms UserControl
  • WinForms UserControl is in a Microsoft.Office.Tools.CustomTaskPane

J.
jmdion
Top achievements
Rank 1
 answered on 15 Apr 2013
0 answers
280 views
Hi
i tried to handle GridView events such as MouseDown and MouseUp but it didn't work.
Here is my code
<telerik:GridViewColumn Header="Hello" MouseDown="GridViewColumn_MouseDown_1"/>

Please help me to find a way to handle those events.

Thanks,
Akram
Akram
Top achievements
Rank 1
 asked on 13 Apr 2013
1 answer
93 views
Using Blend Preview for VS2012, I couldn't compile the Demo solution for WPF RadControls. I was getting weird errors like  "usercontrol is not supported in a Windows Presentation Foundation project".

Did a bit of searching and found and you need to replace all ">x86</Platform>" with ">AnyCPU</Platform>" in the *.csproj files (I just used a Find in Files replace in Notepad++). After that, everything worked fine.

Thanks to this blog post for the answer
Dimitrina
Telerik team
 answered on 12 Apr 2013
1 answer
171 views
Hi There,
I have a requirement where i need to set some gap between the tabitems of autohide area, but i dont know where i can set that in the style. can you please help me in this.
attached a image please check once.

Thanks in advance,
Srinivas.
Masha
Telerik team
 answered on 12 Apr 2013
2 answers
134 views
I have the same issue to that mentioned in the following forum post (Validating blank numeric cells ) the only difference being that all of my columns are auto generated so I cannot apply the datamemberbinding xaml solution. I'm presuming that I will need to apply it in my AutoGeneratingColumn code block but I'm just not sure how. Any help/example would be appreciated.

Thanks
Colin
Dimitrina
Telerik team
 answered on 12 Apr 2013
1 answer
339 views
Hi,

I'm working on a project where we have a RadTreeView and 3rd party CAD viewer control working off the same business objects (in this case the individual CAD entities). However the difference between the way the CAD viewer does selection and how the TreeView does selection will end up being confusing to customers, and the architect wants the treeview selection method to match the CAD's. For instance, in the CAD clicking on an entity, or drag-selection of multiple entities, without any key modifiers does not de-select already selected items. a key-modified-click or key-modified-drag-selection are what deselect the specific entities. This is the same as other CAD tools.

So I have the task to override RadTreeView's selection methods to mimic these same selection behaviors - so that when you click on a treeviewitem it will select it, but not deselect other items, and a key-modified click will de-select only the items specifically indicated by the user (either individually, or under multiselect). To make things a bit more challenging, we need our treeview to be virtualized, and the RadTreeViewItem's IsSelected property is bound to a "Selected" property of the business objects (each cad entity), following an MVVM design pattern.

So what I'm having trouble finding out is what methods I need to override on RadTreeView (or even RadTreeViewItem?) to change the selection behavior with the mouse/keyboard, but still allow the the RadTreeView to fire the events it does on selection change (we've found these are still important regardless of our databinding due to ui virtualization).

Thanks!
Robert
Top achievements
Rank 1
 answered on 12 Apr 2013
1 answer
156 views
Hi,
How to bind a string property to the Richtexbox control using MVVM? 

Any help would be appreciated!.

Thanks
Raj
Petya
Telerik team
 answered on 12 Apr 2013
5 answers
261 views
I use sample from demo:

<telerik:RadCartesianChart Palette="Windows8" Height="Auto" Width="500">
    <telerik:RadCartesianChart.Behaviors>
        <telerik:ChartTrackBallBehavior ShowIntersectionPoints="True" />
    </telerik:RadCartesianChart.Behaviors>
    <telerik:AreaSeries CategoryBinding="Category" Fill="#7F8EC448" Stroke="#FF8EC442" StrokeThickness="2" ValueBinding="Value" ItemsSource="{Binding Chart1}">
        <telerik:AreaSeries.TrackBallInfoTemplate>
            <DataTemplate>
                <StackPanel Margin="3" Orientation="Horizontal">
                    <TextBlock Text="{Binding DataPoint.Category, StringFormat='Spread at {0:HH:mm:ss.f}:'}" Margin="0,0,3,0" />
                    <TextBlock Text="{Binding DataPoint.Value}" FontWeight="Bold" />
                </StackPanel>
            </DataTemplate>
        </telerik:AreaSeries.TrackBallInfoTemplate>
    </telerik:AreaSeries>
    <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:DateTimeContinuousAxis MajorStepUnit="Second"
                            LabelInterval="10"
                            LabelFormat="HH:mm:ss.f" FontFamily="Segoe UI"
                            PlotMode="OnTicks" />
    </telerik:RadCartesianChart.HorizontalAxis>
    <telerik:RadCartesianChart.VerticalAxis>
        <telerik:LinearAxis FontFamily="Segoe UI">
        </telerik:LinearAxis>
    </telerik:RadCartesianChart.VerticalAxis>
    <telerik:RadCartesianChart.Grid>
        <telerik:CartesianChartGrid MajorLinesVisibility="Y" MajorYLineDashArray="3,4" />
    </telerik:RadCartesianChart.Grid>
</telerik:RadCartesianChart>

I use DataContext  binding:

DataContext = _viewModelMain;

 But i cant change color here: Fill="#7F8EC448" Stroke="#FF8EC442". Output window:
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=Color; DataItem=null; target element is 'SolidColorBrush' (HashCode=1226006); target property is 'Color' (type 'Color')

How fix it?
JackSH
Top achievements
Rank 1
 answered on 12 Apr 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
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?