Telerik Forums
UI for WPF Forum
5 answers
161 views
Hi,

(I'm using the Telerik version 2014.1.331.45)

I define a RadGridView with an another RadGridView Inside its HierarchyChildTemplate, like this :
<telerik:RadGridView ItemsSource="{Binding Customers}" GroupRenderMode="Flat" AutoGenerateColumns="False" NewRowPosition="Bottom">
    <telerik:RadGridView.ChildTableDefinitions>
        <telerik:GridViewTableDefinition/>
    </telerik:RadGridView.ChildTableDefinitions>
    <telerik:RadGridView.HierarchyChildTemplate>
        <DataTemplate>
            <Grid>
            <!-- If NewRowPosition = Top the row appear, otherwise hidden-->
            <telerik:RadGridView ItemsSource="{Binding Orders}" GroupRenderMode="Flat" NewRowPosition="Bottom">
                 
            </telerik:RadGridView>
            </Grid>
        </DataTemplate>
    </telerik:RadGridView.HierarchyChildTemplate>
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding FirstName}" Header="Prenom"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding LastName}" Header="Nom"/>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

If the NewRowPosition is set to bottom the "Click to add a new item" don't appear, if set to Top its work.
Do you have a workaround to be able to use bottom instead Top ?

Thanks,

Luc 
Yoan
Telerik team
 answered on 29 Apr 2014
2 answers
146 views
Hi,
We are facing an issue when we collapse a group (grid with alteast 2 groups) in a radgridview with a selecttype column.
Steps to recreate -
1 - Group the grid with atleast 2 columns
2 - Expand the groups
3 - Select grouping with multiple rows and select the first row
4 - Now "Collapse" the Level1 (parentgroup)
5 - It does not collapse, rather traverses through all the rows select column and when it reaches the last row, it collapses.

This issue does not occur if the grid has no select type columns.
This used to work in previous versions and started occuring when we upgraged.

