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

OnClientResourcesPopulating event not handled (webservices)

1 Answer 82 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Datamex
Top achievements
Rank 2
Datamex asked on 23 Sep 2009, 07:08 AM
Hi,

I would like to populate the recources client side instead of serverside.
Now the serverside method works fine for this.

But when i'm trying to add a javascript method to the OnClientResourcesPopulating property and remove the serverside method from the OnResourcesPopulating property.

This clientside event will not be handled. I tried to show a javascript alert in this javascript function but notting happens.
I have the same problem with the OnClientAppointmentInserting event.

All the other clientside events i'm using are working fine. For your information we are using the scheduler with webservices.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 25 Sep 2009, 03:14 PM
Hello,

OnClientResourcesPopulating will occur only if you set ResourcePopulationMode="ClientSide"

***  
<WebServiceSettings Path="SchedulerWebService.asmx"            
             ResourcePopulationMode="ClientSide" /> 
*** 

However, in that case you won't be able to group by a resource type. Currently, this is a limitation of RadScheduler.

I also tested OnClientAppointmentInserting and it occured as expected in my local tests. If you have a simple working sample that demonstrates the problem, you can open a support ticket and send it.


Greetings,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
Datamex
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or