Radscheduler - DayView - Selected Timeslots

18 posts, 0 answers
  1. Markus
    Markus avatar
    28 posts
    Member since:
    Oct 2012

    Posted 13 Apr 2011 Link to this post

    Hi !

    I have a little problem with the Radschulder DayView.

    We use our own timeslot context menues, now when a a user selects some timeslots, and click on a context menue,
    we call the (server side api)

    TimeSlotContextMenuItemClicking(object sender, TimeSlotContextMenuItemClickingEventArgs e)


    and wanted to get the selected timeslot begin/end time (let us say from 08:00am to 09:30am) with

    e.TimeSlot.Start;
    e.TimeSlot.End;


    but all we get in these to values is, the timeslot where the user hit the context menue (always 30 minutes).

    Is there a chance to get the complete selected timeslots, as it is used when adding an appointment client side ?

    with best regards
    Markus
  2. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 15 Apr 2011 Link to this post

    Hello Markus,

    We have already logged this problem. Once we are ready with the implementation we will notify you in this same thread.


    Kind regards,
    Nikolay Tsenkov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Markus
    Markus avatar
    28 posts
    Member since:
    Oct 2012

    Posted 19 Apr 2011 Link to this post

    Great thanks.

    Do you have any clue in which timespan this will happen ?

    best regards
    markus
  5. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 21 Apr 2011 Link to this post

    Hi Markus,

    I apologize, but I can not commit on ETA for this. What I can promise is to let you know as soon as we make a progress on it.


    Regards,
    Nikolay Tsenkov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  6. Markus
    Markus avatar
    28 posts
    Member since:
    Oct 2012

    Posted 26 May 2011 Link to this post

    hi nikolay !

    are there any news about this ?

    kindly regards
    markus
  7. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 27 May 2011 Link to this post

    Hi Markus,

    We haven't implemented that, yet. We will try to include it for one of the next 2 major releases (Q2 or Q3).
    It most probably will be included in Q3, because there is very big chance to be a breaking change.


    Regards,
    Nikolay Tsenkov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  8. Markus
    Markus avatar
    28 posts
    Member since:
    Oct 2012

    Posted 27 May 2011 Link to this post

    thanks for the information

    regards
    Markus
  9. davideformica
    davideformica avatar
    2 posts
    Member since:
    Feb 2011

    Posted 09 Jan 2012 Link to this post

    Hi ,
    I'm having the same issue,

    and I'm using the Q3 timeslotas,

    are there any news about how to obtain an array of the selected timeslots?

    the only method that can read it seems to ne the "AppointmentInsert",

    but unfortunately is not what I want, and moreover I cannot find a way to disable the popup with the 3 buttons "save", "Cancel", "options".

    Do you have any suggestion on how to get the selected timeslot values?

    Best regards.
  10. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 12 Jan 2012 Link to this post

    Hi Marga Alonso,

     
    You can use the client properties of the Scheduler get_selectedSlots(), get_durationOfSelectedArea() and get_durationBetweenTimeSlots().

    As for the second question - if you want to insert or edit directly in the advanced form,  you have to set the StartInsertingInAdvancedForm and StartEditingInAdvancedForm properties to true.

    Hope this will be helpful.

    Greetings,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  11. davideformica
    davideformica avatar
    2 posts
    Member since:
    Feb 2011

    Posted 15 Jan 2012 Link to this post

    Thank you for your Prompt reply.

    What I need to do is to access somehow SERVERSIDE the array of TImeSlot I've selected in the MonthView setup of my RADScheduler.  The workaround I've arranged implyes using a RAdschedulerContextMenu with an item that triggers the SERVERSIDE EVENT "CommandAddAppointment".

    What I'd like to do is to have a VISIBLE BUTTON on the page that if I click on it I have the same behaviour than the contextmenu item of the radscheduler. The reason is that to see the item you have to RIGHT click on the timeslots, and users dont figure it out alone.

    This is my code, do you have any suggestion on how to port the contextmenu funcionality on a permanently visible button on the page? Thank you in advance.

     

     

     <telerik:RadScheduler ID="RadScheduler1" runat="server" DataEndField="End" DataKeyField="ID"
                OnClientAppointmentDoubleClick="OnClientTimeSlotClick2" OnClientAppointmentMoveStart="OnClientAppointmentMoveStart"
                DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"
                Skin="Telerik" EnableRecurrenceSupport="False" Height="420px" ShowViewTabs="false"
                AllowEdit="false" EnableDatePicker="False" DataSourceID="SchedulerDataSource"
                DataDescriptionField="Description" SelectedView="MonthView" DataStartField="Start"
                DataSubjectField="Subject" FirstDayOfWeek="Monday" LastDayOfWeek="friday" SelectedDate="01/01/2012"
                EnableViewState="False" >
                <MonthView MinimumRowHeight="3" VisibleAppointmentsPerDay="5" AdaptiveRowHeight="false"
                    ReadOnly="false" />
                <MultiDayView NumberOfDays="30" />
                <AppointmentContextMenuSettings EnableDefault="false" />
                <TimelineView UserSelectable="true" GroupingDirection="Horizontal" NumberOfSlots="10" />
                <TimeSlotContextMenus>
                    <telerik:RadSchedulerContextMenu ID="SchedulerTimeSlotContextMenu" runat="server">
                        <Items>
                            <telerik:RadMenuItem Text="Guardar" Value="CommandAddAppointment" />
                        </Items>
                    </telerik:RadSchedulerContextMenu>
                </TimeSlotContextMenus>
                <AppointmentContextMenus>
                    <telerik:RadSchedulerContextMenu runat="server" ID="ContextMenu1">
                        <Items>
                        </Items>
                    </telerik:RadSchedulerContextMenu>
                </AppointmentContextMenus>
            </telerik:RadScheduler>

  12. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 18 Jan 2012 Link to this post

    Hello Marga,

     
    You can try to achieve this on the client-side by getting the selected Timeslots and showing the appropriate appointment form like below:

    function OnClientClicked(sender, args) {
                   var scheduler = $find("<%=RadScheduler1.ClientID%>");
                   var selected = scheduler.get_selectedSlots();
                   var counter = 0;
                   var startSlot;
                   var endSlot;
               for (var slot in selected) {
                   if (counter == 0) {
     
                       startSlot = selected[counter];
                   }
                   endSlot = selected[counter];
                   counter++;
               }
               scheduler.showInsertFormAt(startSlot, endSlot);
               }  
    <telerik:RadButton runat="server" ID="RadButton1" AutoPostBack="false" OnClientClicked="OnClientClicked">
           </telerik:RadButton>
     
           <telerik:RadScheduler runat="server" ID="RadScheduler1"....

    Hope this will be helpful.
      Kind regards,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  13. John
    John avatar
    10 posts
    Member since:
    Jan 2012

    Posted 04 Jul 2012 Link to this post

    Is there any update regarding this bug? It's still there as of now. Cannot get correct timeslot details from custom contextMenu events.

    Thanks
    John
  14. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 06 Jul 2012 Link to this post

    Hi John,

    It looks that this issue have not been fixed yet. Please excuse us for the inconveniences. You can follow its progress and vote for increasing its priority in our PITS here.

    Regards,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  15. Rakesh
    Rakesh avatar
    10 posts
    Member since:
    Aug 2012

    Posted 26 Jul 2012 Link to this post

    Hi,

    I am working on RadScheduler. My question is can we extend the start data and end date timings iin Advanced Edit form. Some of my clients are based in other countries and if I want to schedule a meeting after 6 pm or before 8 am. Right now I am not able to do that as my Advanced Edit form only shows timings from 8am to 5:30 pm.

    Please advice.

    Thanks,
    Rakesh
  16. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 27 Jul 2012 Link to this post

    Hi,

    Please, see this kb article:

    http://www.telerik.com/support/kb/aspnet-ajax/scheduler/how-to-adjust-the-radtimepicker-settings-of-the-advanced-form.aspx

    All the best,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  17. Rakesh
    Rakesh avatar
    10 posts
    Member since:
    Aug 2012

    Posted 27 Jul 2012 Link to this post

    Peter,

    Thank you. That works.

    Regards,
    Rakesh
  18. Rakesh
    Rakesh avatar
    10 posts
    Member since:
    Aug 2012

    Posted 01 Aug 2012 Link to this post

    Peter,

    I have an other issue with Recurring meetings. When I try to edit the single occurence of the recurrence meeting and click on the save button it is firing AppointmentInsert after the Update event and my appointment is getting deleted. And also e.modifiedappointment.subject is not fetching the updated subject. Please advice what could be the issue?

    Thanks,
    Rakesh
  19. Rakesh
    Rakesh avatar
    10 posts
    Member since:
    Aug 2012

    Posted 01 Aug 2012 Link to this post

    Hi,

    The issue is resolved. The thing I left is RecurrenceState. Once I assigned the RecurrenceState and save it, everything works.

    Thanks,
    Rakesh
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017