Telerik Forums
UI for WPF Forum
2 answers
266 views
I have a gridview that is built from a collection of records. I set the datatype of each column, and I can confirm that the datatype is correct in the gridview itself (by checking in debug). That being said, when I sort on certain numeric type columns - the grid is treating it as a string. Am I missing some kind of property? Here is my code. 

var columns = mainViewModel.Records.First()
                .Properties
                .Select((x, i) => new { Name = x.Name, DataType = x.DataType, Index = i })
                .ToArray();
 
 
            foreach (var column in columns)
            {
                var binding = new Binding(string.Format("Properties[{0}].Value", column.Index));
 
                GridViewDataColumn col = new GridViewDataColumn();
                 
                col.UniqueName = column.Name;
                col.Header = column.Name;
                col.DataMemberBinding = binding;                                   
                col.DataType = column.DataType;               
                col.IsSortable = true;               
 
                fleetGrid.Columns.Add(col);
            }
Michael
Top achievements
Rank 1
 answered on 17 Jun 2013
1 answer
136 views
When using RadComboBox with itemsource group,How it is possible to remove the empty group header when user filter across the list

Thanks
Vladi
Telerik team
 answered on 17 Jun 2013
1 answer
189 views
Does RadRichText supports Visio?
-inserting visio object
-able to modify  the inserted visio object inside the richtext editor / when clicked, opens a visio application, when save the inserted visio object int the richtext is updated.
-can save to docx with the visio object still inserted. docx can be opened to msword sucessfully.
-can export to pdf, visio object can be displayed as image maybe.
Boby
Telerik team
 answered on 17 Jun 2013
8 answers
621 views
Hi all,

I'm very excited to see the new Metro UI theme released with the latest Telerik controls. I need to change the color from the blue that shows up on selection and cannot find a way to customize the them for Metro UI in my WPF app. I have worked with custom themes in Silverlight without any problem, however, haven't had any luck in WPF following the tutorial at http://www.telerik.com/help/silverlight/common-styling-apperance-themes-custom-theme-project-telerik-approach.html .

The WPF link is currently broken:
http://www.telerik.com/help/wpf/common-styling-apperance-themes-custom-theme-project-telerik-approach.html

I need to replace the blue with an orange on all the Metro themed RadControls I use; specifically, changing the color of the ToggleButtonBackgroundChecked border.

I found this excerpt from the link http://blogs.telerik.com/blogs/posts/11-06-22/metro-ui-for-radcontrols-for-silverlight-and-wpf.aspx :
    - The theme also utilizes a brand new approach for theming – palettes.  It will allow both easy changing the accented colors as well as overall easy, real-time customization

Thanks in advance for you help!

Evan
Yana
Telerik team
 answered on 17 Jun 2013
3 answers
202 views
If I zoom in to the chart I end up with multiple X-Axis ticks with duplicate values.

I have stepped through the LinearAxisModel code using Reflector and found that in the GenerateTicks method it has a ZoomWidth of ~50.0 and a MajorStep of 20.0.
Which over a range of min = 0, Max = 140 ends up with it generating far too many ticks for the data range.

Is there a way to control the number of ticks that are generated so that only one tick per distinct data value are displayed?

Thanks
Rosko
Telerik team
 answered on 17 Jun 2013
0 answers
84 views
Good day, with a reference of telerik in my project which I send along the Setup.exe to my client? . dll or something.
graciously
André
Andre
Top achievements
Rank 1
 asked on 17 Jun 2013
7 answers
228 views
Hi Telerik,

I am using ScaterLIneSeriers because our axes (x&Y) are linear axies. We add multiple ScatterLineSeries dynamically using code. We see following list of issues.
1. There is no option to sort the axis data automatically.
2. We thought if we sort them and add it it will work fine. But it does not cover all the cases because our series are sparsed.  When there is sparsed data and some data does not overlap and the sequence are not done automatically the graph looks very ugly.
3. So, We tried the workaround of creating dummy series with all the points and add that as first series and set their visibility to false and it did not help that much because the rendering of series is not same as the ordering of adding the series.
4.  The ScaterLine series does no render same as excel when the data is not sorted and the data has both positive and negative  values.

We need to know how to solve this issues.  Is there any patches available.

Thanks
Mohan.
Evgenia
Telerik team
 answered on 17 Jun 2013
1 answer
136 views
Hi,
         I am facing issue while working with Localization, my scenario is as follows:
=> I am having Rad DataGrid and we are binding the columns dynamically, while binding I am handling the localization in code behind from the resx file.
The scenario in which  I am facing issue is for certain columns I need to change color  of some rows depending on certain condition. To achieve this  I hardcode the column name and it was working fine by using a converter. But as I can't hardcode the column name I need to use localization and get the results which I am not able to achieve. here is the sample code how we I approached it when I hardcoded

<telerik:RadGridView.RowStyle>
                                       <Style TargetType="telerik:GridViewRow">
                                           <Setter Property="Background" Value="{Binding Status,Converter={StaticResource rowcolorConveter}}"></Setter>
                                           <Setter Property="Background" >
                                               <Setter.Value>
                                                   <MultiBinding Converter="{StaticResource ABCConveter}">
                                                       <Binding Path="abc"/>//Hardcode Column Name
                                                       <Binding Path="DataContext.SelectedView" RelativeSource="{RelativeSource AncestorType={x:Type UserControl}}"/>
                                                   </MultiBinding>
                                               </Setter.Value>
                                           </Setter>
                                           
                                       </Style>
                                   </telerik:RadGridView.RowStyle>


If u observe I hardcode the "abc" value while binding.I want to pull this hardcode colum name from from resx file and get the value of the column.



Maya
Telerik team
 answered on 17 Jun 2013
1 answer
145 views
Hello,

Started from how-to-bind-custom-observablecollection-to-radribbonsplitbutton, now I want to add a sub menu item.

I could still use a RadMenuItem-based object for the sub menu item? I will also know what the parent menu item should be.

However, I don't know which elements, properties, etc, to add the sub menu item to?

Thank you...

Regards,

Michael Powell
Travis
Top achievements
Rank 1
 answered on 16 Jun 2013
2 answers
170 views
Hello,

I've got a custom ObservableCollection I want to bind to using RadRibbonSplitButton.

Is there a simple example how to bind a collection to a RadRibbonSplitButton (or RadSplitButton?) DropDown data context?

Thanks!

Regards,

Michael Powell
Travis
Top achievements
Rank 1
 answered on 16 Jun 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
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
VirtualKeyboard
HighlightTextBlock
Security
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?