[]
Defines a builder to configurate C1.Web.Mvc.CollectionViewService<T>.
public class CollectionViewServiceBuilder<T> : BaseCollectionViewServiceBuilder<T, CollectionViewService<T>, CollectionViewServiceBuilder<T>>, IHtmlString, ITemplateBuilder<CollectionViewServiceBuilder<T>>
Name | Description |
---|---|
T |
Name | Description |
---|---|
CollectionViewServiceBuilder(CollectionViewService<T>) | Creates one CollectionViewServiceBuilder<T> instance to configurate |
Name | Description |
---|---|
BatchEdit(string) | Configurates C1.Web.Mvc.CollectionViewService<T>.BatchEditActionUrl. Sets the url of batch edit action. |
Bind(IEnumerable<T>) | Configurates C1.Web.Mvc.CollectionViewService<T>.SourceCollection. Sets the source collection. |
Bind(string) | Configurates C1.Web.Mvc.CollectionViewService<T>.ReadActionUrl. Sets the url of read action. |
Create(string) | Configurates C1.Web.Mvc.CollectionViewService<T>.CreateActionUrl. Sets the url of create action. |
Delete(string) | Configurates C1.Web.Mvc.CollectionViewService<T>.DeleteActionUrl. Sets the url of delete action. |
DisableServerRead(bool) | Configurates C1.Web.Mvc.CollectionViewService<T>.DisableServerRead. Sets whether to disable server-side sorting, paging and filtering. |
Filter(Predicate<T>) | Configurates C1.Web.Mvc.CollectionViewService<T>.Filter. Sets a method used to determine if an item is suitable for inclusion in the view. |
InitialItemsCount(int?) | Configurates C1.Web.Mvc.CollectionViewService<T>.InitialItemsCount. Sets a number value which decides the count of the initial loaded items. |
OnClientError(string) | Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientError client event. Occurs when there are errors from the server side. |
OnClientQueryComplete(string) | Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientQueryComplete client event. Occurs when the query requests complete. |
OnClientQueryData(string) | Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientQueryData client event. Sets the name JavaScript function which to collect the ajax query data. |
OnClientReponseTextParsing(string) | Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientReponseTextParsing client event. Occurs when parsing the response text. |
OnClientRequestDataStringifying(string) | Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientRequestDataStringifying client event. Occurs when serializing the request data. |
OnClientSourceCollectionChanged(string) | Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientSourceCollectionChanged client event. Occurs after the sourceCollection property in client changes. |
OnClientSourceCollectionChanging(string) | Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientSourceCollectionChanging client event. Occurs before the sourceCollection property in client changes. |
Update(string) | Configurates C1.Web.Mvc.CollectionViewService<T>.UpdateActionUrl. Sets the url of update action. |