Telerik Forums
UI for WPF Forum
2 answers
72 views

Hello,
I have a problem with the title of the views. In my case I have 5 views:
1 - dayview
2 - WeekView
3 - WorkWeekView
4 - MonthView
5 - TimeLineView
I noticed that when I switch to workWeekView, I get the title of dayview.
I could tell how to fix this?

Thanks!

Georgi
Telerik team
 answered on 16 Mar 2012
1 answer
166 views
Hello,

i try to set the MaxWidth of a RadNumericUpDown to a Value of 20, but the ActualWidth is allways 60. Is this a bug or am I doing something wrong?

<telerik:RadNumericUpDown Name="numeric" MaxWidth="20" ShowButtons="False" ></telerik:RadNumericUpDown>


Georgi
Telerik team
 answered on 16 Mar 2012
2 answers
167 views
Good morning,

There seems to be an issue where the content of a RadTileViewItem is not visible when using the MetroTheme.
If I remove the metro theme or use a different theme then the content is visible again.

Application wide theme:
StyleManager.ApplicationTheme = new MetroTheme();

TileView control:
<telerik:RadTileView MaximizeMode="ZeroOrOne" RowHeight="200" ColumnWidth="250">
            <telerik:RadTileViewItem Header="Berkeley Park">
                <TextBlock>Test</TextBlock>
            </telerik:RadTileViewItem>
            <telerik:RadTileViewItem Header="Posh Park Developments">
                <TextBlock Margin="10">Test</TextBlock>
            </telerik:RadTileViewItem>
            <telerik:RadTileViewItem Header="King Park">
                <TextBlock Margin="10">Test</TextBlock>
            </telerik:RadTileViewItem>
            <telerik:RadTileViewItem Header="King Park">
                <TextBlock Margin="10">Test</TextBlock>
            </telerik:RadTileViewItem>
            <telerik:RadTileViewItem Header="King Park">
                <TextBlock Margin="10">Test</TextBlock>
            </telerik:RadTileViewItem>
        </telerik:RadTileView>
Robert
Top achievements
Rank 1
 answered on 16 Mar 2012
5 answers
131 views
Hi,

how can i find a row in a child grid?

before i  periodly update my itemssource for my Hierachical Gridview i save my current selecteditem in a childgrid.
After i update the Itemsource i want to expand the same parentitem and select the same Childitem as before.

How can i do this?

I hope you can understand what i mean. Sorry for my bad english

grettings Johann
Johann
Top achievements
Rank 1
 answered on 16 Mar 2012
3 answers
588 views
Hi. 
I have a RadTabControl with a data bound ItemTemplate.

I am trying to tweak the data template or radtabcontrol styling so that the individual tabs will be clearly separated for the user.

The DataTemplate is a grid. If I set the background of the grid, I get a rectangular background (ie the shape of the grid instance) that does not match the nice outline with rounded corners that is highlighted when you hover over the item with the mouse. The datatemplate item does not have a background (obviously) and setting the the TabHeaderBackGround on the RadTabControl causes the entire header (tab headers as well as the canvas backgrounds) to have this background so this does not cause the individual selectable tabs to stand out, either.

How do I set a color for the same area that is highlighted when the the mouse hovers over a tab item?
Petar Mladenov
Telerik team
 answered on 16 Mar 2012
5 answers
186 views

Hi guys,

how can I use the RadmaskedDateTimeInput scheme inside a Gridview Cell ?
I tried building my GridViewDataColum with

 

DataFormatString

 

 

="{} {0:dd.MM.yyyy}"
but there I have to type the periods, too.

I'd like to have the same behaviour as in the edit field.
I only want to type the numbers, as in:

 

telerik

 

 

:RadMaskedDateTimeInput Mask="dd.MM.yyyy"

best regards
Torsten

 

Dimitrina
Telerik team
 answered on 16 Mar 2012
1 answer
80 views
Hello,



Regarding MergeFields, Is it possible to bind a MergeField to a list of strings so that the values are displayed/rendered in the document as multiple text lines?

Thanks in advance,

Juanjo.
Boby
Telerik team
 answered on 16 Mar 2012
2 answers
240 views
I have a pie chart which can display up to 20 slices.  I have to manually set the color for each slice using a converter.

My biggest issue is that the "object value" being passed into the converter isn't the slice datapoint but is the datacontext of the entire chart. Hence, the hard-coded converter parameter (0, 1, ...) so that I know which dataPoint slice is being converted.

