Retrieving appointment ID on Advanced form web service binding

4 posts, 0 answers
  1. Felipe Casanova
    Felipe Casanova avatar
    56 posts
    Member since:
    Feb 2010

    Posted 31 Mar 2011 Link to this post

    Hi,
    We're using the RadScheduler in web service data binding mode. We're using our own custom Advanced editing form template based on the examples provided. We are using a custom user control in this form which we want to pass the ID of the appointment (which is set as an int id value from our database). However when we try to access the ID property on the appointment object in server side code it is always null.
    Is this due to the client side nature of the scheduler in this mode, and is there any way around this ?
    We are setting the value when the appointments are created after being retrieved from the database. We have also tried setting it as a custom attribute but we are unable to access the value in server side code.
    Seems like a simple thing to do and we can see all the other properties and attributes OK, and we can see the appointment ID if we use the client side API.

    thanks,
    Rowan
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 04 Apr 2011 Link to this post

    Hello Matt,

    Which example have you use - Advanced Templates or External Edit in RadDock? If you implementation is different from those demos, please send us your code.  

    Greetings,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Felipe Casanova
    Felipe Casanova avatar
    56 posts
    Member since:
    Feb 2010

    Posted 04 Apr 2011 Link to this post

    We used the Advanced Templates example.
    In the end we've not used a user control but a jQuery UI widget to keep it consistent with the client side nature of the web service binding rather than trying to mix server and client side.
    It would be interesting to know if there's still a way of getting the appointment ID though on the server side or if it's just not possible in the web service binding mode.
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 04 Apr 2011 Link to this post


    With Web Service binding mode the advanced form is created on initial page load and then it is shown client side without a round trip to the server. So the advanced edit form is not tight to a specific appointment server side. All association with the appointment object is done via the Client API of RadScheduler.


    Best wishes,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top