Telerik Forums
UI for WPF Forum
4 answers
134 views
Hello out there

I'm just working on a report table, which should list my materials and all materials below one.
To display the data, I'm using the gridview with the childtemplate things.
This is working without problems but I want to use a flat hierarchy style instead of the default one.
So it should look like this

                  Cost       Type
Parent          x              x
Child            x              x
Child-child    x              x

I really don't know how to do this.
Hope you can help me.

Thanks in advance!
Greetings
Emanuel
Emanuel
Top achievements
Rank 1
 answered on 11 Jun 2012
1 answer
165 views

Hi,

i found this example to change the CellTemplate. This works fine, but how do i insert a "Passwordbox"?

<telerik:RadGridView x:Name="RadGridView" AutoGenerateColumns="False" >
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Select hobby" />
                <telerik:GridViewDataColumn  >
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <telerik:RadComboBox ItemsSource="{Binding AvailableHobbies}" >
                                <telerik:RadComboBox.SelectionBoxTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding Owner.Choices}" />
                                    </DataTemplate>
                                </telerik:RadComboBox.SelectionBoxTemplate>
                                <telerik:RadComboBox.ItemTemplate>
                                    <DataTemplate>
                                        <StackPanel Orientation="Horizontal">
                                            <CheckBox IsChecked="{Binding IsChecked, Mode=TwoWay}"
                     Content="{Binding Description}" />
                                        </StackPanel>
                                    </DataTemplate>
                                </telerik:RadComboBox.ItemTemplate>
                            </telerik:RadComboBox>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Choices}" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>

With Passwordbox:

<DataTemplate>
      <StackPanel Orientation="Horizontal">
           <Passwordox Name="Password_txt"  Password="{Binding Password}"  />
      </StackPanel>
</DataTemplate>

binding does not work, but why? A simple Textbox ist working fine with this Binding!
Thanks Best Regards
Rene

Ivan Ivanov
Telerik team
 answered on 11 Jun 2012
1 answer
137 views
How would one go about making certain shapes in a diagram read-only--i.e. cannot be resized, or manipulated in any way--but would still be enabled (i.e. HitTest is enabled)?  The IsManipulationEnabled property on the shape seems to have no impact.
Miro Miroslavov
Telerik team
 answered on 11 Jun 2012
1 answer
146 views
When I specify the Background color of a column, the Row Highlight no longer highlights that column.

<telerik:GridViewDataColumn Width="10*" Header="Enabled?" Background="White" DataMemberBinding="{Binding IsEnabled, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" UniqueName="IsEnabled" IsReadOnly="False"/>

How do I change the background color for a particular column without it interrupting the Row Highlight?
Dimitrina
Telerik team
 answered on 11 Jun 2012
1 answer
169 views
Hi,

i'm using RadControls for WPF Q1 2012 SP1 and the RadMaskedTextInput:
I need a Validation, the Input should look like this:

2009r4n15
2009r4n16
2011r5n16
2012r2n10
...
<telerik:RadMaskedTextInput x:Name="VersionText" Width="Auto" Grid.Row="4" Margin="5" HorizontalAlignment="Stretch" Height="Auto"  Mask="####_##_###" EmptyContent="Version: z.B.: 2008_r4_n10"   UpdateValueEvent="LostFocus" />

Can i add a Validation to this textinput? And how?

Thanks a lotRegards
Rene
Alex Fidanov
Telerik team
 answered on 11 Jun 2012
1 answer
198 views

i want to display image in each item on VirtualizaingWrapPanel.
I try to modify the sample code VirtualizingWrapPanel.WPF Example.xml
by adding a line (bold below) to show a image

< DataTemplate x:Key="dataTemplate">
..........................
< TextBlock FontWeight="Bold" Text="Discontinued:" Grid.Row="4"/>
<TextBlock Text="{Binding Discontinued}" Grid.Row="4" Grid.Column="1" />

<TextBlock FontWeight="Bold" Text="Image:" Grid.Row="5"/>
<Image Source="{Binding Image}" Grid.Row="5" Grid.Column="1" />
</Grid>

the Image is a property with BitmapImage Type.
After recomplie the sample and i can see the image shown.
However,when i resize the sample window.the app seems hang.
I would like to known the properly way to display a image in VirtualizingWrapPanel?

Vlad
Telerik team
 answered on 11 Jun 2012
3 answers
200 views
When I have an item selected in a RadTreeView, pressing the Tab key seems to work appropriately (shift focus to next focusable element), but Shift-Tab doesn't appear to be working at all. Is this a known issue?
Hristo
Telerik team
 answered on 08 Jun 2012
3 answers
195 views
I am pretty sure that i have the correct references made in my project. but i cannot seem to find the RadChartView Control.  I know its go to be something stupid that i am missing. but some help would be greatly appreciated. 
Sia
Telerik team
 answered on 08 Jun 2012
7 answers
201 views
Hi,

I am encountering the following crash scenario:

1.) Unpin all RadPanes in the application.
2.) While pressing the left MouseButton - hover over the AutoHide-Items up and down quickly.
3.) --> The RadPanes slide in and out forever and the UI gets stuck.

Is there a solution to this behaviour?

Thanks,
Ruth S.
Konstantina
Telerik team
 answered on 08 Jun 2012
1 answer
133 views

We're having problems trying to get the tabing sequence working correctly for a WPF RadGridView with a HierarchyChildTemplate per row. With grid rows fully expanded the grid only tabs through all row cells and never tabs into the row’s child template. Can you please advise how we can solve this issue.

Dimitrina
Telerik team
 answered on 08 Jun 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?