Telerik Forums
UI for WPF Forum
3 answers
91 views

Hi,

We've had issues with horizontal scrolling in our RadGridViews with the Q1 2011 version of the WPF package for .NET 3.5 (both the first one and SP 1).

In our grids that reside inside RadExpanders (if that matters) we have several columns which in lower resolutions requires scrolling horizontally. We bind them as GridViewDataColumns. In some we have DataTemplates, but in most we just do a normal bind using the DataMemberBinding.

Until you start scrolling everything looks fine like it did in Q3 2010 and earlier versions, but when scrolling horizontally by dragging the scrollbar with the mouse especially the smaller columns tend to grow and be very wide instead of keeping the preferred width according to the content of the columns.

So now for the second time we have to revert to Q3 2010 until this gets fixed.

Has something changed which require us to add something to the XAML to make them keep the preferred width or is this a bug that will be fixed in future versions?

Tsvyatko
Telerik team
 answered on 28 Apr 2011
1 answer
80 views
Hi,
I am using scattered point graph with zooming functionality. I found the following bug, when i zoom in and add new series mapping
 The Binary Operator GreaterOrEqualTo is not defined for the types System.Objects. and System.Double. The Graph starts showing No Data Series in the graph. Any Help?
Nikolay
Telerik team
 answered on 28 Apr 2011
1 answer
97 views
Hello!

On the chart the main series of candles. How to make the mouse cursor on the spot were two crossed lines and these lines move with the mouse pointer.

Library Version 2011.1.419.
Evgenia
Telerik team
 answered on 28 Apr 2011
2 answers
220 views
Hi,

I have set up a rowstyle for my radtreelistview,
however, the rows without any children are still displayed without the expand arrow infront of them

the reason for this is because I have implemented the loadondemand or lazy loading function using MVVM in the control
in order to make all the rows expandable, i have put a dummy child in each row's view model object
however, this throws me object not initialised error when I tried to filter the rows

the code below describe how i set up the rowstyle

<telerik:RadTreeListView.RowStyle>
    <Style TargetType="{x:Type telerik:TreeListViewRow}">
        <Setter Property="IsExpandable" Value="True" />
        <Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}" />
        <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
        <Setter Property="FontWeight" Value="Normal" />
        <Style.Triggers>
            <Trigger Property="IsSelected" Value="True">
                <Setter Property="FontWeight" Value="Bold" />
            </Trigger>
        </Style.Triggers>
    </Style>
</telerik:RadTreeListView.RowStyle>


please can you advise what was wrong? note I don't want to set IsExpandable as shown in the treelistview loadondemand demon as I'm using MVVM and want to keep the code behind clean

btw, I'm using radcontrol q1 2011

Cheers

Tim Ge
Top achievements
Rank 1
 answered on 28 Apr 2011
2 answers
186 views
Trying to install the latest WPF VSExtensions (2011.1.422.0) shows the following error in the log:

4/27/2011 12:07:21 PM - Beginning to install extension to Microsoft Visual Studio 2010 Ultimate...
4/27/2011 12:07:22 PM - Install Error : System.IO.PathTooLongException: C:\Documents and Settings\<USER: 18 characters long>\Local Settings\Application Data\Microsoft\VisualStudio\10.0\Extensions\Telerik\Telerik WPF VSExtensions\2011.1.422.0\ProjectTemplates\Telerik\Windows\TlrkWPFCSBrowserTk.zip: CS/Browser/RadControlsWpfBrApp.csproj
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)
4/27/2011 12:07:22 PM - Reverting uninstall of version 2011.1.419.0 of the extension.


Since we can't change the install directory there is no way to install it, however the 419 and previous versions did work.


Travis
Travis
Top achievements
Rank 1
 answered on 27 Apr 2011
1 answer
133 views
Hello,

I use a treeview with IsTristatemode="true", and binding CheckState property, all work's fine. For 90% of my nodes.

I have some particular nodes that are represented as hierarchical but they are not. In other word "Parts" need to behave "hierarchically", but Variable_other not.

I'd like to obtain these configurations :

