Telerik Forums
UI for WPF Forum
1 answer
106 views
Hello,
We have an application with multiple RadPanes open at the same time, where the user can save data in their active pane/view with a ribbon level save button/command.  Due to this structure it is sometimes hard for the user's to visually see which pane is being saved other than knowing it is the active pane.

I wanted to know if there is a way to animate or change the color of a RadPane temporarily while an action is occuring, e.g. change the color to yellow while a save operation is occuring, green if it is successful, and red if the operation fails...but only for a few moments to indicate to them that that specific pane saved.

Is there some kind of behavior we could attach to for this?
Miroslav Nedyalkov
Telerik team
 answered on 22 Nov 2010
1 answer
168 views

Can I put two text boxes in each column header.

I need to have a row below the name to display the units for each column.

If so how to do it programatically.

Veselin Vasilev
Telerik team
 answered on 22 Nov 2010
1 answer
156 views
i have a sample code which has a observable collection of items. if i enter qty/rate , total field should display qty * rate. but i can't get it. item collection is updated but not shown in the gridview. give suggestion to show the updated total field in radgridview when qty/rate changes. here is the code

namespace RadGridViewWPF
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            ObservableCollection<Item> items = new ObservableCollection<Item>();
            for (int i = 0; i < 10; i++)
            {
                items.Add(new Item() { ID = 1, ItemName = "Item" + i, Qty = 1, Rate = 12});
            }
 
            this.RadGridView1.ItemsSource = items;
        }
    }
 
    public class Item
    {
        private int _ID;
 
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        private string _ItemName;
 
        public string ItemName
        {
            get { return _ItemName; }
            set { _ItemName = value; }
        }
        private decimal _Rate;
 
        public decimal Rate
        {
            get { return _Rate; }
            set { _Rate = value; }
        }
        private int _Qty;
 
        public int Qty
        {
            get { return _Qty; }
            set { _Qty = value; }
        }
        private decimal _Total;
 
        public decimal Total
        {
            get { return _Qty * _Rate; }
            set { _Total = value; }
        }
         
         
    }
}
Vlad
Telerik team
 answered on 22 Nov 2010
7 answers
282 views
I can't get my RadComboBox to filter. I have  IsEditable="True"  IsReadOnly="False" IsFilteringEnabled="True" TextSearchMode="Contains" VirtualizingStackPanel.IsVirtualizing="False" . So why won't it filter? Do I need something else?
IsEditable="True"  IsReadOnly="False" IsFilteringEnabled="True" TextSearchMode="Contains"
                                  VirtualizingStackPanel.IsVirtualizing="False" 


IsEditable="True"  IsReadOnly="False" IsFilteringEnabled="True" TextSearchMode="Contains"
                                  VirtualizingStackPanel.IsVirtualizing="False" 
IsEditable="True"  IsReadOnly="False" IsFilteringEnabled="True" TextSearchMode="Contains"
                                  VirtualizingStackPanel.IsVirtualizing="False" 
 IsEditable="True"  IsReadOnly="False" IsFilteringEnabled="True" TextSearchMode="Contains"
                                  VirtualizingStackPanel.IsVirtualizing="False" 
 IsEditable="True"  IsReadOnly="False" IsFilteringEnabled="True" TextSearchMode="Contains"
                                  VirtualizingStackPanel.IsVirtualizing="False" 
 IsEditable="True"  IsReadOnly="False" IsFilteringEnabled="True" TextSearchMode="Contains"
                                  VirtualizingStackPanel.IsVirtualizing="False" 
David
Top achievements
Rank 1
 answered on 20 Nov 2010
1 answer
152 views
I have a grid with a column whose CellTemplate is being set dynamically on each row via the CellTemplateSelector property of the column.  The cell will either be a checkbox, textbox, combobox, or datepicker.  The controls are showing correctly, and they are binding correctly.  However, when I tab into a cell in this column, I have to tab twice to actually be able to modify the data.  The first tab puts the cursor into the correct cell but not into the embedded control.  The second tab puts the cursor into the control.  Is there a way around this?

Also, is there a simple way to get the cell to respond to the Enter key after editing data in one of these controls (specifically the text box) rather than having to tab or click out of the cell?  I'm sure I could probably handle KeyUp or KeyDown events to make it work, but I was looking for a way to handle it within the XAML.

Thanks,
Ben
Veselin Vasilev
Telerik team
 answered on 19 Nov 2010
6 answers
154 views
I have a DynamicLayer and my own implementation of IMapDynamicSource

I have implemented ItemsRequest, and it returns the MapPinPoints from an Observable collection.  However, if I alter the Observable collection, then how can I make the DynamicLayer call the ItemsRequest again to see if any of the new points are now visible?
Simon
Top achievements
Rank 1
 answered on 19 Nov 2010
1 answer
128 views
Hi,
I have a data object class with System.ComponentModel.DisplayNameAttribute attribute.
When setting grid's ItemsSource with a collection of this data object, I see that the overriden DisplayName property getter is called by the grid, even though I set the Header property of each column hard-coded, and AutoGenerateColumns on the grid is set to false.

Is there a way to disable the grid's usage of this attribute without removing it from the data object?

Thanks,
Regards,
David.
Rossen Hristov
Telerik team
 answered on 19 Nov 2010
2 answers
115 views
Hi,

I have defined a dynamic layer, and I am trying to deliver up RadCharts.  As per your examples, I set the MapLayer Location Property on the RadChart.

If I add the charts directly to an InformationLayer, then they work
If I add them on the dynamic layer I get the following exception

Specified index is out of range or child at index is null. Do not call this method if VisualChildrenCount returns zero, indicating that the Visual has no children.\r\nParameter name: index\r\nActual value was 0.

   at System.Windows.FrameworkElement.GetVisualChild(Int32 index)\r\n   at System.Windows.Media.Visual.InternalGet2DOr3DVisualChild(Int32 index)\r\n   at System.Windows.Media.VisualTreeHelper.GetChild(DependencyObject reference, Int32 childIndex)\r\n   at Telerik.Windows.Controls.RadChart.PopulateLogicalChildren()\r\n   at Telerik.Windows.Controls.RadChart.OnApplyTemplate()\r\n   at Telerik.Windows.Controls.Map.DynamicLayer.MapSquares.CheckVisibility()\r\n   at Telerik.Windows.Controls.Map.DynamicLayer.RequestSlices(Int32 matrixIndex)\r\n   at Telerik.Windows.Controls.Map.DynamicLayer.ProcessRequests()

Is there something that I am not doing properly.

Thanks
Simon
Simon
Top achievements
Rank 1
 answered on 19 Nov 2010
3 answers
134 views
Hi,

I have turned off Spring Animations so that when I pan or zoom the map, the shapes in the information layers do not lag behind the tiles.

This works fine, apart from when zooming in and out the shapes are drawn in slightly the wrong place.  I then need to pan the map slighly in order to get the shapes back in the correct position

If I turn on Spring Animations again, I get the time lag, but they are always in the correct position

You can see what I mean from my screen shot
Simon
Top achievements
Rank 1
 answered on 19 Nov 2010
9 answers
367 views
Hi,

I'm new to the telerik wpf controls and I want to know if there is a way to make use of the RadToolBarTray and use it in place of the standard notifier control? Does telerik have anything that improves upon the  WinForms.NotifyIcon or the context menu for that control? I didn't see any previous samples or forum posts related to the tray icon.

Thanks,
Scott
Nikolay
Telerik team
 answered on 19 Nov 2010
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?