Telerik Forums
UI for WPF Forum
1 answer
310 views
Hello,
I've done a new template and style to a RadComboBox, but now I can't find where to style the SelectionBox(Item).
I don't want the behavior that is generated by the office theme.

Where can i edit those properties?

Thank you!
Dani
Telerik team
 answered on 22 Jul 2011
1 answer
88 views
Hello guys,
we're getting an "InvalidOperationException" in RadGridView that can be reproduced in your WPF 2011 Q2 Demo.

- please start "RadControls for WPF Q2 2011 Demos"
- select Highlights --> GridView
- select the first row by clicking with the mouse (Nancy)
- press "enter" two times --> all ok
- sort the list clicking on a column heading, i.e. "Phone"
- press "enter" --> Exception !!!!

If necessary I could send you a stack trace from the same exception we're experiencing in our application.

Best regards
Oliver
Yordanka
Telerik team
 answered on 22 Jul 2011
4 answers
182 views
How to bind HTML to a viewmodel property?
Iva Toteva
Telerik team
 answered on 22 Jul 2011
4 answers
339 views
Hi,

is there a way to implement the Count and Average Functions only for selected Rows?

Regards,
Thomas
Thomas
Top achievements
Rank 1
 answered on 22 Jul 2011
1 answer
120 views
Hi,

My application has a requirement to limit the symbols that can be inserted into the RichTextBox control.  How do I customize the Insert Symbol dialog to achieve that?  In addition, I have similar requirements for the FontPropertiesDialog to limit the font family selection.

Thanks,

Paul
Ivailo Karamanolev
Telerik team
 answered on 22 Jul 2011
12 answers
664 views

Hi,

I would like to run a storyboard which will effect the border when a user enters a cell. I presume this can be achieved through a trigger.
Alternately / also I would like show a different control template, when the enters the cell and leaves the cell

My problem is that I do not which property to attach the trigger to.

for my column style I am using this ControlTemplate.

 

 

 

 

 

<ControlTemplate x:Key="DataBoundColumnCustom" TargetType="{x:Type telerik:GridViewCell}">

 

 

 

 

 

 

<ControlTemplate.Triggers>

 

 

 

 

 

 

<Trigger>

 

 

 

 

 

 

 

</Trigger>

 

 

 

 

 

 

</ControlTemplate.Triggers>

 

 

 

 

 

 

<Border CornerRadius="2,2,2,2" Background="Cornsilk" Opacity="50" >

 

 

 

 

 

 


</
Border>

 

 

 

</ControlTemplate>

 

 

 

 

 

 

Maya
Telerik team
 answered on 22 Jul 2011
1 answer
338 views
Hi,

I am looking for a way to have a button as the first item in a combobox list just like the clear button. However I dont want to clear the selectedItem but want the user to be able to create a new item for the combox list via a popupwindow and then put that new item as the selected item.

I have not been able to catch the event when clicking on the clear btn. is that possible to catch it? 

Or some other idears ?

Thanks

Ole
Pana
Telerik team
 answered on 22 Jul 2011
3 answers
150 views
hi

i had a numeric column in wpf rad grid,that column can be edited also.
all the validation are done through code only.
but i had an issue,when i try to enter any characters in that column,the grid is restricting me to any other operations in that application.
if any characters enter in that column and go for next operation,our application will valiadate and dispaly a message box showing only numeric values is accepted.
but i cannot display this message since the grid is restrcting me to do any other operation.
how we can disable this builtin valiadation of wpf radgrid.
any property and any other code for disabling is avaliable or not
Maya
Telerik team
 answered on 22 Jul 2011
3 answers
131 views
I am converting an outlook apppointment to a scheduleview appointment, in converting the recurrence I am trying to build a RecurrenceDays, I may be missing something but I have not been able to find any documentation on building a RecurrencePattern from scratch so I am winging it.

When I step through the code below everything is fine except RecurrenceDay.AddDay doesn't do anything, The result is that telerikdays is always None. What am I missing?


pat.Frequency = RecurrenceFrequency.Weekly;
pat.MaxOccurrences = week.NumberOfOccurrences;
Microsoft.Exchange.WebServices.Data.DayOfTheWeekCollection days = ((Microsoft.Exchange.WebServices.Data.Recurrence.WeeklyPattern)week).DaysOfTheWeek;
RecurrenceDays telerikdays = new RecurrenceDays();
 
foreach (DayOfWeek d in days)
{
    switch (d)
    {
        case DayOfWeek.Friday: telerikdays.AddDay(RecurrenceDays.Friday); break;
        case DayOfWeek.Saturday: telerikdays.AddDay(RecurrenceDays.Saturday); break;
        case DayOfWeek.Sunday: telerikdays.AddDay(RecurrenceDays.Sunday); break;
        case DayOfWeek.Monday: telerikdays.AddDay(RecurrenceDays.Monday); break;
        case DayOfWeek.Tuesday: telerikdays.AddDay(RecurrenceDays.Tuesday); break;
        case DayOfWeek.Wednesday: telerikdays.AddDay(RecurrenceDays.Wednesday); break;
        case DayOfWeek.Thursday: telerikdays.AddDay(RecurrenceDays.Thursday); break;
    }
}
 
pat.DaysOfWeekMask = telerikdays;

Pana
Telerik team
 answered on 22 Jul 2011
7 answers
346 views
I am using the RadTabControl to host UserControls within its tabs.  Its ItemsSource property is set to an ObservableCollection<UserControl>.  So, to properly name these tabs I had planned to create a HeaderTemplate and simply bind to the Name property of my UserControl, converting it to a user friendly string of course.  To do this I used the following:

TabControl declaration:
<telerik:RadTabControl x:Name="radtabVariableControlsContainer" Margin="0" d:LayoutOverrides="GridBox" Grid.Column="1" BorderBrush="{x:Null}" ItemsSource="{Binding MainContentControls}" SelectedItemRemoveBehaviour="SelectPrevious" ItemContainerStyle="{StaticResource MainContentItemContainerStyle}"/>

ItemCotainerStyle:
<Style x:Key="MainContentItemContainerStyle" TargetType="{x:Type telerik:RadTabItem}">
            <Setter Property="HeaderTemplate" Value="{StaticResource ContentAreaTabHeaderTemplate}"/>
        </Style>

Finally, the HeaderTemplate:
<DataTemplate x:Key="ContentAreaTabHeaderTemplate">
            <TextBlock Text="{Binding Name, Converter={StaticResource TabHeaderTextConverter}}" FontFamily="Arial" FontSize="13.333"/>
        </DataTemplate>

With this setup, nothing shows up for the header text.  The converter is not the issue because removing it does not solve the problem.  It seems to be that the Binding cannot execute at Runtime because when editing the template in Blend, the Binding works and shows the correct value.  Also, putting any clear text in for the textblock's text property works.
Adam
Top achievements
Rank 1
 answered on 21 Jul 2011
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?