Telerik Forums
UI for WPF Forum
1 answer
174 views
If I put this in a MEFed dll (using MefedMVVM), I receive an exception:

<UserControl ...
     mefed:ViewModelLocator.NonSharedViewModel="MyViewModel">
<telerik:RadPropertyGrid Item="{Binding IsAsync=True}" AutoGeneratePropertyDefinitions="True" />

Error while resolving ViewModel. System.ComponentModel.Composition.ImportCardinalityMismatchException: No exports were found that match the constraint

I suppose this binding somehow conflicts with my MEF contract. Any ideas? Makes no sense... but if I remove the binding, it works!
Ivan Ivanov
Telerik team
 answered on 22 Jan 2013
2 answers
130 views
Does anyone know where I can find some examples &/or resources on how to properly change colors for built-in themes?  I am trying to transition from using the Metro theme in which I had a singleton and could just access it and change the colors for the whole application.  To know I am trying to utilize the Windows8Touch theme and I no longer have access to something like: Windows8TouchColors.PaletteInstance.MainColor = Colors.Orange
Igor
Top achievements
Rank 1
 answered on 22 Jan 2013
1 answer
344 views
Hi,

I set 240 points in a RadCartesianChart, And then I changed some points' value.(Please watch pic1)
But I want to display like pic2.

Or you have a way to draw this only need a few pionts.

I need to use RadCartesianChart's behavior like this. So I can't use RadChart
<telerik:RadCartesianChart.Behaviors>
	<telerik:ChartTrackBallBehavior ShowIntersectionPoints="True" TrackInfoUpdated="ChartTrackBallBehavior_TrackInfoUpdated_1" />
</telerik:RadCartesianChart.Behaviors>

If RadCartesianChart has a property like this is better.
<telerik:RadChart>
 <telerik:RadChart.SeriesMappings>
 <telerik:SeriesMapping>
<telerik:SeriesMapping.SeriesDefinition>
<telerik:LineSeriesDefinition EmptyPointBehavior="Gap" />
</telerik:SeriesMapping.SeriesDefinition>
Sorry My English is not very well, If you can understand what I say, I would be very grateful.

Thanks.
Petar Marchev
Telerik team
 answered on 22 Jan 2013
1 answer
151 views
Hi,

When I attempt to "Edit Template" of RadColorEditor in Expression Blend, the Sliders disappear from the template. Is there an easy way to edit the style of these controls used within RadColorEditor's ControlTemplate?

Thanks,
Frankie
Petar Mladenov
Telerik team
 answered on 22 Jan 2013
1 answer
173 views
I have a Pie Chart that is bound to a stored procedure, the stored procedure brings back the percentage of sales for each sales person in my database.  As the user select  diffrent sales people I would like to be able to highlite or pull the wedge out that represents that sales person.  I have the salesperson code, but right now its not bound and I know which sales person they are looking at.

<telerik:RadPieChart HorizontalAlignment="Left" Margin="31,32,0,0" VerticalAlignment="Top">
<telerik:PieSeries x:Name="TotalSalePercent" ShowLabels="True"
ItemsSource="{Binding}"
ValueBinding="__of_Total_Sales">
</telerik:PieSeries>
</telerik:RadPieChart>


List<spSalesPercentResult> spSalesPercentresult = (from s in conn.spSalesPercent()
select s).ToList();
            TotalSalePercent.ItemsSource = spSalesPercentresult;


Evgenia
Telerik team
 answered on 22 Jan 2013
5 answers
406 views
Can someone point me to an example of changing the appearance of a RadToggleButton (hover, checked, not checked) using a ControlTemplate or otherwise (But NOT using Expression Blend)?

Thank you.
Biliana Ficheva
Telerik team
 answered on 22 Jan 2013
2 answers
87 views
I am using the RadGridView from Rad controls 2012 Q3

I see to different behaviours for selection:
-When I click on an item with the mouse, the row is highlighted (in orange) 
-When I programmatically set the selection (myGridView.SelectedItem = anObject), the row is highlighted (in grey)

I would like to be able to programmatically set the selection AND have it be highlighted (as is the case with the mouse click)

a) Why these behaviours are different?
b) How can I programmatically set the selection AND have it be highlighted?

Note: I am not trying to change the selection colors, but have programmatic selection behave the same as mouse selection.

Thank you

Mark
Top achievements
Rank 1
 answered on 21 Jan 2013
2 answers
229 views
I would like to enable/disable a filter based on a checkbox and I would like to do it only in XAML.

I can see how it is done in code but ideally I would be able to implement this strickly in XAML. For example: Bind something like IsEnabled to the checked status of a ToggleButton.

In my case, I actually have several toggle buttons which each apply filters to the view.

Thoughts?
Mark
Top achievements
Rank 1
 answered on 21 Jan 2013
2 answers
203 views
I am building a large facility map that will show facility equipment using a RadMap with bitmaps to portray equipment (computers, printers, etc).  MapPinPoint seems to be the best approach to this.  I can successfully add a MapPinPoint to a RadMap with code like this:

Uri uri = new Uri("/Printer.jpg", UriKind.Relative);

MapPinPoint newMapPoint = new MapPinPoint();
newMapPoint.ImageSource = new BitmapImage(uri);
newMapPoint.Text = "Test";
MapLayer.SetLocation(newMapPoint, new Location(19.70240, -154.08088));
informationLayer.Items.Add(newMapPoint);

This displays the image MapPinPoint with the correct image but introduces a zoom issue.  When I zoom in/out, I need the MapPinPoint to keep its scale.  If I zoom in, the image should get larger and I zoom out the image should get smaller.

How do I accomplish this?  Or, is there a better approach to add image items on the map on the fly and have them scale with zooms?

Thanks.
James
Top achievements
Rank 1
 answered on 21 Jan 2013
0 answers
134 views

Hello. I have this code.

<telerik:RadDocking Grid.Column="1">

                <telerik:RadDocking.DocumentHost>

                    <telerik:RadSplitContainer>

                        <telerik:RadPaneGroup prism:RegionManager.RegionName="{x:Static constants:RegionNames.WorkspaceRegion}">

                            <telerik:RadDocumentPane Title="Основная" CanUserClose="False" CanFloat="False"/>

                        </telerik:RadPaneGroup>

                    </telerik:RadSplitContainer>

                </telerik:RadDocking.DocumentHost>

                <telerik:RadSplitContainer InitialPosition="DockedRight" telerik:DockingPanel.InitialSize="200,200">

                    <telerik:RadPaneGroup>

                        <telerik:RadPane Header="Настройки" CanDockInDocumentHost="False" CanUserClose="False">

                        </telerik:RadPane>

                    </telerik:RadPaneGroup>

                </telerik:RadSplitContainer>

            </telerik:RadDocking>

I need to disable RadDocumentPane docking in other groups (only in Document host as in Visual Studio for example). How can I do it?

Thanks.


UPDATE. Sorry I just find answer and understand how it works.

Anton
Top achievements
Rank 1
 asked on 21 Jan 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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?