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

Pass value to Advanced Form

5 Answers 76 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Brian Wong
Top achievements
Rank 1
Brian Wong asked on 08 Jul 2010, 07:49 AM
When double clicking on a scheduler, I want to be able to pass a value to the advanced form so it can use it to grab more values from the database when loading.

Can someone give me an example of how to pass a value to the advanced form? I have already set up properties etc in the advanced form, I'm just not sure how to pass it when double clicking a timeslot in the scheduler for appointment insert.

Thanks in advance.

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 13 Jul 2010, 02:46 PM
Hi Brian,

You can acess controls in the advanced form in FormCreated as shown in this kb article and set their properties. Is this what you need?

Kind regards,
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
Brian Wong
Top achievements
Rank 1
answered on 13 Jul 2010, 02:54 PM
Thats all good for controls, but what about public properties that have been created in the advanced form?
0
lordscarlet
Top achievements
Rank 1
answered on 13 Jul 2010, 08:51 PM
Is this something attributes could take care of?
0
Brian Wong
Top achievements
Rank 1
answered on 14 Jul 2010, 05:37 AM
I'm not sure I quite understand what you mean. Could you explain maybe with an example or otherwise?
0
Peter
Telerik team
answered on 14 Jul 2010, 02:22 PM
Hi Brian,

What about setting a session in FormCreated and then using the session value in the AdvancedForm user control?

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