Ability to capture appointment Click, appointment Move, and cells/time selected on the server?

7 posts, 0 answers
  1. Chris Trina
    Chris Trina avatar
    86 posts
    Member since:
    Mar 2006

    Posted 04 Jan 2010 Link to this post

     

    I'm trying to migrate to the RadScheduler from anther calendar control.  I have everthing displaying fine, but am struggling with what should be some pretty simple events.

    Instead of using the integrated appointment edit process I need to redirect to one of my own pages for editing an appointment, this is due to my appointments being extremely complex and not really fitting in the popup window.  I'm able to get this working via your appointment_click event.

    However I also need to know 
    if they move an appointment via dragging, on the server I need to know that the drag occured, the id of the appointment, and the new start/end times.  Does this event exist? 

     

    Finally if they click on a time period to create an event I need to know that this occured and the time period selected, any event?

    Sorry to be a pain

     

  2. Chris Trina
    Chris Trina avatar
    86 posts
    Member since:
    Mar 2006

    Posted 04 Jan 2010 Link to this post

    OK, I figured out that the Update event allows me to handle the drag/move issue. 

    Any hints on where to capture a schedule click event on the server so that I can handle adds?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. NLV
    NLV avatar
    87 posts
    Member since:
    Aug 2009

    Posted 06 Jan 2010 Link to this post

    I too have the same requirements. I need to handle appointment delete, appoint moved, appointment insert on click in the server side. All i googled and found is the client side events. How to handle them server side?

    Thank you.
  5. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 07 Jan 2010 Link to this post

    Hello,

    There is a list of the most commonly used server-side events and their descriptions in our documentation. To redirect to a custom inserting form, you need to handle the FormCreating event and cancel it so the built-in form is not shown. In the event's arguments there is an Appointment object that you can use to extract the needed data.

    I hope this helps.

    Kind regards,
    Dimitar Milushev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. NLV
    NLV avatar
    87 posts
    Member since:
    Aug 2009

    Posted 11 Jan 2010 Link to this post

    Thanks for your reply. I did it.
  7. Oliver
    Oliver avatar
    2 posts
    Member since:
    Apr 2012

    Posted 06 Apr 2012 Link to this post

    Hi, Telerik Team

    How to automatically change the start time and end time of appointment item to new value after moving the appointment item in telerik Scheduleview to new place?
  8. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 09 Apr 2012 Link to this post

    Hi Oliver,

    That would depend on the way you data bind RadScheduler. For example, consider the Binding to Generic List demo where AppointmentUpdate/Delete/Insert events are handled to update the data source.

    With LinqDataSource for example, you don't have to explicitly handle any RadScheduler events. Instead you let the data source do the job:

    <asp:LinqDataSource runat="server" ID="LinqDataSource1" ContextTypeName="LinqToSql.TelerikSamplesDataContext"
    EnableDelete="True" EnableInsert="True" EnableUpdate="True" TableName="Appointments">


    Kind regards,
    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017