This is a migrated thread and some comments may be shown as answers.

Retrieving appointment ID on Advanced form web service binding

3 Answers 122 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Felipe Casanova
Top achievements
Rank 1
Felipe Casanova asked on 31 Mar 2011, 03:17 PM
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

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 04 Apr 2011, 09:28 AM
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
0
Felipe Casanova
Top achievements
Rank 1
answered on 04 Apr 2011, 11:33 AM
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.
0
Peter
Telerik team
answered on 04 Apr 2011, 02:51 PM

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
Tags
Scheduler
Asked by
Felipe Casanova
Top achievements
Rank 1
Answers by
Peter
Telerik team
Felipe Casanova
Top achievements
Rank 1
Share this question
or