Telerik Forums
UI for WPF Forum
1 answer
177 views
Was working with some data and I noticed some bug when the YValue of a point is negative while the minimum of an axis is positive.

I made a demo to reproduce the bug

xaml:
<Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
         
        <telerik:RadChart ItemsSource="{Binding Points}" >
            <telerik:RadChart.DefaultView>
                <telerik:ChartDefaultView>
                    <telerik:ChartDefaultView.ChartLegend>
                        <telerik:ChartLegend Visibility="Collapsed"/>
                    </telerik:ChartDefaultView.ChartLegend>
                    <telerik:ChartDefaultView.ChartArea>
                        <telerik:ChartArea >
                            <telerik:ChartArea.AxisX>
                                <telerik:AxisX MinValue="{Binding MinX}" MaxValue="{Binding MaxX}" AutoRange="False" Step="{Binding StepX}" />
                            </telerik:ChartArea.AxisX>
                            <telerik:ChartArea.AxisY>
                                <telerik:AxisY MinValue="{Binding MinY}" MaxValue="{Binding MaxY}" AutoRange="False" Step="{Binding StepY}" StripLinesVisibility="Collapsed"/>
                            </telerik:ChartArea.AxisY>
                        </telerik:ChartArea>
                    </telerik:ChartDefaultView.ChartArea>
                </telerik:ChartDefaultView>
            </telerik:RadChart.DefaultView>
            <telerik:RadChart.SeriesMappings>
                <telerik:SeriesMapping LegendLabel="Line">
                    <telerik:SeriesMapping.SeriesDefinition>
                        <telerik:LineSeriesDefinition ShowItemLabels="False">
                            <telerik:LineSeriesDefinition.Appearance>
                                <telerik:SeriesAppearanceSettings>
                                    <telerik:SeriesAppearanceSettings.PointMark>
                                        <telerik:PointMarkAppearanceSettings Shape="Diamond" />
                                    </telerik:SeriesAppearanceSettings.PointMark>
                                </telerik:SeriesAppearanceSettings>
                            </telerik:LineSeriesDefinition.Appearance>
                        </telerik:LineSeriesDefinition>
                    </telerik:SeriesMapping.SeriesDefinition>
                    <telerik:SeriesMapping.ItemMappings>
                        <telerik:ItemMapping FieldName="Item1" DataPointMember="XValue"/>
                        <telerik:ItemMapping FieldName="Item2" DataPointMember="YValue"/>
                    </telerik:SeriesMapping.ItemMappings>
                </telerik:SeriesMapping>
                <telerik:SeriesMapping LegendLabel="Line">
                    <telerik:SeriesMapping.SeriesDefinition>
                        <telerik:LineSeriesDefinition ShowItemLabels="False">
                            <telerik:LineSeriesDefinition.Appearance>
                                <telerik:SeriesAppearanceSettings>
                                    <telerik:SeriesAppearanceSettings.PointMark>
                                        <telerik:PointMarkAppearanceSettings Shape="Diamond" />
                                    </telerik:SeriesAppearanceSettings.PointMark>
                                </telerik:SeriesAppearanceSettings>
                            </telerik:LineSeriesDefinition.Appearance>
                        </telerik:LineSeriesDefinition>
                    </telerik:SeriesMapping.SeriesDefinition>
                    <telerik:SeriesMapping.ItemMappings>
                        <telerik:ItemMapping FieldName="Item1" DataPointMember="XValue"/>
                        <telerik:ItemMapping FieldName="Item4" DataPointMember="YValue"/>
                    </telerik:SeriesMapping.ItemMappings>
                </telerik:SeriesMapping>
            </telerik:RadChart.SeriesMappings>
        </telerik:RadChart>
         
        <Slider Grid.Row="1" Value="{Binding MinY, Mode=TwoWay}" Minimum="-10" Maximum="10" SmallChange=".5" LargeChange="5"/>
    </Grid>

