Telerik Forums
UI for WPF Forum
0 answers
93 views
Hello,

I have a Gridview that is bound to a Observable Collection which contains about 240 rows of data.  When I drag a column to the Grouped By header, it groups the records as intended in the group footer.  In my application, this Gridview is located in a Tab.  Now when I tab to another screen and come back to this Tab that contains my Gridview, the gridview is refreshed with data.  The problem I am experiencing is after the refresh, the amount of data in each group footer, there is now only one record in each group, though the bound collection still has it's 240 records.  Anyone have any ideas what I am doing wrong? or is this a possible bug I might not be aware of?

Thanks for any help,
Kiet
Kiet
Top achievements
Rank 1
 asked on 27 Oct 2011
4 answers
272 views
Hi,

We have a chart bind to List of custom object with 3 properties with 1000+, One is DateTime, other two are double values, there is a single line for each value so we have two lines for the given data. It is working fine and we don't have any problem except that chart shows line as there values weekly instead of daily values.

Next we need to show chart for data weekly, monthly and or quarterly as per user requirements. Is there any built in functionality to show chart as weekly or monthly while we have daily data.

Thanks
Peshito
Telerik team
 answered on 27 Oct 2011
5 answers
458 views
How do I get the GridView to unselect a row when selection mode is Single?  If not, is there a way to only allow a single row to be selected when selection mode is extended or multiple?
Maya
Telerik team
 answered on 27 Oct 2011
1 answer
103 views
Hello, I am using Telerik version 2011.2 in Visual Studio 2010 with sp1. My team is writing an mvvm complaint WPF application using C#.
We are using Telerik's RadGridView to display a large amount of data, and the data is being grouped.
One thing that is nice about the grid view is that the scroll bar does not include the tab headers, so they stay visible at all times.

What I want to do is have the group headers exhibit the same behavior, so once one scrolls to the top it stays locked right under the tab headers, until the next group header comes into it's level and replaces it.

To be honest, I don't know how to implement this, I was wondering if someone had better insight or any ideas.

Thank you.
Eli
Tsvyatko
Telerik team
 answered on 27 Oct 2011
4 answers
147 views

Hi there,

We are facing a strange problem in RadGridView. Upon adding a new row in GridView and input some data, application crashes after changing the focus to another row using Mouse. Whereas, if we press tab button to move focus on next column there is no crashing.

Specified argument was out of the range of valid values.
Parameter name: index

This problem occurs only on one solution whereas same usercontrol is working perfectly fine when exported to other solution having same Telerik references.

Please help us to resolve this problem. Thanks
Stack Trace is attached

Regards,
Rehan

Sajid
Top achievements
Rank 1
 answered on 27 Oct 2011
0 answers
144 views
Hi,
I want to get the checkbox and combobox controls within a RadGridView and want to modify a column in the same row. How it can be achieved?

Problem 1:
Want to save user name in a grid column within same row when I checked the checkbox value to true.
Problem 2:
Want to filter or rebind the combobox when a value is selected in another adjacent combobox as we have in Country and city relation.

Let me know if further explanation is required.

Thanks

Sajid
Top achievements
Rank 1
 asked on 27 Oct 2011
7 answers
287 views
Hi!

I am inserting new rows with the INSERT key. Once a row was inserted, it can be edited by the user.
I want to delete the newly inserted row, if the user cancels the edit mode with the ESC key. 

What is the easiest way to achieve this?

Thanks and regards,

Franziska
Franziska
Top achievements
Rank 1
 answered on 27 Oct 2011
1 answer
120 views
Dear telerik,
I am using radrichtext box. I am trying to set fontsize, font-family through style but it is not working.
<my:RadRichTextBox x:Name="txtChat">
    <my:RadRichTextBox.Resources>
        <Style TargetType="my:RadRichTextBox">
            <Setter Property="FontSize" Value="32"></Setter>
            <Setter Property="Height" Value="100"></Setter>
        </Style>
    </my:RadRichTextBox.Resources>
</my:RadRichTextBox>

Would you please tell me how can I set fontsize and font-family using style.

Regards
Animesh



Animesh Dey
Top achievements
Rank 2
 answered on 27 Oct 2011
4 answers
150 views
Hi,

I expect the SelectionEnd and SelectionStart values to stay within the bounds of the Maximum and Minimum but they don't.  I created a small sample app that demonstrates this behavior.

View:
<Grid>
    <StackPanel>        
        <StackPanel Orientation="Horizontal" Height="50">
            <Label Content="Upper Thumb" />
            <TextBox Width="300" Height="35" Text="{Binding Path=SelectionEnd}" />
        </StackPanel>
        <telerik:RadSlider Name="radSlider"
                           VerticalAlignment="top"
                           Width="25"
                           Height="200"
                           Margin="0 10 5 0"
                           IsSelectionRangeEnabled="True"
                           TickPlacement="None"
                           Minimum="0.0"
                           Maximum="1.0"
                           Orientation="Vertical"
                           SelectionStart="{Binding Path=SelectionStart, Mode=TwoWay, FallbackValue=0.25}"
                           SelectionEnd="{Binding Path=SelectionEnd, Mode=TwoWay, FallbackValue=0.5}"
                           LargeChange="0.05"
                           SmallChange="0.05" />
        <StackPanel Orientation="Horizontal" Height="50">
            <Label Content="Lower Thumb" />
            <TextBox Width="300"  Height="35" Text="{Binding Path=SelectionStart}" />
        </StackPanel>
    </StackPanel>
</Grid>

Code behind:
public partial class MainWindow : Window
{
    public MainWindow()
    {
        InitializeComponent();
        var vm = new SliderViewModel();
        DataContext = vm;
    }
}

ViewModel:
public class SliderViewModel : INotifyPropertyChanged
{
    public SliderViewModel()
    {
        _selectionStart = 0.25;
        _selectionEnd = 0.5;
    }
    private double _selectionStart;
    public double SelectionStart
    {
        get
        {
            return _selectionStart;
        }
        set
        {
            if (_selectionStart != value)
            {
                _selectionStart = value;
                OnPropertyChanged("SelectionStart");
            }
        }
    }
    private double _selectionEnd;
    public double SelectionEnd
    {
        get
        {
            return _selectionEnd;
        }
        set
        {
            if (_selectionEnd != value)
            {
                _selectionEnd = value;
                OnPropertyChanged("SelectionEnd");
            }
        }
    }
    public event PropertyChangedEventHandler PropertyChanged;
    protected virtual void OnPropertyChanged(String propertyName)
    {
        var handler = PropertyChanged;
        if (handler != null)
        {
            handler(this, new PropertyChangedEventArgs(propertyName));
        }
    }
}

Am I missing a property on the slider that will prevent this behavior or do I have to catch it manually?

Thanks,
Josh
Petar Mladenov
Telerik team
 answered on 27 Oct 2011
1 answer
153 views
Hello

I seem to have found an issue with the ScrollIntoView method of the RadGridView. If we take a well populated grid so that it is necessary to scroll to reach the bottom, with the entries grouped in various groups.
When modifying an item at the bottom of the grid, when the grid refreshes, it scrolls to a point above the selected item, the height above where it should be seems to coincide exactly with the combined height of each of the grouping rows.

Thanks
Nedyalko Nikolov
Telerik team
 answered on 27 Oct 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
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?