So my xaml looks like this (one style per slice (20) which is BAD for maintaining):
<chartView:PieSeries.SliceStyles>
     
    <Style TargetType="Path">
        <Setter Property="Stroke" Value="Gray"/>
        <Setter Property="StrokeThickness" Value="1"/>
        <Setter Property="Fill" Value="{Binding Converter={StaticResource pieChartSliceToColorConverter}, ConverterParameter=0}"/>
         
    </Style>
 
    <Style TargetType="Path">
        <Setter Property="Stroke" Value="Gray"/>
        <Setter Property="StrokeThickness" Value="1"/>
        <Setter Property="Fill" Value="{Binding Converter={StaticResource pieChartSliceToColorConverter}, ConverterParameter=1}"/>
    </Style>

Is there a different style which would eliminate the number of styles I have to maintain?  OR a different approach?

Thanks in advance.

Tracy
Tracy
Top achievements
Rank 1
 answered on 15 Mar 2012
3 answers
125 views
Dear Telerik Team!

I have a RadScheduleView Control in WeekDayView and want to show some AllDayEvents.

The Problem now is, i have defined a Start and Endtime (this is essential for the control)

<scheduleView:RadScheduleView.ViewDefinitions>
                
<scheduleView:WeekViewDefinition VisibleDays="7" Title="Wochenansicht - " FirstDayOfWeek="Monday" TimerulerMajorTickStringFormat="{}{0:HH:mm tt}" MajorTickLength="1h" MinorTickLength="30min" MinTimeRulerExtent="1" DayStartTime="06:00" DayEndTime="20:00" ShowAllDayArea="True"/>
                </scheduleView:RadScheduleView.ViewDefinitions>

So now, when i have some AllDayEvents in the AppointmentSource they will be shown in complete wrong way 
eg.: Allday Event from

08.03.2012 00:00 to 09.03.2012 00:00 will be shown from 07.03 - 08.03 in WeekDayView AllDayArea

when i delete the DayStartTime and DayEndTime Definitions, they will be shown correctly in all Views

is this a known bug ?
I need there some Solution very urgently ... 

regards
Rudi
Boyan
Telerik team
 answered on 15 Mar 2012
1 answer
111 views

Hello Team,

I am trying to
FocusVisualStyle to WPF user controls but I am not able to see the effect. Below is the XAML i am using. Please suggest me any other alternative to change the Boarder thickness.

I need to change focus behavior of the control.

Thanks for your help and support.

Thanks & Regards
Rajesh Penki

<Window x:Class="TelerikIssueApp.MainWindow"

        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

        Title="MainWindow" Height="350" Width="525"

        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">

    <Grid>       

        <Grid.Resources>

            <Style TargetType="telerik:RadDateTimePicker" x:Key="radDateTimePickerDefaulyStyleNoEnable">

                <Setter Property="telerik:StyleManager.Theme" Value="Summer"></Setter>

                <Setter Property="FontSize" Value="11" />

                <Setter Property="FocusVisualStyle" Value="{DynamicResource AllControlsFocusVisual}"/>

            </Style>

            <Style TargetType="telerik:RadMaskedTextBox" x:Key="radRadMaskedTextBoxDefaulyStyleNoEnable">

                <Setter Property="telerik:StyleManager.Theme" Value="Summer"></Setter>

                <Setter Property="FontSize" Value="11" />

                <Setter Property="FocusVisualStyle" Value="{DynamicResource AllControlsFocusVisual}"/>

            </Style>

            <Style x:Key="AllControlsFocusVisual">

                <Setter Property="Control.Template">

                    <Setter.Value>

                        <ControlTemplate>

                            <Rectangle Stroke="DeepSkyBlue" StrokeThickness="3" Margin="0,0,0,0"/>

                        </ControlTemplate>

                    </Setter.Value>

                </Setter>

            </Style>

        </Grid.Resources>

       

        <Grid.RowDefinitions>

            <RowDefinition Height="30" ></RowDefinition>

            <RowDefinition Height="30" ></RowDefinition>

            <RowDefinition Height="30" ></RowDefinition>

        </Grid.RowDefinitions>       

       

        <telerik:RadDatePicker Style="{StaticResource radDateTimePickerDefaulyStyleNoEnable}"

             Width="180" Height="22" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Grid.Row="0"/>

        <telerik:RadMaskedTextBox   Style="{StaticResource radRadMaskedTextBoxDefaulyStyleNoEnable}"

            Width="180" Height="22" HorizontalAlignment="Left"  
            
HorizontalContentAlignment="Left" Grid.Row="1"/>       

    </Grid>

</Window>

 

 

Yana
Telerik team
 answered on 15 Mar 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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?