Telerik Forums
UI for WPF Forum
2 answers
217 views
Currently I have 

 <telerik:GridViewDataColumn Header="{x:Static resources:Strings.XXXXXXXXXXXX}"
                                                IsFilterable="True"
                                                IsSortable="True"
                                                DataMemberBinding="{Binding Path=XXXXXXXXXXXXXXXX}"
                                                CellTemplate="{StaticResource XXXXXXXXXXXXX}" />

But I observe repeat values in the filter since the column contains repeat values.  How can I avoid this and make sure the filter contains only the unique values?  I am using MVVM.

Thanks
Gautam
Top achievements
Rank 1
 answered on 09 Feb 2012
5 answers
365 views
I wish to extend "Smooth scrolling". I have 9 charts in grid of 3x3. Want to have only one scroll-bar for all horizontal Axis. Attaching picture and comments. Let me know the best way to accomplish this.

 
Petar Marchev
Telerik team
 answered on 09 Feb 2012
4 answers
184 views
Hi,

Sometimes I get this issue when I scroll carousel items. See the attached image.

As you can see in the image, the correct order of items should be 1, 2, 3, 4, 5..
But somehow, 1 overlaps 2, and 5 overlaps 4.

Is there a fix for this?

Thanks,
Jog
Jog Rad
Top achievements
Rank 1
 answered on 09 Feb 2012
11 answers
606 views
How do I set the default, initial view for a PropertyGrid to display categorized/grouped instead of listed Alphabetically?

There is a property (SortAndGroupVisibility) for enabling the option to change this by the end user, but I see no means to directly set this in Xaml or code behind...


Pavel
Top achievements
Rank 1
 answered on 09 Feb 2012
3 answers
262 views
I've been tracking down a performance problem, and I have it trimmed down to a sample application.  For code I am using, see below.

Edit: This also repros in the "RadControls for WPF Q3 2011 SP1 Demos" package, using the "Scrolling 1 Billion Cells" example.

A) Scroll to the bottom of the RadGridView, so that the bottom-most row is in-view.
B) Attempt to resize the window.

At this point my entire OS hangs.  I am able to regain control of the OS by CTRL-ALT-DEL then cancelling.  At this point I can break the debugger and determine the code is within GridViewCellsPanel.MeasureCell (bottom of stack is GridViewDataControl.MeasureOverride).

I suspect the RadGridView is de-virtualizing when this happens, as the performance gets worse with more records.  While this is happening, I can watch in Task Manager that the CPU usage is pegging and the memory usage goes from about 50MB to about 600MB.

Any suggestions?  This will be a blocker since we do not experience this behavior in WPF's native DataGrid.

Thanks -
- Graeme

XAML:
<telerik:RadGridView ItemsSource="{Binding}" />

Sample class used:
public class Junk
{
    public int Prop0 { get; set; }
    public int Prop1 { get; set; }
    public int Prop2 { get; set; }
    public int Prop3 { get; set; }
    public int Prop4 { get; set; }
    public int Prop5 { get; set; }
    public int Prop6 { get; set; }
    public int Prop7 { get; set; }
    public int Prop8 { get; set; }
    public int Prop9 { get; set; }
    public int Prop10 { get; set; }
    public int Prop11 { get; set; }
}

Loaded Event Handler:
private void Window_Loaded(object sender, RoutedEventArgs e)
{
    Random random = new Random();
    List<Junk> list = new List<Junk>();
    for (int index = 0; index < 50000; ++index)
    {
        list.Add(new Junk()
        {
            Prop0 = random.Next(),
            Prop1 = random.Next(),
            Prop2 = random.Next(),
            Prop3 = random.Next(),
            Prop4 = random.Next(),
            Prop5 = random.Next(),
            Prop6 = random.Next(),
            Prop7 = random.Next(),
            Prop8 = random.Next(),
            Prop9 = random.Next(),
            Prop10 = random.Next(),
            Prop11 = random.Next(),
        });
    }
    DataContext = list;
}
Vlad
Telerik team
 answered on 09 Feb 2012
1 answer
261 views
As title says, is it possible to scroll the scheduleview horizontally and/or vertically from code-behind in WPF?

As you can probably appreciate the scrollbars provided by the scheduleview are a little too small for a touchscreen application I'm working on so I'd like the user to be able to navigate around a scheduleview some other way.

EDIT: I should note that it's important for the user to be able to scroll despite the fact that I'm using resources for grouping. Basically - to provide the functionality the scrollbars do at the moment.
Daniel
Top achievements
Rank 1
 answered on 09 Feb 2012
1 answer
142 views
Hello telerik,
I've got a Master Detail GridView that on the expand button shows the child element using a behaviour,
I wish when I click the export button to export all the columns the grid

My object is of this kind

public class DummyObj

  {

      public int ID { get; set; }

      public int Col1 { get; set; }

      public int Col2 { get; set; }

      public int Col3 { get; set; }

      public int Col4 { get; set; }

      public int Col5 { get; set; }

 

  }

  The master has ID and Col1 and the Hierarchical Col2,3,4,5 ... the viewmodel binds the whole item to the master,  when I export (for now) I got ID Col1... How can I access by codebehind to the HierarchicalChildDataTemplate and enumerate througth the columns?

Thanks
Dimitrina
Telerik team
 answered on 09 Feb 2012
4 answers
129 views
Is it possible to show a Tooltip for a data series only on the plotted points and not on the slope? I do not want the "closest" point's tooltip to be shown when the mouse hovers on the slope.
Evgenia
Telerik team
 answered on 09 Feb 2012
1 answer
182 views
I'm trying to replicate a "feature" of the Infragistics XamDataGrid so I can do a performance comparison between the two. 

When I open a window with an empty Infragistics grid, the grid shows up with the window, but the grid content (headers, etc.) show up later (i.e., loaded asynchronously). Is it possible to do the same with the Telerik grid? 
Vlad
Telerik team
 answered on 09 Feb 2012
5 answers
224 views
I downloaded a project from Telerik named WPFBindingNavigator to get bindingnavigator into my WPF project.  The downloaded project works when run, but the designer throws an "object reference not set to an instance of the object" error.  I am trying to replicate the functionality within my WPF application but cannot seem to get past this error during design time.

Following is a snippet of the error in the "Presentation" project (which references the WPFBindingNavigator, which is a class library):
 
xmlns:bn="clr-namespace:BindingNavigator;assembly=BindingNavigator"
The next code block raises the error mentioned above:
<bn:BindingNavigator Grid.Row="0" Margin="2" 
Background="Wheat"
x:Name="navigator"
ItemsSource="{Binding People}"
AddNewItemCommand="{Binding AddNewPersonCommand}"
DeleteItemCommand="{Binding DeletePersonCommand}"
SaveCommand="{Binding SaveCommand}"
/>

Any help will be appreciated.  Also, if there is a better way of creating the BindingNavigation functionality within WPF, please let me know.

Thanks in advance.
Ladislav
Top achievements
Rank 1
 answered on 08 Feb 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
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
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?