Telerik Forums
UI for WPF Forum
2 answers
133 views
Hi,

how can I avoid that a property grid overrides a TextBox's error template. I do not want to see the red triangle and red sliding tooltip there. Could not locate the right place in styles (Office Black).

Thanks.
Arthur
Top achievements
Rank 1
 answered on 15 Jan 2015
3 answers
156 views
Greetings,

I am using the RadScheduleView (2014.2.617.45) with the TimeLineViewDefinition. I created a button that allows the user to increase and decrease the MinAppointmentHeight during runtime. This is done through a binding to a double property on the corresponding viewmodel. By clicking the button, the property is increased/decreased by a constant value. The binding uses Mode="Default" so that the appointments will initially be scaled according to the size of the ResourceGroupHeaders.

Our problem is that once the user changes the MinAppointmentHeight for the first time, the ScheduleView seems unable to render correctly. You can see the difference in the attached screenshots. Image 1 shows the scheduler before any changes to the MinAppointmentHeight, while Image 2 shows the invalid rendering. Somehow, this only happens after the first change to MinAppointmentHeight. Every following change will cause the scheduler to render correctly again.

Could you please evaluate if this is indeed a bug? If so, would you be so kind to see if you could find any reasonable workaround until it is fixed?

Kind regards,
Hendrik
Kalin
Telerik team
 answered on 15 Jan 2015
1 answer
76 views
I have an collection of Employee objects who have a collection of Assignment objects as a property.  The Assignment object has an Employee object property.

I have another collection of "Unassigned" Assignments.

UI-wise I want to drag and drop from the Unassigned RadListBox to the assignment RadListBox of an Employee.

I have the drag and drop down. What I am missing is updating the Assignment.Employee property after an Assignment is dropped into the Employee.Assignments collection.  I have looked at overriding the DragDropBehavior,  but I do not see a way of accessing the data object that contains the DestinationItemsSource.

Help?
Kalin
Telerik team
 answered on 14 Jan 2015
6 answers
325 views
Hi

I get the following error warning when exporting and 'xls' extension:

'The file you are trying to open is in a different format than specified by the file extension.  Verify that the file is not corrupted and id from a trusted source before opening the file.  Do you want to open the file now?'

This happen in the online demo and in my program.  How do I prevent this message from occurring?

I am using Excel 2010 and the latest Telerik libraries

Thanks
Rich
Josh K
Top achievements
Rank 1
 answered on 14 Jan 2015
1 answer
406 views
Hi,

We're using the office 2013 theme and as a result, the headers of our gridviews show the text in uppercase.  This is expected due to the theme.

However, we'd like to have the header not uppercase this text.  The way we currently have our application using the theme is by including the various xaml files (including Telerik.Windows.Controls.GridView.xaml) as resource files and then we merge these in.

So we tried changing the following:

<ControlTemplate x:Key="CommonColumnHeaderTemplate" TargetType="grid:CommonColumnHeader">
        <Grid x:Name="PART_HeaderCellGrid" Background="Transparent">
            <Border x:Name="GridViewHeaderCell"
                    Background="{TemplateBinding Background}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Margin="-1 0 1 0"/>
            <ContentControl x:Name="ContentPresenter"
                    Content="{Binding Content,Converter={StaticResource UppercaseConverter},RelativeSource={RelativeSource TemplatedParent}}"
                    ContentTemplate="{TemplateBinding ContentTemplate}"
                    VerticalAlignment="Center"
                    VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
                    Margin="{TemplateBinding Padding}"
                    HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"/>
        </Grid>
    </ControlTemplate>

To this:

<ControlTemplate x:Key="CommonColumnHeaderTemplate" TargetType="grid:CommonColumnHeader">
        <Grid x:Name="PART_HeaderCellGrid" Background="Transparent">
            <Border x:Name="GridViewHeaderCell"
                    Background="{TemplateBinding Background}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Margin="-1 0 1 0"/>
            <ContentControl x:Name="ContentPresenter"
                   
Content="{Binding Content,RelativeSource={RelativeSource TemplatedParent}}"                <----- CHANGE IS HERE
                    ContentTemplate="{TemplateBinding ContentTemplate}"
                    VerticalAlignment="Center"
                    VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
                    Margin="{TemplateBinding Padding}"
                    HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"/>
        </Grid>
    </ControlTemplate>

But we think this must not be the right place to make the change.  Could you direct us to what we should change to get the header text showing with regular (not upper) casing?  Thanks!
Dimitrina
Telerik team
 answered on 14 Jan 2015
1 answer
122 views
Hi everyone !
I discovered Telerik few weeks ago and i try to use it since, but i have a problem :

I have one RedCartesianChart with a ChartView. I also have a checkBox which add another ChartView (in the same RedCartesianChart) when checked. How can i assign a tooltipTemplate for each chart ?

I try with something like : TooltipTemplate="{StaticResource MyTooltipTemplate}", but it applies the template for the whole RedCartesianChart and not just for one ChartView

I can add the source if needed.

All tips are welcome !
Thanks
Petar Marchev
Telerik team
 answered on 14 Jan 2015
1 answer
144 views
Simple question. I got my RadLegend element besides my RadCartesianChart with 6 series inside of them. (https://dl.dropboxusercontent.com/u/55589036/Pictures/Screenshots/20150112135601.png)

How can I force the RadLegend to display its items in a row instead of a column?
Petar Marchev
Telerik team
 answered on 13 Jan 2015
5 answers
1.5K+ views
How can i change the border color of combobox when it has keyboard focus, I am trying to change this in combo box style but it has no effect

<Border x:Name="FocusVisual" BorderBrush="#FFFFC92B" BorderThickness="{TemplateBinding BorderThickness}" Grid.ColumnSpan="2" CornerRadius="1" IsHitTestVisible="False" Visibility="Collapsed">
<Border BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0"/>
</Border>

Also is there any example that shows how to change several other colors, like background of combo box button chrome, color on mouse over, color when drop down is open, mouse over for items
Are there static brushes for any of these or i have create whole new style

I am using implicit styles

thanks
Vikas
Nasko
Telerik team
 answered on 13 Jan 2015
1 answer
354 views
Hi,

I have a contextual menu with submenu and some of them are bound to an items source. I use DropDownHeight to limit the height of a sub menu but since the quantity of item displayed can change, it happens that I have space left at the end of my menu when there isn't a lot of item. Is there a way to set a maximum height to the drop down, that doesn't impose a minimum ?

Thank you,

Etienne
Kalin
Telerik team
 answered on 13 Jan 2015
0 answers
87 views
Hi,

I must export PDF file but it must be PDF/A format. How can i do this?
burk
Top achievements
Rank 1
 asked on 13 Jan 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?