Telerik Forums
UI for WPF Forum
3 answers
113 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
297 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
164 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
145 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
166 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
157 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
99 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
261 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
1 answer
192 views
Hi,

I am looking to implement a three level hierarchy whereby the child grids are determined on the run time. For example if we select an option from a combo box present on the parent grid, it will create a child grid. Similarly we could repeat the same scenario for the child grid as well. I am looking into doing this by creating hierarchical templates for both the parent and the child:

<telerik:RadGridView x:Name="rgvData" CanUserFreezeColumns="False" GridLinesVisibility="Horizontal" ItemsSource="" IsReadOnly="True" AutoGenerateColumns="False">
            <telerik:RadGridView.ChildTableDefinitions>
                <telerik:GridViewTableDefinition />
            </telerik:RadGridView.ChildTableDefinitions>
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding OrderDate}" Header="Order Date" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding EmployeeID}" Header="Employee" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Freight}" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ShipCountry}" Header="Ship Country" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ShipCity}" Header="Ship City" />
            </telerik:RadGridView.Columns>
            <telerik:RadGridView.HierarchyChildTemplate>
                <DataTemplate>
                    <telerik:RadGridView x:Name="RadGridView1" CanUserFreezeColumns="False" AutoGenerateColumns="False" ShowGroupPanel="False" IsReadOnly="True">
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding CustomerID}" Header="Customer ID" />
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding Address}" Header="Address" />
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding City}" Header="City" />
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding Country}" Header="Country" />
                        </telerik:RadGridView.Columns>
                    </telerik:RadGridView>
                </DataTemplate>
            </telerik:RadGridView.HierarchyChildTemplate>
        </telerik:RadGridView>
// The Child will host another template that will define it's own child.

What would be the best way to tackle this scenario. Should I just go by creating the grids through code behind? I would like to stick to xaml. Any pointers would help me decide !

Thanks,
Farhan
Ivan Ivanov
Telerik team
 answered on 14 Mar 2011
3 answers
447 views
Hi,

I need to detect when the ActivePane has changed.  And i also need to know how to get the current active pane.  It is important for my project.

Thank you.
Kais
Top achievements
Rank 1
 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
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
InlineAIAssistant
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?