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

Load on Demand Comboboxes on Advanced Form with Resource

1 Answer 61 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
davidp
Top achievements
Rank 1
davidp asked on 26 Nov 2012, 08:14 PM
I am using Load on Demand ComboBoxes (http://www.telerik.com/support/kb/aspnet-ajax/scheduler/related-load-on-demand-radcomboboxes-in-the-advanced-form-of-radscheduler.aspx) in my Advanced Form.  The combos contain Specialty, Physician, and Contact Number rather than Continent, Country, City.  The Scheduler is setup with TimeLine View and is sorted by Specialty, which is setup as a Resource for Scheduler. 
My issue is that if I double click on a time slot for a Specialty(e.g. Cardiology) when the advanced form loads Cardiology is pre-selected as the Specialty and the Physician combo does not get loaded.  I have to select another specialty for the Physicians to get loaded.  Would it be possible to set Specialty to 'Select a Specialty' No matter what Specialty time slot gets double clicked? 
See attached screenshots



1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 29 Nov 2012, 12:19 PM
Hi David,

 
One possible solution that I could think of is to check the resource of the Appointment object in the Page_Load event of the AdvancedForm code behind and load the data accordingly as it is done in the sample you linked:

protected void Page_Load(object sender, EventArgs e)
   {
       if (ContinentsRadComboBox.Items.Count == 0)
       {
           // Check the resourse and fill the continents of the combo  
           LoadContinents();
       }


Hope this will be helpful.

Greetings,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
davidp
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or