Telerik Forums
UI for WPF Forum
1 answer
99 views
I've been playing with a bunch of different charting engines trying to find wich one is right for our project.

Doing a binding like this:

<telerik:AxisY
AutoRange="False"
MinValue="{Binding Path=AxisProp.YMin}" 
MaxValue="{Binding Path=AxisProp.YMax}" 
Step="{Binding Path=AxisProp.YTick}"    />

Seems to work, but for some reason it doesn't seem to work.

Looking at the debug information in the output window I see entries like this:
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=AxisProp.YMin; DataItem=null; target element is 'AxisY' (HashCode=65127578); target property is 'MinValue' (type 'Double')

Any idea why this is failing?
Vladimir Milev
Telerik team
 answered on 15 Mar 2011
2 answers
111 views
Hi

In my application, I have created a custom template that can display ID - Name pairs in one cell. The problem is, that I cannot use filtering in this case.

I have specified DataMemberBinding for the column, but instead of binding directly to a property, I use a converter on the Binding to retrieve the value from the data object (converter gets the id and the name and puts them in a string). The converter works well in Excel export, however filtering options is still missing in the GUI.

Binding bnd0 = new Binding(".");
            bnd0.Converter = new IDValueColumnToStringConverter();
            bnd0.Mode = BindingMode.OneWay;
...
return new GridViewDataColumn() {... DataMemberBinding=bnd0 };

Filtering icon is not displayed at all. Is there any workaround on this issue? Can I write custom filtering methods, but use the design of Telerik filtering dialogs?

Thanks for the help in advance,
                                                     G. M.
Gergely
Top achievements
Rank 1
 answered on 15 Mar 2011
3 answers
108 views

Questions:

1) does virtulisation works if we have dynamic editable columns in the treelistview?
2) will this control can handle 70 columns with around 30k rows and 8 levels worth of data?

Please help us with some performance guidance.

Thanks,
suman
Top achievements
Rank 1
 answered on 14 Mar 2011
3 answers
281 views
Hi,
We need a French version of the ScheduleView, so we translated what was not yet translated in the Strings.fr.resx file. Then, we implemented what's suggested in http://www.telerik.com/help/wpf/radscheduleview-localization.html using the resource manager technique. The documentation says to do the following:
LocalizationManager.Manager = new LocalizationManager()
{
  ResourceManager = ScheduleViewResources.ResourceManager
};
but the ScheduleView was still showing in English. When I did the following:
LocalizationManager.DefaultResourceManager = ScheduleViewResources.ResourceManager;
it all started to work perfectly. That was tested in the most simple sample application.

Is it a bug in the documentation, is there something we're missing?
Thanks,

Francis
p.s. It would be nice if a fully French version of the Telerik's controls would be available as part of the package.
Yana
Telerik team
 answered on 14 Mar 2011
5 answers
155 views
Hi,

I need to place content on the datapager buttons like on next button, i need to display content "Next" , same for Previous, Last and First.

Please help on this how we can customize telerik datapager to achive this look.

Please find attched file to see required UI.

Rahul
Top achievements
Rank 1
 answered on 14 Mar 2011
1 answer
135 views
I'm new on RadMap.
How to change language for Bing Map ?

I found on silverlight control
http://www.microsoft.com/maps/isdk/silverlight/#MapControlInteractiveSdk.Tutorials.ShowMap.ShowMapWithCulture
Andrey
Telerik team
 answered on 14 Mar 2011
1 answer
152 views
When we should make our own navigationbuttons, then what kind of command could we write in the on-click-event?

private void GoEastClick(object sender, RoutedEventArgs e)
{
    RadMap1.....?
}
Andrey
Telerik team
 answered on 14 Mar 2011
1 answer
141 views

Hi

Iam Using RadPanelbar Control  Which is Mouseleftdown event not work



Regards
S.SenthilNathan
Petar Mladenov
Telerik team
 answered on 14 Mar 2011
2 answers
89 views
I've tried creating an style but it's not working:

<Style TargetType="{x:Type telerik:RadDatePicker}">
    <Setter Property="DateTimeWatermarkContent" Value="" />
</Style>

How can I create a style or make it easy so that I don't have to explicitly for each raddatepicker?

Thanks in advance.
Sergi
Top achievements
Rank 1
 answered on 14 Mar 2011
7 answers
249 views
Hello,
I am running into the error: "The type 'DataRowView' does not contain a public property named 'UnitColumn'" error when trying to edit a cell in the radGridView cell.  I am dynamically creating a DataTable to bind to.  I have copied the xaml, along with the codebehind for a small sample that illustrates the issue. 
Thanks for your help!

Rob

 

 

<Window x:Class="GridSpike.TestWindow"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
        xmlns:local="clr-namespace:GridSpike"
        Title="ViewWindow" Height="400" Width="500">
    <Window.Resources>
        <local:TestViewModel x:Key="context" />
    </Window.Resources>
    <Grid DataContext="{StaticResource context}">
        <telerik:RadGridView 
                ItemsSource="{Binding GridDataView}"
                  
                Grid.Row="0"
                HorizontalAlignment="Stretch" 
                Margin="12,12,12,12" 
                VerticalAlignment="Top" 
                SelectionUnit="Cell" 
                x:Name="GridViewTest" 
                SelectionMode="Extended" FrozenColumnCount="1">
        </telerik:RadGridView>
    </Grid>
</Window>

 

 

 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Text;
  
namespace GridSpike
{
    public class TestViewModel : INotifyPropertyChanged
    {
        public TestViewModel()
        {
            LoadGridDataTable();
        }
  
        private DataView gridDataView;
        public DataView GridDataView
        {
            get
            {
                if (gridDataView == null)
                    gridDataView = new DataView(gridDataTable);
  
                return gridDataView;
            }
        }
  
        private DataTable gridDataTable;
        public DataTable GridDataTable
        {
            get { return gridDataTable; }
            private set
            {
                gridDataTable = value;
                OnPropertyChanged("GridDataTable");
            }
        }
  
  
        private void LoadGridDataTable()
        {
            DataRow row;
            DataTable table = new DataTable();
            table.Columns.Add("UnitColumn", typeof(string));
            table.Columns.Add("01-2011", typeof(decimal));
            table.Columns.Add("02-2011", typeof(decimal));
  
            //Add test data
            for (int i = 0; i < 25; i++)
            {
                row = table.NewRow();
                row[0] = "Row " + i.ToString();
                row[1] = i;
                row[2] = 1 + 1;
                table.Rows.Add(row);
            }
            gridDataTable = table;
        }
  
        #region PropertyChanged Impl
        public event PropertyChangedEventHandler PropertyChanged;
        private void OnPropertyChanged(string property)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(property));
            }
        }
        #endregion
    }
}

Hristo
Telerik team
 answered on 14 Mar 2011
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
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
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?