Telerik Forums
UI for WinForms Forum
1 answer
7 views

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="AimmsApp.Task.Views.AgendaMenu"
             xmlns:resx="using:AimmsApp.Resources"
             xmlns:input="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
             xmlns:views="clr-namespace:AimmsApp.Task.Views;assembly=AimmsApp"
             Title="{x:Static resx:Resources.Agenda}">
    <AbsoluteLayout x:Name="mainLayout">
        <input:RadCalendar x:Name="calendar" ViewMode="Agenda" AppointmentsSource="{Binding Appointments}">

            <input:RadCalendar.AgendaViewSettings>
                <input:AgendaViewSettings MonthItemFormat="YYYY MMM"
                                          WeekItemStartDateFormat="dd MMMM"
                                          WeekItemEndDateFormat="dd"
                                          DayItemFormat="EEE d MMM"
                                          AppointmentItemTimeFormat="HH mm"
                                          AppointmentItemEndDateFormat="MMM d"
                                          AppointmentItemStartDateFormat="MMM d" 
                                          IsHeaderSticky="True" 
                />
            </input:RadCalendar.AgendaViewSettings>
            <input:RadCalendar.BindingContext>
                <views:CalendarView />
            </input:RadCalendar.BindingContext>

        </input:RadCalendar>
    </AbsoluteLayout>
</ContentPage>

 

I tried with scheduler but there is no agenda view maybe somehow with dayview and remove the hours?

Nadya | Tech Support Engineer
Telerik team
 answered on 11 Mar 2024
2 answers
8 views

Is there a way, to get the RadCalendar to view similar to the calendar view in OUTLOOK.

This is what I am looking for:

Nadya | Tech Support Engineer
Telerik team
 answered on 06 Mar 2024
1 answer
114 views

Is there no API that basically provides?

It looked okay at first because it was implemented like the code below. However, pressing Next Button will not update on days other than that month.

        private void radCalendar1_ElementRender(object sender, RenderElementEventArgs e)
        {
            if (e.Day.Date.Year == DateTime.Now.Year
                && e.Day.Date.Month == DateTime.Now.Month
                && e.Day.Date.DayOfWeek == DayOfWeek.Sunday)
                     e.Element.ForeColor = Color.Red;
        }

First

After, Next Button Click

 

Maria
Telerik team
 answered on 10 Oct 2022
0 answers
62 views

Changed font and height of navigation bar.

However, you cannot change the size and location of the Previous/next button. What should I do?

HyenBae
Top achievements
Rank 1
 updated question on 06 Oct 2022
1 answer
84 views

hi

How to localization  the calendar in the filter radgridview

image atached

 

thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Jan 2022
1 answer
67 views
   

hi tanks for all controls

what by MouseWheel change mount in radtimepicker and calander

 

Sample code not work!
private void radDateTimePicker_RootElement_MouseWheel(object sender, MouseEventArgs e)
        {

            if(e.Delta>0)
            {

                radDateTimePicker.Value.AddMonths(1);

            }
        }

           

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Jan 2022
1 answer
62 views

hi

i have tow problem

1-how to change backcolor all friday(days) on calendar(datetimepicker)

my code not work


private void radDateTimePickerStart_ElementRender(object sender, RenderElementEventArgs e)
        {
            if (e.Day.Date.DayOfWeek==DayOfWeek.Friday)
            {
               
                e.Element.BackColor = Color.Red;


            }
           
        }

2-in atache image

title calendar not change CultureInfo("fa-IR", true);

Dinko | Tech Support Engineer
Telerik team
 answered on 07 Jan 2022
2 answers
103 views

Hi guys,

I am new in the C# winform design and I am trying to create a scheduler to help manager organize employee timesheet and do the punch-in punch-out. There are couple things I need some helps.

1) When I am reading the help form, I found a video about introduction of RadScheduler. https://www.youtube.com/watch?v=RHgMwE2vlsc&t=10s

But when I'm going to Blogs.telerik.com/robertshoemate I cannot find source code. Could you tell me where I can find source code? That really help me to understand how radscheduler working

2)

When I am desining Radscheduler form, The UI is always said "new appointment" and when I click "add new appointment" button the edit appointment textbox is setup in specifc form (I attached picture down below)

Could tell me where I can design this edit_appointment form? I want to change this UI. For example, change the subject Name or delete couple textbox

Regards,

Mike

Mike
Top achievements
Rank 1
Iron
Iron
 answered on 20 Dec 2021
0 answers
61 views

hi

how handling error

System.ArgumentOutOfRangeException: 'Day must be between 1 and 29 for month 12.

Parameter name: day'

 

i try handling in key peress but show error

my cod is

 

                                        

public static bool CheckIsLeapYear(DateTime date)
        {
            PersianCalendar pc = new PersianCalendar();
            int year, day;
            year = pc.GetYear(date);
            day = pc.GetDayOfMonth(date);
            bool result = false;
            bool isleapyear = false;
            isleapyear = pc.IsLeapYear(year);
            if (isleapyear!=true && day>29)
            {
                result= true;


            }
            return result;



        }

 

----------------------------------------------------------------------------------------------------

 

 

 private void radDateTimePickerDateOfBirth_KeyDown(object sender, KeyEventArgs e)
        {
           

            
           
                if (CheckIsLeapYear(radDateTimePickerDateOfBirth.Value))
                {


       
                radDateTimePickerDateOfBirth.Value = DateTime.Now;
                 
                }
            }


ebrahim
Top achievements
Rank 1
Iron
Iron
 asked on 08 Dec 2021
7 answers
537 views
Is it just me or is there a feature missing from the RadControls DateTimePicker that is in the normal DateTimePicker from Microsoft...

I am looking to activate this as shown here. in the RadDateTimePicker

I looked though all the over and over again and was not able to find it.

Thank you
Michael
Top achievements
Rank 1
Iron
 answered on 19 Nov 2021
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Buttons, RadioButton, CheckBox, etc
DropDownList
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
Menu
RichTextEditor
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Barcode
Styling
ColorBox
PictureBox
Callout
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?