ViewModel:
public class ViewModel : INotifyPropertyChanged
    {
 
        private double _minY = -10;
        private double _maxY = 50;
        private double _stepY = 10;
 
        private double _minX = 0;
        private double _maxX = 50;
        private double _stepX = 10;
 
        public ViewModel()
        {
            MaxY = 50;
            StepY = 10;
            MinX = 0;
            MaxX = 50;
            StepX = 10;
 
            Points = new ObservableCollection<Tuple<double, double, double, double>>();
 
            Random r = new Random();
 
            Points.Add(Tuple.Create(.1, -8d, 1d, 5d));
 
            for (double i = 20; i < 50; i += 4)
            {
                Points.Add(Tuple.Create(i, i - 8, (i - 5) + (r.NextDouble() * 9 - 4.5), i - 25));
            }
        }
 
        public ObservableCollection<Tuple<double, double, double, double>> Points { get; private set; }
 
        public double MinX { get; private set; }
 
        public double MaxX { get; private set; }
 
        public double StepX { get; private set; }
 
        public double MinY
        {
            get
            {
                return _minY;
            }
            set
            {
                _minY = value;
                OnPropertyChanged("MinY");
            }
        }
 
        public double MaxY { get; private set; }
 
        public double StepY { get; private set; }
 
        protected void OnPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
            }
        }
 
        public event PropertyChangedEventHandler PropertyChanged;
    }



The slider bar changes the Minimum of the AxisY and as soon as the minimum hit 0, you can see that the line are now rendered as if the YValue of the point was 0.
Nikolay
Telerik team
 answered on 19 Mar 2012
1 answer
60 views
I posted the following in PITS, but I wanted to also post it here in hopes of finding an easy workaround or some sort of temporary solution to my problem.

If the first PanelBarItem has ever been expanded, selecting the second of the two identical children causes the first child to be selected instead. This is easily demonstrated with the following example:

       <telerik:RadPanelBar Height="200">
                <telerik:RadPanelBarItem Header="Parent A">
                    Child
                </telerik:RadPanelBarItem>
                <telerik:RadPanelBarItem Header="Parent B">
                    Child
                </telerik:RadPanelBarItem>
       </telerik:RadPanelBar>

This is just a simple example, but it happens independent of the number of RadPanelItems or children that exist; when the second of two identical children is selected the result will be that the first child is selected.

Any ideas?
Petar Mladenov
Telerik team
 answered on 19 Mar 2012
0 answers
412 views

while working with the Q3 11 controls, everything worked well with draging from the TreeView.

The current scenario is that we allow reordering of tree items, but we also allow dragging outside the tree.
When the dragged treeview item is being dragged over a specific control, we cancel the drag using:

 

Telerik.Windows.DragDrop.DragDropManager.AddQueryContinueDragHandler(solutionTree, solutionTree_QueryContinueDrag);

And then in the QueryContinueDrag do:

e.Action = DragAction.Cancel;

e.Handled = true;


And call (with a BeginInvoke) to a function on my classes that starts a DragDrop (using microsoft drag drop) with my own UI.


The exception happens after the drop.

All signs point to the fact that the exception comes from your code.


This is the stack stace:
   at MS.Win32.UnsafeNativeMethods.DoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
   at System.Windows.OleServicesContext.OleDoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
   at System.Windows.DragDrop.OleDoDragDrop(DependencyObject dragSource, DataObject dataObject, DragDropEffects allowedEffects)
   at System.Windows.DragDrop.DoDragDrop(DependencyObject dragSource, Object data, DragDropEffects allowedEffects)
   at Telerik.Windows.DragDrop.DragDropManager.DoDragDrop(DependencyObject dragSource, Object data, DragDropEffects allowedEffects, DragDropKeyStates initialKeyState, Object dragVisual, Point relativeStartPoint, Point dragVisualOffset)
   at Telerik.Windows.DragDrop.DragInitializer.StartDrag()
   at Telerik.Windows.DragDrop.DragInitializer.StartDragPrivate(UIElement sender)
   at Telerik.Windows.DragDrop.DragInitializer.DragSourcePreviewMouseMove(Object sender, MouseEventArgs e)
   at System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at Unitronics.Shell.UI.App.Main() in C:\Users\itais\Desktop\NG\NG Projects\Sources\Unitronics.Shell\Unitronics.Shell.UI\obj\Debug\App.g.cs:line 0
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()




