Telerik Forums
UI for WPF Forum
8 answers
373 views

Hi

I'm developing a management software for a multi-doctor study.
To organize their appointments I need to fill in the following fields:
Patient - with PatientId
Doctor - with DoctorId
Surgery - With SurgeryId
Service - With Serviceid
Date of appointment
Start date and time
End date and time
and other fields yet.
So, to create an appointment, I need to create an interface that can allow the choice of patients, doctors, surgeries, services from the related tables.

How can I achieve all this?
do I have to go through the custom appointment technique?
or can I replace it with a totally customized interface?
if so, how can I intercept the creation / modification of it?
thank you in advance
Gianfranco

Gianfranco
Top achievements
Rank 1
 answered on 16 May 2018
3 answers
259 views

Hello,

I am trying to maintain group header template hierarchy to make group and sub-groups. I was able to use the example GroupingAndFilteringWithTreeView to understand how the grouping works. This is the simplified code that I was able to implement to see the grouping in action:

<telerik:RadScheduleView AppointmentsSource="{Binding Appointments}">
            <telerik:RadScheduleView.ViewDefinitions>
                <telerik:TimelineViewDefinition StretchGroupHeaders="True" />
            </telerik:RadScheduleView.ViewDefinitions>
            <telerik:RadScheduleView.GroupDescriptionsSource>
                <telerik:GroupDescriptionCollection>
                    <telerik:ResourceGroupDescription ResourceType="Airlines" />
                    <telerik:ResourceGroupDescription ResourceType="Segregations" />
                </telerik:GroupDescriptionCollection>
            </telerik:RadScheduleView.GroupDescriptionsSource>
            <telerik:RadScheduleView.ResourceTypesSource>
                <telerik:ResourceTypeCollection>
                    <telerik:ResourceType Name="Airlines">
                        <telerik:Resource ResourceName="Airline 0" />
                        <telerik:Resource ResourceName="Airline 1" />
                    </telerik:ResourceType>
                    <telerik:ResourceType Name="Segregations">
                        <telerik:Resource ResourceName="Segregation 0" />
                        <telerik:Resource ResourceName="Segregation 1" />
                        <telerik:Resource ResourceName="Segregation 2" />
                    </telerik:ResourceType>
                </telerik:ResourceTypeCollection>
            </telerik:RadScheduleView.ResourceTypesSource>
</telerik:RadScheduleView>

Here, Appointments is just a new ObservableCollection with no appointments as AppointmentsSource.

This is the output I see:

Airline 0

  •      Segregation 0
  •     Segregation 1
  •     Segregation 2

Airline 1

  •     Segregation 0
        Segregation 1
        Segregation 2

What I see is that segregations are repeated for each Airline. And Both Airline and Segregation group headers template have the same Style and template applied to them.

However, I have a case where, for example, Airline 0 might have Segregation 3 and 4, whereas Airline 1 may have Segregation 5 and 6. I am trying to achieve this grouping:
Airline 0
     Segregation 0
    Segregation 1
    Segregation 2

Airline 1
    Segregation 3
    Segregation 4
    Segregation 5

Question 1: Can I achieve the above custom grouping behaviour? I was not able to find an example for it.

Question 2: If the above behaviour is possible, Can I have different templates for Airline and Segregation?

I hope I was able to explain my problem clearly. Looking forward to your reply.

 

Stefan
Telerik team
 answered on 16 May 2018
3 answers
1.6K+ views

I am using a context menu that gets loaded in the "CellLoaded" event for some cells (i.e. I want the context menu in some columns, but not in others).  I have this working beautifully except for one minor problem.  When the user right-clicks the cell, the row selection doesn't change.  So, if I right-click a cell that is not in the active row, the context menu is for a cell that is in an unselected row.  The visual of this is not satisfactory to the client.  "IsSynchronizedWithCurrentItem" works great for left-clicks, but doesn't seem to have any effect for right-clicks.  Is there an easy way to fix this so that if I right-click on a cell, the row selection changes to match?

I've been trying to do this using the grid's "ContextMenuOpening" event, but there doesn't seem to be enough information available in the arguments to tell me which row was clicked on.

Any help would be much-appreciated.

Thanks!

Brad.

Stefan
Telerik team
 answered on 16 May 2018
1 answer
796 views

Hello,

Is it possible to;

1. Rename default Ok and Cancel buttons as Yes and No.

2. Have a third button (and dialogresult) in predefined confirm dialog?

Thanks

Martin Ivanov
Telerik team
 answered on 16 May 2018
1 answer
159 views

I have a scenario where I have an ordinary RadGridView and the user selects items from that grid. Those items then become the top level itemSource in the TreeListView. When Engine is selected in the main grid it is both in the top level items and it's a child of one of the other items i.e. vehicle causing a blank line to appear when expanding the child nodes.

Mat.

-Vehicle

--Engine

--Body

Stefan
Telerik team
 answered on 16 May 2018
10 answers
182 views
Please have a look at this link WPF built in dialogs

I simple don't understand way the predefined dialogs don't mirror the dialogs in WPF.

The reason I am using Telerik dialogs is that the are skinable and now I have to use wpf standard dialogs just because I want YesNoCancel buttons 
You can do better
 
Martin Ivanov
Telerik team
 answered on 16 May 2018
1 answer
164 views

hi, i want to make application like this, is this using treeview or just listview ?

if so, how to make it ? can you give me an example 

i appreciate your answer honestly..

 

 

thanks,

Stefan
Telerik team
 answered on 16 May 2018
1 answer
333 views

Hello,

 

I'm creating a telerik RadWizard App with dynamic wizardpages (c#).

 

Currently only the next and previous buttons seem to be doing something, whenever i click on cancel / finish, my application doesn't do anything.

 

How can i control this behavior?

 

Regards

Ricardo
Top achievements
Rank 1
 answered on 16 May 2018
2 answers
183 views

Hi,

I'm having an issue with the diagram, all my shapes have the rotation adorner enabled so i can rotate them with the mouse, however you need to to go to the center of the icon to be able to grab it and start the rotation.

 

I tried to change the FontSize of the textblock, i tried to put a border around the textblock and also i tried to change the telerik textblock to an image but they all seem to fail.

No matter how big the "RotationAdorner" is you always need to click the center in order to rotate shapes, which in tablet mode makes it really hard to use, is there any way i can change this?

 

Thanks

ODB
Top achievements
Rank 1
 answered on 16 May 2018
3 answers
111 views

Is it possible to add items to a TreeListView dynamically. Any sample code?

Dinko | Tech Support Engineer
Telerik team
 answered on 15 May 2018
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
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?