Telerik Forums
UI for WPF Forum
2 answers
151 views

Hi,

I have gridview in which I added some common group headers to group the columns logically. Depending on the context some of these logical groups have no data and therefore I hide them in the UI (IsVisible=false on DataLoaded event). On exporting the grid to Excel (.ExportToXlsx method) the Group Headers does not line up with the relevant columns. I put this down to the hidden columns so my solution was to first show all the columns (IsVisible=true), do the export and then hide the relevant empty columns again. However, now none of the group headers are exported.

 I capture the ElementExportingToDocument event and can see a CommonColumnHeaderRow element being exported but no CommonColumnHeaderCell element or the like (next element is HeaderRow).

Any thoughts?

Stefan
Telerik team
 answered on 15 Sep 2015
3 answers
181 views

I have an app used for Dispatch Scheduling.

The scheduler is used by dispatchers to assign appointments for technicians. So in my scheduler, they are grouped by technicians and used the GroupHeaderContentTemplateSelector for my templates whether it be Horizontal or Vertical view.

Most of the time they have lots of technicians in their view. To find one technician, you have to scroll to the left or right or up or down depending on the orientation. 

The task is to provide a way for dispatchers to easily locate the technician by let's say right clicking the scheduler and click Go To ... specific technician. 

It should scroll  to that technician in view.

I have seen an implementation for ScrollViewer where you specify the desired position using the ScrollToHorizontalOffset or ScrollToVerticalOffset. What is the best way to locate a specific technician in my case within the grouping as my parameter? Or any implementation that would help implement the requirement would be great.

 

A sample code is very much appreciated.

 

Thanks!

 

Oksana
Top achievements
Rank 1
Iron
 answered on 14 Sep 2015
1 answer
117 views

I'm using a RadSemicircleNorthGauge and with NumericIndicator.Positions using the telerik:SevenSegsNumberPosition for a digital display inside the gauge.

It is working but I'm getting these kinds of warnings in debug output:

System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegsSb'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegsSb'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegs7'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegs7'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegs7'

 Any help is appreciated.

 â€‹

Sia
Telerik team
 answered on 14 Sep 2015
10 answers
754 views

Hallo, I have to use ListCollectionView as an ItemsSource for RadListBox and at the same time I have to pass SelectedItems down to my ViewModel. I was trying to use new ListBoxSelectedItemsBehavior.SelectedItemsSource  which is working flawlessly for ObservableCollection<T> as ItemsSource but not at all when using ListCollectionView or CollectionViewSource.

I have modified a sample from github, simply I've added two more collections for SelectedItems and new ListCollectionView and CollectionViewSource with some simple filters as ItemsSource for additional RadListBoxes. Binding directly to SelectedItems works, but in some cases ElementName binding does not work so to have other approach is ​always good.

Attached screenshot is from modified sample and as you can see, SelectedItems from additional listboxes contains only items manually added in constructor and not reflecting changes in selection made in associated control.

I suspect that this is because neither ListCollectionView nor CollectionViewSource is strongly typed collection and CollectionTypeComparerHelper is not detecting that they hold same type as binded SelectedItemsSource collection.

Nasko
Telerik team
 answered on 14 Sep 2015
1 answer
416 views

Hello,

I have a RadTreeView which I need to display inside a combobox and also to be able to sort/filter through it. I can't seem to make it work using your examples from here

http://www.telerik.com/blogs/treeview-in-a-combobox-dropdown-using-radcontrols-for-silverlight and here

http://www.telerik.com/blogs/treeview-in-combobox-take-3-silverlight-3-wpf-and-radcontrols . (they don't seem to work/compile either)

What I did manage was to partly replicate the behaviour I wanted using your Rad​DropDownButton tutorial provided here: http://www.telerik.com/blogs/treeview-in-combobox-with-radcontrols-for-silverlight-or-wpf-final-take

Problem is I really need it to be sortable the way ComboBox is. Can you show me an updated example I can use to make this work?

Nasko
Telerik team
 answered on 14 Sep 2015
1 answer
73 views

I set specific cell background in grid click. But on grid scroll it set
back to default. I perefer not to use EnableRowVirtualization as False.
This is My Code:

<telerik:RadGridView ItemsSource="{Binding PersonList}" Name="grid"
Height="200" PreviewMouseUp="grid_PreviewMouseUp" >

private void grid_PreviewMouseUp(object sender, MouseButtonEventArgs e)
{
    var cell = (sender as RadGridView).CurrentCell;
    cell.Background = Brushes.Aqua;
}

 

Thank​

Ivan Ivanov
Telerik team
 answered on 14 Sep 2015
4 answers
385 views

Hi All

By any chance that I could add a new custom color in to standard color palette please ? 

 I am using RadColorPicker

Thanks in advance
Petar Mladenov
Telerik team
 answered on 14 Sep 2015
1 answer
201 views

In our product we have some buttons in the RadTabControl.AdditionalContent.

These buttons can not be found by UI automation tool, also checking with Inspect.Objects these button and the AdditionalContent are not found.

Is this supported by Telerik or do we do something wrong.

We are running on Windows 7, using telerik WPF version Wpf.40.2014.2.0729.

 Snapshot of the code:

           <telerik:RadTabControl.AdditionalContent >
                <StackPanel Grid.Row="2" Margin="10,2" Orientation="Horizontal" HorizontalAlignment="Right">

                    <!-- Help -->
                    <Button Name="btnHelp" 
                            HorizontalAlignment="Right" 
                            VerticalAlignment="Top" 
                            Margin="0,0,10,0"
                            Command="{Binding Path=ShowHelpCommand}" 
                            Style="{StaticResource HelpButtonStyle}" 
                            Visibility="{Binding HelpButtonVisibility}"
                            ToolTip="{Binding Source={x:Static frameworkResources:XmlTextProvider.Content},XPath=Help/@Header}" />

                    <!-- Logout -->
                    <Button Name="btnLogout"
                            HorizontalAlignment="Right"
                            VerticalAlignment="Top"
                            Margin="0,0,0,0"
                            Command="{Binding Path=LogoutCommand}" 
                            Style="{StaticResource LogOutButtonStyle}" 
                            ToolTip="{Binding Source={x:Static frameworkResources:XmlTextProvider.Content},XPath=Logout/@Header}" />

                </StackPanel>
            </telerik:RadTabControl.AdditionalContent>​

 

 

 

Peshito
Telerik team
 answered on 12 Sep 2015
3 answers
532 views

Hi, i'm trying to make application similar to ms.visio. I'm using RadDocking and make two RadPaneGroup in leftside and rightside. the leftside is for the list of drag&drop elements like shape,image or anything. the rightside is for the layout and i can save the layout.

the leftside is like an icon with text and when we drag it, it will show the original image/shape.

what is the best way to do that? is using RadDocking good enough? any specific controls or feature that can be used? 

Thanks,

Mirza

 

Nasko
Telerik team
 answered on 11 Sep 2015
1 answer
109 views

Hi,

why can't i use RadDiagramToolbox? RadDiagram is fine, but everytime i use RadDiagramToolbox, there is an error message 'System.Windows.Media.Animation.DoubleAnimation' animation object cannot be used to animate property 'RenderTransform' because it is of incompatible type 'System.Windows.Media.Transform'.

i'm using VS2010 and free trial Telerik

Regards,

Mirza


Martin Ivanov
Telerik team
 answered on 11 Sep 2015
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?