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.
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.
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.
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.