A similar problem was reported here:http://www.telerik.com/community/forums/wpf/draganddrop/app-crash-when-dropping-into-wordpad.aspx


Please fix it, or suggest a fix ASAP.

Thanks.

 

 

 

 

 

 

 

 

itai
Top achievements
Rank 1
 asked on 18 Mar 2012
0 answers
123 views
Hello. I have som trouble with dynamic create DataTemplate.
FrameworkElementFactory column = new FrameworkElementFactory(typeof(GridViewDataColumn));
and i need set DataMemberBiding on this column,
so usually I use somthing like this
column.SetValue(Telerik.Windows.Controls.GridViewDataColumn.DataMemberBidingProperty, object myObject);
but I can't found DataMemberBidingProperty. 
What can I use instead?
Anton
Top achievements
Rank 1
 asked on 17 Mar 2012
0 answers
95 views
Dear Telerik Team Member
Hiii can anyone help me i have very common issue.I m making hospital managment software and i want to keep track of appointents in sql 2008 using linq which are made on rad-schedulerview..one more issue i want to make customs appointment window like it have one combobox which get data from database,on selecting value from combobox i retrive other value on text box then show that information on 
rad-schedulerview's appointment panel i mean on that small note which will place on timeline

Thanks In Advance
Kaustubh
Kaustubh
Top achievements
Rank 1
 asked on 16 Mar 2012
14 answers
701 views
We have implemented the WPF expander. however on first click on the closed expander, nothing occurs. User has to click twice for expander to function. Subsequent to that, exoander works fine. Any suggestions?
recotech
Top achievements
Rank 1
 answered on 16 Mar 2012
1 answer
234 views
I have a treeview with tri-state mode enabled bound to a hierachical data source. When I check some children of a node (but not all), a red adorner border surrounds the whole RadTreeViewItem. A screenshot is attached.

How do I disable this border?

RadTreeView XAML:

<telerik:RadTreeView
            telerik:AnimationManager.IsAnimationEnabled="False"
            Grid.Row="0"
            ItemsSource="{Binding ElementName=ElementRoot, Path=RoleList}"
            SelectedItem="{Binding ElementName=ElementRoot, Path=SelectedRole, Mode=TwoWay}"
            ItemContainerStyle="{StaticResource ApplicationTreeViewStyle}"
            IsOptionElementsEnabled="True"
            ItemsOptionListType="CheckList"
            IsTriStateMode="True"
            DropExpandDelay="00:00:00"
            ScrollViewer.HorizontalScrollBarVisibility="Auto"
            ScrollViewer.VerticalScrollBarVisibility="Auto" />

HierarchicalDataTemplate:

<HierarchicalDataTemplate
    DataType="{x:Type Models:Role}"
    ItemsSource="{Binding Children}">
    <TextBlock
        Text="{Binding DisplayName}" />
</HierarchicalDataTemplate>

RadTreeViewItemStyle:

<Style x:Key="ApplicationTreeViewStyle" TargetType="{x:Type telerik:RadTreeViewItem}">
    <Setter
        Property="IsSelected"
        Value="{Binding Path=Selected, Mode=TwoWay}"/>
    <Setter
        Property="CheckState"
        Value="{Binding Path=Checked, Mode=TwoWay, Converter={StaticResource Bool2ToggleConverter}}"/>
    <Setter
        Property="IsExpanded"
        Value="{Binding Path=Expanded, Mode=TwoWay}" />
</Style>


Thank you,

James
Petar Mladenov
Telerik team
 answered on 16 Mar 2012
6 answers
1.3K+ views
Hi,

in my project I have a RadGridView with all features enable: Sorting, Grouping, etc...

In my grid, I have a GridViewSelectColumn to let my users to select all the rows they want. With this kind of column, I think, the logical pattern was respected by having a checkbox in the header to select/unselect all the rows in the grid. I'm trying to get an answer why this kind of column is missing when you grouping data. What should I do if I group a set of data by date and for a specific date I want to select all the subset items (more than 500 items)???

