Telerik Forums
UI for WPF Forum
7 answers
259 views
In a current project, we've used the TreeListView to display hierachical data (sreenshot attached).

What we want to do is to expand all lines of a specific level.
For example (see screenshot) :
 > when the user clicks on button "1", all "level 1" lines should expand
 > when the user clicks on button "2", all "level 1 and 2" lines should expand
etc.

We've succeeded doing this scenario with a Style Selector (already used for background coloration) :

<styleSelectors:ConditionalStyleSelector.Level1Style>
     <Style TargetType="telerik:TreeListViewRow">
          <Setter Property="Background" Value="#6699FF" />
          <Setter Property="IsExpanded" Value="{Binding Path=IsExpandedLevel1, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}, Mode=TwoWay}" />
     </Style>
</styleSelectors:ConditionalStyleSelector.Level1Style>

However, when the user collapses one "level 2" line (for example) all "level 2" lines are collasped.
So we've changed the binding mode to "OneWay" :

<Setter Property="IsExpanded" Value="{Binding Path=IsExpandedLevel1, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}, Mode=OneWay}" /> 

However, with mode "OneWay" it doesn't work ...

Any idea ? Or sample code to do this ?
Vera
Telerik team
 answered on 12 Apr 2012
3 answers
392 views
Hi,

I hit the captioned issue that Drop Down of RadComboBox is Going to the Top Left Corner of the Screen.
It's does not happen all the time, but sometimes it does happen.

Is there any way to solve this?

Thanks
Ric Yik
Konstantina
Telerik team
 answered on 12 Apr 2012
12 answers
342 views
I'm evalulating Rad Charts as a possible component for my company and seem to have hit a wall.  Is it possible to have a bar chart, with positive and negative values on the same series and have the x-axis held at zero?  This would be very common in the financial world for say a performance chart.  Some bars go up, some bars go down depending on positive and negative performance buckets.  Am I correct in thinking the product does not currently support this?  

Many thanks,
     Chris Dietz
Zubair
Top achievements
Rank 1
 answered on 12 Apr 2012
2 answers
142 views
Hi!

Please advice me on how can I customize the weekinterval so that it starts from Wednesday of a week and to end to Tuesday the next week (in my company the operational weeks are formed this way).
I have a table in which these weeks are kept.
If there'e a way I can bind TimeBar to this table, I will be glad to receive some help.

I attached a capture with the intervals and the selection made using my weeks table (you will see selection slightly shifted to capture those mentioned above)

Thank you in advance!
Adi
Adi Constantin
Top achievements
Rank 2
 answered on 12 Apr 2012
1 answer
218 views
Hi,

I am having an issue with styling MapPolygons. I am able to style some settings such as the tooltip but am unsuccessful in styling other aspects like the border.

What I am trying to do is apply an Effect to a MapPolygon when the mouse is over it. Below is a Xaml snippet of my style, which doesn't work with or without the trigger. 

<Style x:Key="zoneStyle" TargetType="telerik:MapPolygon">
    <Style.Triggers>
        <Trigger Property="IsMouseOver" Value="True">
            <Setter Property="Effect">
                <Setter.Value>
                    <DropShadowEffect ShadowDepth="3" BlurRadius="3" Color="Purple"/>
                </Setter.Value>
            </Setter>
        </Trigger>
    </Style.Triggers>
</Style>

Applying a BorderBrush in the style doesn't work either. Is there something I am missing?

Thanks in advance.

Nick
Andrey
Telerik team
 answered on 12 Apr 2012
11 answers
254 views
Hello,

I am using WPF Controls version 2009.2.904.35.

First issue: I have a GridView control inside a TabItem. Whenever the application loads, if I expand the rows of the GridView control, the expansion works and the child rows are displayed. However, if I first click trough the TabItems and come back to expand the Grid rows, then the expansion works but the child rows are not shown. If I have expanded the rows at least once before I tab through, the child rows continue to be displayed even after I have visited other tabItems; the problem seems to happen only when I tab through before ever expanding any rows. One more thing, if I expand let's say 3 rows out of 5 in the grid, then tab through, then come back to expand the other 2 rows, those 2 rows' children won't be shown, but the children of the other 3 pre-expanded rows do continue to show. If I sort or filter the grid, then the rows reappear.

Second issue: If I position the cursor in between two columns to drag and size, the sizing of the column jumps around, and i can make it smaller but not bigger; also, if I stop dragging (release the mouse button), the column sizing continues to happen while I move my mouse. This happens in the same grid that's having the first issue. I have another grid in another tabItem and that one does not have the sizing issue; it also does not have child rows so I don't know if it would be the same problem.

Thanks,
Laura
Vlad
Telerik team
 answered on 12 Apr 2012
3 answers
413 views
Hello Telerik,

I wanted to customize GridViewSelectColumn styling. I got a reference of the GridViewSelectColumn appearence in one of the forums mentioned below:-
http://www.telerik.com/community/forums/silverlight/gridview/gridviewselectcolumn-appearnace.aspx

The issues that I am facing:-
1. If I use this above mentioned link styling then it applies to all the checkboxes in the Application not just the GridViewSelectColumn checkbox. Can you please let me know how do I apply the styling only for the check boxes in the GridViewSelectColumn?
2. Or How do I get a reference to the GridViewSelectColumn checkbox so I can apply the styling explicitly?
3. Or If its possible can you please provide the detailed style template for GridViewSelectColumn?


Thanks,
Neha
Vlad
Telerik team
 answered on 12 Apr 2012
7 answers
434 views
Hello,

After upgrading to Q1 2010, I've noticed that pressing enter while editing a cell commits the edit, then moves focus to the row below, putting the cell in that row into edit mode. I can certainly see why this is desirable behaviour for some applications, however, for ours it is not. Can never please everyone :). We would like to keep the behaviour from the previous version, which would commit the edit, end edit mode in the cell, and leave focus on that cell.

Is there a way to achieve that behaviour in the new version? We need to use the new version of the grid as it contains other fixes we need.

Thanks

Maya
Telerik team
 answered on 12 Apr 2012
3 answers
132 views
Would it be possible to have an empty row at the start of the grid which functions as a filter? I think this would be a nice possibility for the user to have fast access to filtering.
Vlad
Telerik team
 answered on 12 Apr 2012
1 answer
167 views
It seems as though the access level for ColumnFilterDescriptor was changed in the latest internal build.
Can no longer access this property to save the datagridview settings for the column filter.
Vlad
Telerik team
 answered on 12 Apr 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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?