Attached an image of the same (In the example, I am trying to collapse the Country "UK" with the first row selected and it does not collapse.
Using SL5 Telerik v2013.3

Thanks and any thoughts/resolution appreciated. Let me know if you need a sample app.
Yoan
Telerik team
 answered on 29 Apr 2014
3 answers
196 views
Hello,

I have a datagrid, and I would like to be able to select an item by typing some letters, similar to what does the TextSearch static class of WPF. I would like to be able to specify which property of my view model should be used for this search (ie. like the TextSearch.TextPath attached property). However, nether the WPF TextSearch nor Telerik's TextSearch seems to work, and the GridView does not have the IsTextSearchEnabled property.

Is there a way to easily achieve such behavior? Or should I re-implement it completely myself?

Thanks.
Ivan Ivanov
Telerik team
 answered on 29 Apr 2014
1 answer
113 views
HI!  I have a chart with two thousand Candlesticks.  The only time the DateTimeCategoricalAxis shows readable values is when I'm zoomed all of the way in.  Is there any way to show a sampling of approximate values values as I zoom out?
Petar Marchev
Telerik team
 answered on 29 Apr 2014
1 answer
76 views
My RadPanelBar, along with several other controls, disappeared when I applied a theme to my project.

I had no idea what had happened, and I have spent 30 hours so far trying to figure it out.  Unfortunately I didn't realize for much of that time that the theme was the issue, sigh.

Along the way, desperate to try anything, I rebuilt my project and this time used the NoXaml assemblies (btw - where is an explanation of this?)  

So, finally by dumb luck figured out to add entries to the ResourceDictionary, for my RadGridView and RadImageEditor, but the RadPanelBar was still missing.

Turns out there was no theme for Telerik.Windows.Controls.Navigation (panelbar assembly) in my Themes folder.  I finally found a copy in a test sample provided in response to another forum question.   That works, although I get warnings  (app.xaml:  'An error occurred while finding the resource dictionary')

I am using RadPanelBar from the following assembly:
    UI for WPF Q1 2014\Binaries.NoXaml\WPF45\Telerik.Windows.Controls.Navigation.dll

Can I please get the appropriate version of this file for the above assembly?  :
  "Themes/OfficeBlue/Telerik.Windows.Controls.Navigation.xaml"  

thanks


Pavel R. Pavlov
Telerik team
 answered on 29 Apr 2014
1 answer
128 views
My RadPanelBar, along with several other controls, disappeared when I applied a theme to my project.

I had no idea what had happened, and I have spent 30 hours so far trying to figure it out.  Unfortunately I didn't realize for much of that time that the theme was the issue, sigh.

Along the way, desperate to try anything, I rebuilt my project and this time used the NoXaml assemblies (btw - where is an explanation of this?)  

So, finally by dumb luck figured out to add entries to the ResourceDictionary, for my RadGridView and RadImageEditor, but the RadPanelBar was still missing.

Turns out there was no theme for Telerik.Windows.Controls.Navigation (panelbar assembly) in my Themes folder.  I finally found a copy in a test sample provided in response to another forum question.   That works, although I get warnings  (app.xaml:  'An error occurred while finding the resource dictionary')

I am using RadPanelBar from the following assembly:
    UI for WPF Q1 2014\Binaries.NoXaml\WPF45\Telerik.Windows.Controls.Navigation.dll

Can I please get the appropriate version of this file for the above assembly?  :
  "Themes/OfficeBlue/Telerik.Windows.Controls.Navigation.xaml"  

thanks


Pavel R. Pavlov
Telerik team
 answered on 29 Apr 2014
5 answers
270 views
I'm just now getting around to doing some maintenance on an existing project and it required upgrading all the Telerik libraries. 

So now, I've got both UI for WPF plus Reporting up to the latest versions, and I've learned that the Report Viewer requires implicit styling. Right now it's coming up blank.

So what now? If I follow the instructions on how to get the Report Viewer working, it means replacing my dlls with the NoXaml versions. This will obviously mess with the rest of my application, won't it? So then I would have to change the entire app to use implicit styling.

But currently I'm using more than one theme by setting the Application Theme as well as overriding various controls throughout the app to use a different theme. If I go implicit styling, then I'm merging the xaml files from a specific theme. Won't I lose the ability to override certain controls to a different theme?

I'm a bit confused on how this all works?
Masha
Telerik team
 answered on 29 Apr 2014
2 answers
157 views
YAxis is created each series.

Currently, all axis's color is same.

I want to adjust 'fill in chart'.

But RadCartesianChart's initialize value is null.

How can I do it?

Please answer about that.

Below, my XAML code

                            <telerik:CategoricalSeriesDescriptor.Style>
                                <Style TargetType="chartView:LineSeries">
                                    <Setter Property="LegendSettings">
                                        <Setter.Value>
                                            <telerik:SeriesLegendSettings Title="{Binding Name}"/>
                                        </Setter.Value>
                                    </Setter>
                                    <Setter Property="VerticalAxis" Value="{Binding Data, Converter={StaticResource additionalVerticalAxisConverter}}"/>
                                </Style>
                            </telerik:CategoricalSeriesDescriptor.Style>
Pavel R. Pavlov
Telerik team
 answered on 29 Apr 2014
3 answers
302 views
I have the following xaml:

<telerik:RadPane DataContext="{Binding Path=Panes.ConceptualModel}">
  <telerik:RadPane.Header>
    <StackPanel Orientation="Horizontal">
      <Image Source="{Binding Path=ImagePath}" Width="16" Height="16"/>
      <TextBlock Text="{Binding Path=Name}"/>
    </StackPanel>
  </telerik:RadPane.Header>
  <some content/>
</telerik:RadPane>
                    
This correctly shows both the image and the name in the tab, but the header of the pane says "System.Wndows.Controls.Stackpanel" instead of "Conceptual model", the value of the bound Name property (see attached image WithoutDataTemplate). Also, the coloring of the tab is much lighter than it is if I don't use the <telerik:RadPane.Header> -construction and just bind Header directly to the Name property. 

I found an example here which shows how to use a DataTemplate, which is more in line with how I  want to implement this:
http://www.telerik.com/help/wpf/raddocking-how-to-add-icon-pane-header.html

So if I, according to the example, instead move the stack panel to a DataTemplate like this: 

<DataTemplate x:Key="dtPaneHeader">
  <StackPanel Orientation="Horizontal">
    <Image Source="{Binding Path=ImagePath}" Width="16" Height="16"/>
    <TextBlock Text="{Binding Path=Name}"/>
  </StackPanel>
</DataTemplate>

and change the xaml to:

<telerik:RadPane 
  DataContext="{Binding Path=Panes.ConceptualModel}"
  Header="{Binding Path=Name}"
  HeaderTemplate="{StaticResource dtPaneHeader}" >
 <some content/>
</telerik:RadPane>

I get neither image nor name in the tab (see attached image WithDataTemplate). If I remove Header="{Binding Path=Name}", I get an empty string in the header as well. If I change the image and the text to unbound static values, it works. So apparently there is some sort of binding issue using the DataTemplate?

Here's another example with static property values in the DataTemplate  (see attached image WithDataTemplateStaticProperties):

<DataTemplate x:Key="dtPaneHeader">
    <StackPanel Orientation="Horizontal">
        <Image Source="{Binding Path=ImagePath}" Width="16" Height="16"/>
        <Image Source="Images/Content/Class.png"/>
        <TextBlock Text="{Binding Path=Content}"/>
        <TextBlock Text="Static text"/>
    </StackPanel>
</DataTemplate>


Help appreciated,

Kim
Kim
Top achievements
Rank 1
 answered on 29 Apr 2014
3 answers
432 views
Hi,

is it possible to create an image (jpg,bmp, png) out of a RadBarcode?

Thank you
Best Regards
Rene
Pavel R. Pavlov
Telerik team
 answered on 29 Apr 2014
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
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
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?