Service Data Binding - Client Side Rebind

11 posts, 1 answers
  1. Paige Cook
    Paige Cook avatar
    57 posts
    Member since:
    Sep 2007

    Posted 20 Aug 2009 Link to this post

    Hi,

    I am currently setting up the scheduler to bind via a WCF service and wanted to know if there is a client side method on the scheduler object that will allow me to force the scheduler to rebind. I looked for a .rebind() but did not see one. Does this client-side method exist and I am just missing it?

    Thanks,
    Paige Cook
  2. Answer
    Peter
    Admin
    Peter avatar
    6637 posts

    Posted 24 Aug 2009 Link to this post

    Hi Paige,

    We plan to implement auto-refresh (with polling) and expose a public Refresh method in the client API of RadScheduler.

    Meanwhile, you can use the following workaroud:

    function refreshSchedulerClientSide()     
    {     
     var scheduler = $find('<%= RadScheduler1.ClientID %>');     
     scheduler.set_selectedDate(scheduler.get_selectedDate());     
    }    


    All the best,
    Peter
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Paige Cook
    Paige Cook avatar
    57 posts
    Member since:
    Sep 2007

    Posted 24 Aug 2009 Link to this post

    Thanks! Good news on adding the client side refresh, as well as the auto-refresh (with polling) functionality. I am looking forward to this using this once it is implemented. Also, thanks for the workaround... I should have been able to figure that out on my own. Duh! :-)
     
    Thanks,
    Paige
  5. Paige Cook
    Paige Cook avatar
    57 posts
    Member since:
    Sep 2007

    Posted 24 Aug 2009 Link to this post

    Thanks! Good news on adding the client side refresh, as well as the auto-refresh (with polling) functionality. I am looking forward to this using this once it is implemented. Also, thanks for the workaround... I should have been able to figure that out on my own. Duh!
    Thanks,
    Paige
  6. Paige Cook
    Paige Cook avatar
    57 posts
    Member since:
    Sep 2007

    Posted 24 Aug 2009 Link to this post

    Thanks! Good news on adding the client side refresh, as well as the auto-refresh (with polling) functionality. I am looking forward to this using this once it is implemented. Also, thanks for the workaround... I should have been able to figure that out on my own. Duh!
    Thanks,
    Paige
  7. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 16 Dec 2009 Link to this post

    Nice. very helpful thanks.

    I'm still having an issue with the month view not loading as expected when i first switch to it.
    If i'm on a day or week that has schedules as soon as the scheduler loads, it displays as expected.
    Once I switch to month view I need to page over to another month and come back to force a date change to get the scheduler to display properly. The response in firebug shows me the get appointments was called and did in fact return the expected appointments.

    cheers
  8. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 17 Dec 2009 Link to this post

    Hello,

    Which version are you using? There's a known problem with the view switching in the SP1 (2009.2.1208) release. You can find a detailed description of the problem and a workaround here:
    http://www.telerik.com/community/forums/aspnet-ajax/scheduler/known-issues-and-breaking-changes-radscheduler.aspx

    Let us know if this helps.

    Regards,
    Tsvetomir Tsonev
    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.
  9. Mahesh
    Mahesh avatar
    12 posts
    Member since:
    Jul 2012

    Posted 23 Aug 2012 Link to this post


    Hi Peter,

     Great method !!!
    I just want to know that is there any way to pass some custom parameters before rebinding this. In my scenario , on a dropdown change i want to rebind the scheduler according to the value selected in dropdown. Is that possible?


    Thanks ,
    Mahesh
  10. Mahesh
    Mahesh avatar
    12 posts
    Member since:
    Jul 2012

    Posted 23 Aug 2012 Link to this post


    Hi Peter,

     Great method !!!
    I just want to know that is there any way to pass some custom parameters before rebinding this. In my scenario , on a dropdown change i want to rebind the scheduler according to the value selected in dropdown. Is that possible?


    Thanks ,
    Mahesh
  11. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 23 Aug 2012 Link to this post

    Hi Mahesh,

    You can send additional information to the Web Service to achieve your goal. Attached is a simple demo for reference.

    Greetings,
    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.
  12. Mahesh
    Mahesh avatar
    12 posts
    Member since:
    Jul 2012

    Posted 23 Aug 2012 Link to this post

    Hi Peter,

     Thank you.. We have used OnClientAppointmentsPopulating to pass additional information in the scheduler info.


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