Confirm Dialog - Moving appointments

3 posts, 0 answers
  1. Sander
    Sander avatar
    13 posts
    Member since:
    Aug 2011

    Posted 22 Sep 2011 Link to this post

    Hello,

    In my situation a client can make one appiontment a day. But I have problem, when she wants to create a new appointment I have to ask if she wants to move her appointment.

    I want to do this with a  confirmation message in the "Radscheduler_FormCreating" event. 

    function confirmCallBackFn(arg) {
     
                                        var result = arg;
     
                                         
     
                                        if (result == true) {
     
                                            __doPostBack("<%= RadScheduler1.ClientID  %>", "_RadScheduler1_FormCreating#Delete");
                                        }
     
                                    }

    But the problem is, why does this not work, how do I get the result back to the server, because I can't do this?


    Hope someone can help me , thanks in advance.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 22 Sep 2011 Link to this post

    Hello Sander,

    Can you explain what exactly you need to achieve? You can limit the number of appointments per time slot using this demo - http://demos.telerik.com/aspnet-ajax/scheduler/examples/limitconcurrentappointments/defaultcs.aspx

    How is your requirement different from the demo?

    Best wishes,
    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
  3. Sander
    Sander avatar
    13 posts
    Member since:
    Aug 2011

    Posted 23 Sep 2011 Link to this post

    Thanks for your answer, I already fixed it now with "RadAjaxManager1_AjaxRequest".

    Thanks!
Back to Top