Click or drag to resize
KaxSchedulerResourcesPopulating Event
Occurs when the scheduler is about to request resources from the Web Service.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public event ResourcesPopulatingEventHandler ResourcesPopulating

Value

Type: Kettic.AspNet.ControlsResourcesPopulatingEventHandler
Remarks

Resources need to be populated from the server when using resource grouping. Doing so also reduces the client-side initialization time.

This operation requires the WebPermission to be granted for the Web Service URL. This permission is not granted by default in Medium Trust.

You can disable the population of the resources from the server and still use client-side rendering for grouped views. To do so you need to set the WebServiceSettings.ResourcePopulationMode to Manual and populate the resources from the OnInit method of the page.

The ResourcesPopulatingEventArgs contains additional information about the request that is about to be made. You can use its properties to modify the URL, supply credentials and so on.

The operation can be cancelled by setting the ResourcesPopulatingEventArgs.Cancel property of ResourcesPopulatingEventArgs to true.

Examples
void KaxScheduler1_ResourcesPopulating(object sender, ResourcesPopulatingEventArgs e)
{
    e.Cancel = true;
}
See Also