[-] Part1
| -- [ ] Variable1
| -- [x] Variable2_other
       |-- [ ] Variable3
| -- [ ] Variable4

[-] Part1
| -- [ ] Variable1
| -- [ ] Variable2_other
       |-- [x] Variable3
| -- [ ] Variable4

I've tried to set IsTristatemode to false, but because of hierarchy, if I check "Variable3", "Variable2_other" is automatically checked and tristate indeterminate is not shown for Part (whereas i set in code the null value for checkstate).


Regards,
Aurore

Petar Mladenov
Telerik team
 answered on 27 Apr 2011
1 answer
250 views
I want to make the text in certain rows of my grid bold, based on a certain property of my object.  How can I create a style that has a property that I can bind to so that I can achieve this result?  I don't want to change the look at all of the GridViewCell's, just make the text inside of them bold or not bold.

EDIT:   It got it to work by using a DataTrigger.

 
        <Style TargetType="{x:Type GridView:GridViewCell}">  
            <Style.Triggers> 
                <DataTrigger Binding="{Binding Path=HasRead}" Value="False">  
                      <Setter Property="FontWeight" Value="Bold"/>  
                </DataTrigger>                  
            </Style.Triggers>            
        </Style> 
Brandon
Top achievements
Rank 1
 answered on 27 Apr 2011
2 answers
100 views
Hello,

Can I change ScheduleView  groupby value from the code?
I need to change grouping on the fly.
Is there any equivalent to the Scheduler.GroupBy property?


Thank you,
Oksana
Oksana
Top achievements
Rank 1
Iron
 answered on 27 Apr 2011
1 answer
167 views
Hi,

Another databinding question for PanelBar... I have ViewModel with two properties Header (string) and View (UserControl)

I want to bind "Header" property to the Header of RadPanelBarItem, and...
"View" property on my VM to the "content" area of the RadPanelBarItem.

For each ViewModel, there is only ONE Header and ONE View property.

I see from examples something like

<RadPanelBarItem>
  <RadPanelBarItem.Header>
      HEADER TEXT GOES HERE
  </RadPanelBarItem.Header>
 
   CONTENT GOES HERE
</RadPanelBarItem>

But I can not get this working with databindings... there are HierarchicalDataTemplate examples, but that does not compute for me, mostly because HierarchicalDataTemplate ItemsSource="{Binding View}", since View in my case is a singel property, not collection; and I am not sure if HierarchicalDataTemplate would work for a (singel value) property as a source.

This is what I got on my own...

<telerik:RadPanelBar ItemsSource="{Binding ...}">
   <telerik:RadPanelBar.ItemTemplate>
    <HierarchicalDataTemplate ItemsSource="{Binding View}">
     <TextBlock Text="{Binding Header}" />
     <HierarchicalDataTemplate.ItemTemplate>
      <DataTemplate>
       <ContentControl Content="{Binding View}" />
      </DataTemplate>
     </HierarchicalDataTemplate.ItemTemplate>
    </HierarchicalDataTemplate>
   </telerik:RadPanelBar.ItemTemplate>
  </telerik:RadPanelBar>
Kiril Stanoev
Telerik team
 answered on 27 Apr 2011
11 answers
349 views
When trying to use IsVirtualizing we are running into an issue with checkboxes not in the initial view are set incorrectly on data load. We are not binding to IsChecked property but are binding to the CheckState property.

The following is used to define the RadTreeViewItems:

<Style TargetType="{x:Type telerikNavigation:RadTreeViewItem}">
    <Setter Property="CheckState" Value="{Binding IsCheckedState, Mode=TwoWay}" />
    <Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}" />
    <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
</Style>

The RadTreeView includes the virtualization settings:

IsVirtualizing="True" 
telerikTreeView:TreeViewPanel.VirtualizationMode="Hierarchical">

Does it look like the xaml is wrong?  If not, is there a work-around or a fix for this?

Without the virtualization, the RadTreeView is unacceptably slow on loading a list of just 7500 root level items.

Thanks,

T.
Petar Mladenov
Telerik team
 answered on 27 Apr 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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?