Telerik Forums
UI for WPF Forum
1 answer
195 views

I'm sure this is trivial, but I don't see a property that would make it happen.  I'd like to make my entire GanttView read-only, so that it doesn't permit any changes to dates or tasks either in the text columns or by dragging tasks around.  I've tried setting "IsEnabled" to false, but that prevents me from resizing the columns.  Suggestions?

Thanks!

Brad.

Yana
Telerik team
 answered on 02 Jun 2016
1 answer
82 views

Hello,

I have a flollowing problem in the RadChart control. I've defined brushes like this  

                    <telerik:RadChart.PaletteBrushes>
                        <SolidColorBrush Color="Green" />
                        <SolidColorBrush Color="Gray" />
                        <SolidColorBrush Color="Orange" />
                    </telerik:RadChart.PaletteBrushes>

which works fine,but I wanted to reuse this in many places if possible. How can I do it?

Alternatively can I set a Brush for each slice via Binding? My viewmodel for the slice has a Brush property let's say MyBrush. Is there a way to bind it in a series definition?

 

Thanks in advance!

Krzysztof

 

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Jun 2016
2 answers
116 views

Launch the Telerik WPF Demos, and go to the "Filtering Configuration" demo.

Change the FilteringMode to FilterRow

Type some text in one of the filter textboxes

Using your mouse, attempt to click and drag to highlight this text.

The column reordering mechanism of the grid kicks in, instead of highlighting the text as would be expected.

 

Is there any way to change this behaviour?

 

Thanks

Steve
Top achievements
Rank 1
 answered on 01 Jun 2016
1 answer
108 views
Apparently mouse clicks don't go through a rad diagram with null/transparent background.
Am I doing something wrong or that's how it's meant to be?

The reason i need clicks to go through is because I want to stack multiple layers of diagrams, but only the top-most can be accessed, and the ones beneath it are not accessible, even if they're exposed through fully transparent regions of the diagram above them.
Greg
Top achievements
Rank 1
 answered on 01 Jun 2016
5 answers
573 views

Hi, I add a new xmlelement(ele1) throw the datacontext, and I set the radtreeview.selecteditem=ele1. Then it trigger the selectchanged event, it's easy to get the new node's xmlelement object in this event, but I don't know how to get the new node's radtreeviewitem object.

How to do it ?  Cause I want to call the radtreeviewitem's beginedit() event to let node start edit style automatically. Thanks!

Jonathan
Top achievements
Rank 1
 answered on 01 Jun 2016
0 answers
86 views
Hi,

I currently have a viewmodel such that it has a grid full of appointments. I would like to double click and open up my CalendarView with the editappointmentdialog opened for the record that was selected. May I ask how would I do that in an MVVM style? 
Minh
Top achievements
Rank 1
 asked on 31 May 2016
1 answer
197 views

I want to hide the properties which has nested properties inside them. What is best approach to do them? Ihave tries following things

1. setting NestedPropertiesVisibility="Hidden" for radpropertygrid. But it not working.

2. setting visiblility of propertydefinition based on displayname.The code looks like

private void PropertyGrid1_AutoGeneratingPropertyDefinition(object sender, AutoGeneratingPropertyDefinitionEventArgs e)
      {
          if (e.PropertyDefinition.DisplayName == "Mypropertyname")
          {
              e.PropertyDefinition.Visibility = Visibility.Hidden;  
          }
      }

second approach works but I dont want to do on the basis of Displayname.I need to be hidden if any propertydefinition under property has nested property

 

Would you please help me with the same.

 

 

Dilyan Traykov
Telerik team
 answered on 31 May 2016
1 answer
216 views

Hi,

I've been trying to find documentation of just importing a workbook into a radspread sheet. I looked at the sample demos from GitHub and I tried to understand them, but alas, I cannot figure it out. So, if there is a file called "Test.xlsx" on my desktop, how could I import that into my spreadsheet?

 

Thank you for your help.

Tanya
Telerik team
 answered on 31 May 2016
9 answers
306 views
Hello Telerik,

We are developing and application using WPF and the MVVM design pattern.

We have a case where we've created a "dialog" to select a single value using the RadGridView where the result is selected from a nested RadGridView (the nested RadGridView's go only 1 level deep). You can see an example of our dialog in the attached screenshot.

The issue is a selection inconsistency. The issue is as follow:
a) Expand a row to reveal the embedded GridView, select a row from the embedded GridView making note of the specific cell clicked on the select the row.
b) Expand another row to reveal another embedded GridView and select a row from that embedded GridView.
c) Then try to reselect the row in "step a" by click on the exact same cell clicked on when selected the first time ... CANNOT SELECT THE ROW!

It appears that clicking on a row will still "select" the cell even though the GridView SelectionUnit is set to "FullRow". I'm assuming the solution is to prevent the cell selection altogether, but I can seem to find a solution.

Please see code below

Best Regards,
Roland

