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

Button in appointment to open modalpopup

1 Answer 45 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Cliff
Top achievements
Rank 1
Cliff asked on 29 Aug 2008, 11:53 AM
Just looking to evaluate the scheduler and got a couple of issues:

I've got a standard customer search modalpopup and also a standalone customer search that I use in my application to allocate customers to orders, diary entries, events etc that I would also like to use in the scheduler.

If I put a custom resource of Customer Name and Customer Account on the appointment screen can I then put a button on the appointment that will open up my modalpopup screen, do my search and then return to the values to the appointment?

Alternatively is it possible to have the button on the appointment do a save ,browse to the seperate search screen then once selected a customer return to the scheduler screen and automatically open the appointment on page_load and populate the details?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Sep 2008, 10:36 AM
Hello Cliff,

You can use Templates to implement a button for the appointments. Then, you can you use the Returning Values From a Dialog example to pass a value back to the main form.

Finally, please consider the Defining Resources online example. The way the appoitnments are filtered is using a select parameter for the data source:
 <SelectParameters> 
                <asp:ControlParameter Name="UserID" ControlID="UserDropDown" PropertyName="SelectedValue" /> 
            </SelectParameters> 
 

Make sure you call RadScheduler1.DataBind() after you pass the value from the popup window and update the data source for RadScheduler.

We will be glad to help you further if need be, so feel free to contact us.


Kind regards,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Cliff
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or