Telerik Forums
UI for WPF Forum
1 answer
196 views
Hi,

1. In an earlier forum thread, you stated that 24-hour format functionality was coming soon. Is this functionality implemented atm? If so, how do I change my ScheduleView to use the 24-hour format?

2. In the application I am developing at the moment, I really want to be able to place the buttons (ex. the forward and backward buttons) in the NavigationHeader at some other place on the outside of the ScheduleView. Is this possible in the current version of ScheduleView?

As an elaboration of question 2, I basically want to only use the schedule-part of the ScheduleView in my application. The navigation buttons in addition to the appointment creation-, editing-, and deletion-functionality should be handled in my own code.
Konstantina
Telerik team
 answered on 24 Jun 2011
3 answers
114 views
In telerik:RadDocking, we can either specify in XAML or in CS if we want to turn off/hide items on the compass. Unfortunately what I want to do doesnt seem to be so straight forward.
 
Is it possible to either remove items from the central docking preview, while leaving their counterpart on the outer docking preview? (Ie remove the left arrow on the center of the screen but keep the left arrow on the left edge of the window). This would be much easier if i could insert an image in the code snippet!

Anyway, if this cannot be done, for any reason, an alternate solution that would help my cause would be a code behind solution maybe in the PreviewWindowClose event or something, so that I could just tie the two compass events together, ie the center of the window left facing dock arrow would dock the panel on the left edge of the screen, in the same place that the left dock arrow on the edge of the screen would dock it.

Any tips or hints to get me going in the right direction here would be greatly appreciated, thanks!

 

Konstantina
Telerik team
 answered on 24 Jun 2011
8 answers
168 views
Hello,

I have created an application using the ScheduleView control and would like to persist the appointments.  If I try to use typical serialization methods, I get an exception saying that AppointmentBase is not serializable.  Does anyone know what the best approach is to save appointments to a file?

Thanks,
Mark
Yana
Telerik team
 answered on 24 Jun 2011
3 answers
554 views
Hello,

I need to place edit and delete buttons upon display of the appointments/scheduler, to make the scheduler neat, I would like to disable/override mouse over event, so that the little "x" button wouldn't display anymore.

Appointment template editing can be done to insert the edit/delete buttons, but I don't know how to go about overriding the mouse over event on the appointment control. If anyone can assist me how to do it or give me a different way of looking at it. A sample code would be appreciated.
Pana
Telerik team
 answered on 24 Jun 2011
8 answers
247 views
I would like the mask of a maskedtextbox to be bound to a dropdown or other on the viewmodel parent in a gridview.

I need to be able to switch between hh-mm-ss input and mm-ss input.

How do I implement this??

Tina Stancheva
Telerik team
 answered on 23 Jun 2011
6 answers
89 views
Hi.

I am loading a bar chart with data from an SQL connection. I am colouring the bars using the following:

<Setter Property="Template" >
            <Setter.Value>
                <ControlTemplate TargetType="telerikCharting:Bar">
                    <Rectangle x:Name="PART_DefiningGeometry"
                                   Height="{TemplateBinding ItemActualHeight}"
                                   Width="{TemplateBinding ItemActualWidth}"
                                   Style="{TemplateBinding ItemStyle}" Fill="Red">
                    </Rectangle>
                </ControlTemplate>
            </Setter.Value>
        </Setter>

I need the colour of a bar to change when I move my mouse over it and change back when I move away from it. It shouldn't change back to its original colour if I click on it. How do I accomplish this?

Thanks.
Anand
Anand
Top achievements
Rank 1
 answered on 23 Jun 2011
4 answers
125 views
In my RadGridView I'm getting an invalid cast exception from CalculateAggregates when my aggregate function defined below is invoked:

var totalColumnAggregate = new AggregateFunction<DataRow, int?>
{
    AggregationExpression = target => target
        .AsQueryable()
        .Select("new(it[\"Foo\"] AS Foo)")
        .Cast<int?>()
        .Sum()
};

Any suggestions as to why?

Also, on another note, would the following be valid? (I'm trying to build this Select expression on the fly using Dynamic Linq Library)

.Select("new(it[\"Foo\"] AS Foo) + new(it[\"Bar\"] AS Bar) + new(it[\"FooBar\"] AS FooBar)")
Pete
Top achievements
Rank 1
 answered on 23 Jun 2011
7 answers
184 views
When I drag between two list boxes the mouse location and the start of the cue arrow (with the Icon) is offset a couple of inches down and to the right and it seems to offset the target location too..
2011 Q1 version. Vanilla DragTemplate 

 

 

<DataTemplate

x:Key="DragTemplate">

<Image Source="{Binding IconPath}" Stretch="None" VerticalAlignment ="Top" />  

 

</DataTemplate>

Thoughts?

 

 

I'll add a screen shot if I figure out how to do that..

Tsvyatko
Telerik team
 answered on 23 Jun 2011
6 answers
184 views
Hello,
I use RadGridView with DetailsPresenter together and I want to have DetailsPresent permanently displayed, even if no row is selected or datasource is empty (displayed controls can be empty and non editable in this case).
Thank you very much.
Leos
WPF Q2 2010 SP1
Jonx
Top achievements
Rank 2
 answered on 23 Jun 2011
5 answers
155 views
Dear Telerik,

I've updated our application to the .Net 4 version or Q3 WPF, i'm using the trial whilst the full version is being purchased. (2010.3.1119.40)

Our app was built using Q1 2010. 

I've updated the assemblies, and now the databinding for telerik controls has stopped working.  Lets say I have a view model with a bunch of properties, half of which are bound to telerik controls, and half of which are bound to standard controls. They are all bound to update their source on PropertyChanged. The standard controls still update their view model property, but the telerik controls do not.

help!

thanks
Pete
Konstantina
Telerik team
 answered on 23 Jun 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?