I'm trying to implement something but I don't know how to acheive it. Actually, I have a problem with the interaction of the groupcheckbox and the rest of the grid. I need to have my groupcheckbox to react the same has the header one, I mean, if I click a on of my groupcheckbox, I need to select all teh group subset and of course, if that mean that all data in the grid is selected after my click, of course the header checkbox should become check. Of course, my groupcheckbox should react to the fact that not all subset data was selected or not by becoming check or not. If the master header checkbox in the header should check all my groupcheckbox and so on...

Please help me, I know I'm not for from the solution ;)

Window1.xaml
------------------
<Window x:Class="RadControlsWpfApp6.Window1"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"               
        xmlns:alain="clr-namespace:RadControlsWpfApp6"
  Title="Window1" Height="300" Width="300" WindowState="Maximized" Name="Me">
  <Grid>
        <telerik:RadGridView x:Name="grid" AutoGenerateColumns="False" IsReadOnly="True" RowIndicatorVisibility="Collapsed" SelectionMode="Multiple" PreviewMouseLeftButtonUp="grid_PreviewMouseLeftButtonUp" SelectionChanged="grid_SelectionChanged">
            <telerik:RadGridView.GroupHeaderTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal" >
                        <alain:GridViewGroupCheckBox x:Name="GroupCheckBox"/>
                        <TextBlock Margin="5 0" Text="{Binding Group.Key}" />
                    </StackPanel>
                </DataTemplate>
            </telerik:RadGridView.GroupHeaderTemplate>
            <telerik:RadGridView.Columns>
                <telerik:GridViewSelectColumn />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=LastName}" Header="LastName" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=FirstName}" Header="FirstName" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>


Window1.xaml.cs
---------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

using Telerik.Windows.Controls;
using Telerik.Windows.Controls.GridView;
using Telerik.Windows.Data; 

namespace RadControlsWpfApp6
{
    /// <summary>
    /// Interaction logic for Window1.xaml
    /// </summary>
    public partial class Window1 : Window
    {
        public Window1()
        {
            InitializeComponent();
           
            AllPersons = new List<Person>();

            AllPersons.Add(new Person() { LastName = "Test2", FirstName = "Test1" });
            AllPersons.Add(new Person() { LastName = "Test1", FirstName = "Test2" });
            AllPersons.Add(new Person() { LastName = "Test2", FirstName = "Test1" });

            grid.ItemsSource = AllPersons;
        }

        public List<Person> AllPersons { get; set; }

        private void grid_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            var senderElement = (FrameworkElement)e.OriginalSource;
            var clickedCell = senderElement.ParentOfType<GridViewHeaderCell>();

            if (clickedCell != null)
            {
                CheckBox chkHeader = clickedCell.Column.Header as CheckBox;
                if (chkHeader != null)
                {
                    IEnumerable<GridViewGroupRow> grpRows = grid.ChildrenOfType<GridViewGroupRow>();
                    GridViewGroupCheckBox.CheckUncheckItems(true, !(bool)chkHeader.IsChecked, grpRows);
                }
            }
        }

        private void grid_SelectionChanged(object sender, SelectionChangeEventArgs e)
        {
            GridViewItemContainerGenerator container = this.grid.ItemContainerGenerator;
                       
            foreach (var oneItem in e.AddedItems)
            {                               
                object obj = container.ContainerFromItem(oneItem);               
            }

            foreach (var oneItem in e.RemovedItems)
            {
            }
        }
    }

    public class Person
    {
        public string LastName { get; set; }
        public string FirstName { get; set; }
    }
}



GridViewGroupCheckBox.xaml
--------------------------------------
<UserControl x:Class="RadControlsWpfApp6.GridViewGroupCheckBox"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="Auto" Width="Auto">
    <Grid>
        <CheckBox x:Name="cbGroup" Click="cbGroup_Click" />
    </Grid>
</UserControl>


GridViewGroupCheckBox.xaml.cs
------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

using Telerik.Windows.Controls;
using Telerik.Windows.Controls.GridView;
using Telerik.Windows.Data;

namespace RadControlsWpfApp6
{
    /// <summary>
    /// Interaction logic for GridViewGroupCheckBox.xaml
    /// </summary>
    public partial class GridViewGroupCheckBox : UserControl
    {
        #region Constructors.
        /// <summary>
        /// Costructor.
        /// </summary>
        public GridViewGroupCheckBox()
        {
            InitializeComponent();
            mIsChecked = false;
        }
        #endregion