<tgrid:RadGridView x:Name="radGridView" Grid.Row="1" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" Margin="6,0,6,6" VerticalAlignment="Stretch" IsReadOnly="True" RowIndicatorVisibility="Collapsed" CanUserFreezeColumns="False" ScrollMode="Deferred" ItemsSource="{Binding CollectionView.ItemsSource}" DataLoadMode="Asynchronous" IsFilteringAllowed="False" ShowGroupPanel="False" ShowColumnHeaders="True" EnableColumnVirtualization="False" CanUserResizeColumns="False" CanUserDeleteRows="False" AutoGenerateColumns="False" CanUserReorderColumns="False" IsScrolling="False" ShowInsertRow="False" ValidatesOnDataErrors="None" int:RadGridViewAdapter.SortDirection="{Binding CollectionView.SortDirection, Mode=TwoWay}" int:RadGridViewAdapter.SortMember="{Binding CollectionView.SortMember, Mode=TwoWay}" Grid.RowSpan="1" SelectionMode="Single" int:RadGridViewHierarchicalAdapter.HierarchicalAdapterEnabled="True" int:RadGridViewHierarchicalAdapter.HierarchicalSelectedItemsBinding="{Binding SelectedArticles}" int:RadGridViewHierarchicalAdapter.AutoSelectLowerLevel="True" SelectionUnit="FullRow">
<tgrid:RadGridView.Columns>
<tgrid:GridViewDataColumn Header="Title" Width="*" DataMemberBinding="{Binding Title}" IsFilterable="False" IsCustomSortingEnabled="False" IsGroupable="False" IsSortable="True" UniqueName="Title" TextTrimming="WordEllipsis" />
<tgrid:GridViewDataColumn Header="Brand" Width="*" DataMemberBinding="{Binding Brand}" IsFilterable="False" IsCustomSortingEnabled="False" IsGroupable="False" IsSortable="True" UniqueName="Brand" TextTrimming="WordEllipsis" />
<tgrid:GridViewDataColumn Header="Specification}" Width="*" DataMemberBinding="{Binding Specification}" IsFilterable="False" IsCustomSortingEnabled="False" IsGroupable="False" IsSortable="True" UniqueName="Specification" TextTrimming="WordEllipsis" ToolTip="{Binding Specification}" />
<tgrid:GridViewDataColumn Header="GroupKind}" Width="*" DataMemberBinding="{Binding Kind}" IsFilterable="False" IsCustomSortingEnabled="False" IsGroupable="False" IsSortable="True" UniqueName="Kind" TextTrimming="WordEllipsis" ToolTip="{Binding Kind}" />
</tgrid:RadGridView.Columns>
<tgrid:RadGridView.ChildTableDefinitions>
<tgrid:GridViewTableDefinition>
<tgrid:GridViewTableDefinition.Relation>
<Data:PropertyRelation ParentPropertyName="Articles" />
</tgrid:GridViewTableDefinition.Relation>
</tgrid:GridViewTableDefinition>
</tgrid:RadGridView.ChildTableDefinitions>
<tgrid:RadGridView.HierarchyChildTemplate>
<DataTemplate>
<tgrid:RadGridView x:Name="radGridViewChild" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsReadOnly="True" RowIndicatorVisibility="Collapsed" CanUserFreezeColumns="False" ScrollMode="Deferred" ItemsSource="{Binding Articles}" IsFilteringAllowed="False" ShowGroupPanel="False" ShowColumnHeaders="True" EnableColumnVirtualization="False" CanUserResizeColumns="False" CanUserDeleteRows="False" AutoGenerateColumns="False" CanUserReorderColumns="False" IsScrolling="False" ShowInsertRow="False" ValidatesOnDataErrors="None" Grid.RowSpan="1" SelectionMode="Extended" SelectionUnit="FullRow">
<tgrid:RadGridView.Columns>
<tgrid:GridViewDataColumn Header="Number" Width="Auto" DataMemberBinding="{Binding ArticleNumber}" IsFilterable="False" IsCustomSortingEnabled="False" IsGroupable="False" IsSortable="True" UniqueName="Number" />
<tgrid:GridViewDataColumn Header="TypeNumber" Width="Auto" DataMemberBinding="{Binding TypeNumber}" IsFilterable="False" IsCustomSortingEnabled="False" IsGroupable="False" IsSortable="True" UniqueName="TypeNumber" />
<tgrid:GridViewDataColumn Header="Description" Width="Auto" DataMemberBinding="{Binding ErpDescription}" IsFilterable="False" IsCustomSortingEnabled="False" IsGroupable="False" IsSortable="True" UniqueName="Description" />
</tgrid:RadGridView.Columns>
</tgrid:RadGridView>
</DataTemplate>
</tgrid:RadGridView.HierarchyChildTemplate>
 
<tgrid:RadGridView.ScrollPositionIndicatorTemplate>
<DataTemplate>
<TextBlock Text="{Binding Title}" FontWeight="Bold" />
</DataTemplate>
</tgrid:RadGridView.ScrollPositionIndicatorTemplate>
</tgrid:RadGridView>
Dilyan Traykov
Telerik team
 answered on 31 May 2016
2 answers
133 views

Hi,

I noticed that if you paste a hyperlink containing an anchor such as this into a RichTextBox, everything except the anchor's name will be removed from the href attribute, resulting in links that do not work.

Do you have any advice or tips on a way to work around this?

Thanks

Tanya
Telerik team
 answered on 31 May 2016
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
MultiColumnComboBox
SyntaxEditor
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
Bronze
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
Bronze
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?