Telerik Forums
UI for WPF Forum
1 answer
147 views
Hello,
if the TabControl contains a single tab and this tab is collaped, the content of the tab is displayed, but not the header.
Patrick
Martin Ivanov
Telerik team
 answered on 06 Jun 2014
3 answers
200 views
Hi,
I want to make my category as a hyperlink. I am adding category programmatically.

barChart.DataPoints.Add(new CategoricalDataPoint() { Value = item.StatusCount, Category = item.Label });

Please help for same.

Thank You,
Petar Marchev
Telerik team
 answered on 06 Jun 2014
7 answers
227 views
How to make Drag-n-Drop of PropertyDefinition towards RadRichTextBox, for example ?

or

How to find PropertyDefinition under the mouse ?
Nick
Telerik team
 answered on 06 Jun 2014
1 answer
137 views
When I set DragDropExecutionMode="New" then IsDragPreviewEnabled="false", IsDragTooltipEnabled="false", IsDropPreviewLineEnabled = false DON'T WORK.

<telerik:RadTreeView  
            telerik:TreeViewSettings.DragDropExecutionMode="New" 
            IsDragDropEnabled="True"
            IsDragPreviewEnabled="False"
            IsDragTooltipEnabled="False"
            IsDropPreviewLineEnabled="False" >

<telerik:RadTreeView.Items>
<telerik:RadTreeViewItem Header="Category1"/>
<telerik:RadTreeViewItem Header="Category2"/>
<telerik:RadTreeViewItem Header="Category3"/>
<telerik:RadTreeViewItem Header="Category4"/>
<telerik:RadTreeViewItem Header="Category5"/>
</telerik:RadTreeView.Items>
</telerik:RadTreeView>
Petar Mladenov
Telerik team
 answered on 06 Jun 2014
1 answer
135 views
Hello.
I'm using this great example for exporting grid to xml: http://www.telerik.com/help/wpf/gridview-export.html.
Problem is that, I have ColumnGroups declared like:

  <telerik:RadGridView.ColumnGroups>
                    <telerik:GridViewColumnGroup Name="Numer">
                        <telerik:GridViewColumnGroup.Header>
                            <TextBlock Text="Numer" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center" />
                        </telerik:GridViewColumnGroup.Header>
                    </telerik:GridViewColumnGroup>
(...)
  </telerik:RadGridView.ColumnGroups>

And using it with column:

                    <telerik:GridViewDataColumn Name="col5" DataMemberBinding="{Binding Nazwa dokumentu}" Header="WewnÄ™trzny" Tag="nazwa" ColumnGroupName="Numer">
                        <telerik:GridViewDataColumn.AggregateFunctions>
                            <telerik:CountFunction Caption="Liczba dokumentów: "></telerik:CountFunction>
                        </telerik:GridViewDataColumn.AggregateFunctions>
                    </telerik:GridViewDataColumn>

Well, it does export to xml, but with this little problem: http://puu.sh/9g0pQ/c92b2e57f8.png

How can I export content (text) of textblock instead of System.Windows.Controls.TextBlock ?
Dimitrina
Telerik team
 answered on 05 Jun 2014
1 answer
137 views
I want to count total numbers of group in the gridview.
So how is this possible?
can you help me?

I also added a image which I want.

Regards,
Bharat Mendapara
Yoan
Telerik team
 answered on 05 Jun 2014
1 answer
135 views
I want to count total numbers of group in the gridview.
So how is this possible?
can you help me?

I also added a image which I want.

Regards,
Bharat Mendapara
Yoan
Telerik team
 answered on 05 Jun 2014
2 answers
246 views
Hi,

I have a RadTreeListView in my application.
I have severals columns using CellEditTemplate.

When the size of the element in the CellEditTemplate gets bigger than the column's, the column is not resized.

For example : 
<telerik:GridViewDataColumn Header="{localization:Translate Key=PBODetailGrid_Perte, Default=PBODetailGrid_Perte}"
                                                    DataMemberBinding="{Binding Perte, Mode=TwoWay, Converter={StaticResource FormatAmountConverter},ConverterParameter='Perte'}"
                                                    TextAlignment="Right" 
                                                    IsFilterable="False"
                                                    UniqueName="lblPerteRTL"
                                                        MinWidth="60" >
                                <telerik:GridViewDataColumn.CellEditTemplate>
                                    <DataTemplate>
                                        <TextBox Text="{Binding Perte, 
                                                                        Mode=TwoWay,
                                                                    Converter={StaticResource FormatAmountNullConverter}}" HorizontalAlignment="Center"/>
                                    </DataTemplate>
                                </telerik:GridViewDataColumn.CellEditTemplate>

When the size of the TextBox is more important than the size of the column, the column is not resized.
Some columns in my RadTreeListView don't use DataTemplate, and their width resize normally.

Do you have an idea on how I can manage this issue ?

Thanks by advance :)
Patrice
Top achievements
Rank 1
 answered on 05 Jun 2014
2 answers
129 views
Hi,

Is it possible to programmatically change the default sorting for fields that are added through a RadPivotFieldList?  Currently added fields have default sorting of Ascending (A to Z), but I would like to have no sorting.

Thanks,
Edwin
Edwin
Top achievements
Rank 1
 answered on 05 Jun 2014
1 answer
392 views
Hello,
I need to disable the cell edit based on some properties of my viewmodel.... for standard GridViewDataColumn 

I've done
<telerik:GridViewDataColumn DataMemberBinding="{Binding MULTIPLIER_DA,Mode=TwoWay}" Header="Size da" UniqueName="MULTIPLIER_DA" IsEnabled="{Binding CanUserAdd, RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type Grid}}}"  >
                  <telerik:GridViewDataColumn.CellEditTemplate>
                      <DataTemplate>
                          <TextBox Text="{Binding MULTIPLIER_DA,Mode=TwoWay}" IsEnabled="{Binding DataContext.CanUserAdd, RelativeSource={RelativeSource AncestorType={x:Type telerik:RadGridView}}}"></TextBox>
                      </DataTemplate>
                  </telerik:GridViewDataColumn.CellEditTemplate>
              </telerik:GridViewDataColumn>

How do I do it for Combo and Numeric?
Thanks
Dimitrina
Telerik team
 answered on 05 Jun 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
DataPager
PersistenceFramework
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?