Telerik Forums
UI for WPF Forum
3 answers
493 views

We have a requirement of building an editable grid that looks something like below. Can you tell us if this is possible with minimal work using any of your controls.. including pivot control if possible. We are looking at purchasing around 8-10 developer licenses. Remember the control must support 2-way binding such that if a user changes any data in the grid, then it must correctly update the field of the correct element in the object collection:

 

Date

1/1/2012

1/2/2012

1/3/2012

1/4/2012

Customer

Cust 1

Cust 2

Cust 3

Cust 4

Bill Amount

100

200

120

50

 

As you can see it is basically a transposed list and the data format is per row/cell and not per column. Will really appreciate if someone can point me to the control that would fit this need with some directions/links etc. Also the no. of columns will be dynamic, so the grid needs to generate the appropriate no. of columns at runtime.

Dimitrina
Telerik team
 answered on 23 Jul 2014
1 answer
139 views
Hi,

I check your Datamodel at http://www.telerik.com/help/wpf/radscheduleview-populating-with-data-binding-to-db-sources.html

And I also downloaded your xamlskd example (ScheduleView_WPF - WithDB).

My problem - there is an interface IExceptionOccurence with the properties Appointment and ExceptionDate.
Appointment references the originating recurrent appointment.

But I don't understand the property ExceptionDate.
To check I did:
a.) Create a recurring appointment (every day at 9:00)
b.) Changed one occurrence to 10:00
c.) Changed that occurrence to 11:00

What I got is
b.)- added an ExceptionAppointment and an EceptionOccurrence pointing to the original Appointment
-- ExcpetionAppointment Start and ExceptionOccurrence Exception Date have 10:00 as value
c.) - changed the Start in the ExceptionAppointment to 11:00 - but did not change the ExceptionOccurrence - ExceptionDate

Further I manually changed the ExceptionOccurrence Exception Date -- that has no effect at all
But when I change the StartDate of the ExceptionAppointment the thing move in the Scheduler.

So what is this "ExceptionDate" in the IExceptionOccurence?

Manfred
George
Telerik team
 answered on 22 Jul 2014
3 answers
199 views
Hi,

I did the following.
Added a recurring (Daily) Appointment for 2014/07/21 and an exception (changed Time) for 2014/07/22.

With this data I called thisAppointment.GetOccurrences(new DateTime(2014, 7, 1), new DateTime(2014, 7, 10))

From my point of view I should get nothing since the first occurrence of the appointment is at 2014/07/21.
What I get instead is the exception from 2014/07/22.

So asking for an occurrence int the range from 2014/07/01 to 2014/07/10 I get one at 2014/07/22.

Manfred
Vladi
Telerik team
 answered on 22 Jul 2014
2 answers
397 views
I'm attempting to use the PersistenceFramework with a GridView control for the first time using the example shown here:
http://www.telerik.com/help/wpf/persistence-framework-getting-started.html

I'm importing the namespaces:
Imports Telerik.Windows.Controls
Imports Telerik.Windows.PersistenceFramework
Imports Telerik.Windows.Persistence.Storage

I have the StorageID set in my GridView:
<telerik:RadGridView Name="gvComp" telerik:StyleManager.Theme="Office_Black"  AutoGenerateColumns="False" FrozenColumnCount="3" telerik:PersistenceManager.StorageId="gvComp_Layout" EditTriggers="CellClick,TextInput,CurrentCellClick" ShowColumnFooters="True" ShowGroupFooters="True" VerticalAlignment="Stretch">

I'm saving and loading grid when the app closes and loading the grid when it opens:

Dim isoProvider As New IsolatedStorageProvider()
isoProvider.SaveToStorage()
 
Dim isoProvider As New IsolatedStorageProvider()
isoProvider.LoadFromStorage()

When LoadFromStorage() runs I get the error:  "Token not valid" 
Can someone please give me some idea what I've done wrong?  This seems really simple in the example.

Using this method will save the grid settings between application uses correct? 

Thank you for the help.

Zarko
Telerik team
 answered on 22 Jul 2014
3 answers
171 views
 {"Value cannot be null.\r\nParameter name: handler"}
 at System.Windows.UIElement.RemoveHandler(RoutedEvent routedEvent, Delegate handler)
   at Telerik.Windows.Controls.DoubleRangeBase.remove_SelectionChanged(RadRoutedEventHandler value) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Slider\DoubleRangeBase.cs:line 104


{"Exception has been thrown by the target of an invocation."}
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at Telerik.Windows.Data.WeakEvent.WeakListener`1.Unsubscribe() in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\WeakEvents\WeakEvent.cs:line 67
   at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\WeakEvents\WeakEvent.cs:line 39


Click the Change button, the error occurs several times.

[MainWindowsViewModel.cs]

    private bool flag;
        void ChangeDateCommandEx(object o)
        {
            ItemsSource = GetTimelineDatas();

            EndDate = DateTime.Today;
            StartDate = flag ? EndDate.AddDays(-5) : EndDate.AddDays(-295);  // -295 => -294 (No Exception)
            flag = !flag;
        }

[Attach sample file]
http://l.bitcasa.com/VMi0hv5l
Paul
Top achievements
Rank 1
 answered on 22 Jul 2014
9 answers
190 views
Hi, 

I have a canvas with an image in background on a simple diagram, because I needed zoom in this image. This part is not problem. I need that the canvas shows in the RadDiagramNavigationPane because I only see the shapes of the diagram. 

Thanks for your help!


Pavel R. Pavlov
Telerik team
 answered on 22 Jul 2014
3 answers
147 views
Hi,

I use the ScheduleView control with a week view definition. In my scheduleview for each day of the week I have different resources (ie: Room 1, Room 2, etc...). In the control, the "AppointmentsSource" contain multiple appointments and the "SpecialSlotsSource" contain ClosedSlots and FreeSlots. I would like to know if it's possible to navigate through the appointments only, using the UP/DOWN/LEFT/RIGHT and navigate through the freeslots only using the CTRL+UP/CTRL+DOWN/CTRL+LEFT/CTRL+RIGHT?

Thank's
Alain
Konstantina
Telerik team
 answered on 22 Jul 2014
3 answers
136 views
I am trying to format the header string that is bound to an item from the view model.

eg

Header="{Binding EstimateTakeoffService.SelectedEstimate.Title, StringFormat='Estimate Information: {0}'}"

This doesn't show the "Estimate Information:"

Why does this not work?

Many thanks

Ed
Edmund Covington
Top achievements
Rank 1
 answered on 22 Jul 2014
2 answers
85 views
I created a custom Appointment (ScheduledItem) and a custom EditAppointmentDialogWindow style with a ViewModel.When running the application my properties are filled in, but when I hit the OK button, the changes are not reflected in the ScheduleView.
It also seems that the BeginEdit, CancelEdit and EndEdit methods of the custom ScheduledItem are not called. I supposed I have to call them from my DialogViewModel?But what do I have to do to confirm the changes in the custom appointment object, so they will be reflected in the ScheduleView?
Jim
Top achievements
Rank 1
 answered on 22 Jul 2014
0 answers
129 views
Hi, I am looking for a RadComboBox  control which is in editable mode and can make suggestions similar to AutoCompleteBox control.
any suggestion  appreciated
Ghasem
Top achievements
Rank 1
 asked on 22 Jul 2014
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
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
SplashScreen
Rating
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?