        #region Public properties.
        public bool IsChecked
        {
            get
            {
                return mIsChecked;
            }
            set
            {
                if (mIsChecked != value)
                {
                    mIsChecked = value;
                    cbGroup.IsChecked = mIsChecked;
                }
            }
        }

        public GridViewGroupRow GroupRow
        {
            get
            {
                return cbGroup.ParentOfType<GridViewGroupRow>();
            }
        }
        #endregion.

        #region Private event handlers.
        /// <summary>
        /// CheckBox click triggered.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>       
        private void cbGroup_Click(object sender, RoutedEventArgs e)
        {
            mIsChecked = (bool)(sender as CheckBox).IsChecked;
            applyChangesOnGrid(sender as CheckBox);
        }
        #endregion

        #region Private medthods.
        /// <summary>
        /// Apply changes
        /// </summary>
        /// <param name="pCheckBox"></param>
        private void applyChangesOnGrid(CheckBox pCheckBox)
        {
            CheckUncheckItems(false, (bool)pCheckBox.IsChecked, this.GroupRow);

            IEnumerable<GridViewGroupRow> groupsChildRows = this.GroupRow.ChildrenOfType<GridViewGroupRow>();
            CheckUncheckItems(false, (bool)pCheckBox.IsChecked, groupsChildRows);
        }

        /// <summary>
        /// Select/unselect all items in a group.
        /// </summary>
        /// <param name="pCheck">TRUE to select or FALSE to unselect.</param>
        /// <param name="pGroupRows">Group of rows.</param>
        static public void CheckUncheckItems(bool pIsInAllSelectionMode, bool pCheck, GridViewGroupRow pGroupRows)
        {
            if (!pIsInAllSelectionMode)
            {
                var theGrid = pGroupRows.ParentOfType<GridViewDataControl>();
                IEnumerable<CheckBox> allCheckBox = pGroupRows.ChildrenOfType<CheckBox>();

                if (allCheckBox != null)
                {
                    foreach (CheckBox oneCheckBox in allCheckBox)
                    {
                        oneCheckBox.IsChecked = pCheck;
                    }
                }

                if (theGrid != null)
                {
                    foreach (var item in pGroupRows.Items)
                    {
                        if (pCheck)
                        {
                            theGrid.SelectedItems.Add(item);
                        }
                        else
                        {
                            theGrid.SelectedItems.Remove(item);
                        }
                    }
                }
            }
        }

        /// <summary>
        /// For each sub group rows, select/unselect all items in a group.
        /// </summary>       
        /// <param name="pCheck">TRUE to select or FALSE to unselect.</param>
        /// <param name="pGroupsRows">List of groups rows.</param>
        static public void CheckUncheckItems(bool pIsInAllSelectionMode, bool pCheck, IEnumerable<GridViewGroupRow> pGroupsRows)
        {
            foreach (GridViewGroupRow oneGroupRow in pGroupsRows)
            {
                CheckUncheckItems(pIsInAllSelectionMode, pCheck, oneGroupRow);
            }
        }
        #endregion

        #region Private declarations.
        private bool mIsChecked;
        #endregion
    }
}




Thank's
Oliver
Top achievements
Rank 1
 answered on 16 Mar 2012
2 answers
53 views

Hello,
I have a problem with the title of the views. In my case I have 5 views:
1 - dayview
2 - WeekView
3 - WorkWeekView
4 - MonthView
5 - TimeLineView
I noticed that when I switch to workWeekView, I get the title of dayview.
I could tell how to fix this?

Thanks!

Georgi
Telerik team
 answered on 16 Mar 2012
1 answer
155 views
Hello,

i try to set the MaxWidth of a RadNumericUpDown to a Value of 20, but the ActualWidth is allways 60. Is this a bug or am I doing something wrong?

<telerik:RadNumericUpDown Name="numeric" MaxWidth="20" ShowButtons="False" ></telerik:RadNumericUpDown>


Georgi
Telerik team
 answered on 16 Mar 2012
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)
WatermarkTextBox
DesktopAlert
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
Security
VirtualKeyboard
HighlightTextBlock
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?