[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.CollectionViewServiceTagHelper

CollectionViewServiceTagHelper Class

ITagHelper implementation for C1.Web.Mvc.CollectionViewService<T>.

Inheritance
BaseTagHelper<CollectionViewService<object>>
ComponentTagHelper<CollectionViewService<object>>
ServiceTagHelper<CollectionViewService<object>>
CollectionViewServiceTagHelper
Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
[HtmlTargetElement("c1-items-source")]
[RestrictChildren("c1-property-group-description", new string[] { "c1-sort-description", "c1-calculated-field" })]
public class CollectionViewServiceTagHelper : BaseCollectionViewServiceTagHelper<object, CollectionViewService<object>>, ITagHelper, ITagHelperComponent, ITemplateTagHelper

Constructors

Name Description
CollectionViewServiceTagHelper()

Properties

Name Description
BatchEdit

Configurates C1.Web.Mvc.CollectionViewService<T>.BatchEdit. Sets a bool value indicates whether to edit the batch data.

BatchEditActionUrl

Configurates C1.Web.Mvc.CollectionViewService<T>.BatchEditActionUrl. Sets the url of batch edit action.

CollectionName

Gets the collection name.

CreateActionUrl

Configurates C1.Web.Mvc.CollectionViewService<T>.CreateActionUrl. Sets the url of create action.

DeleteActionUrl

Configurates C1.Web.Mvc.CollectionViewService<T>.DeleteActionUrl. Sets the url of delete action.

DisableServerRead

Configurates C1.Web.Mvc.CollectionViewService<T>.DisableServerRead. Sets whether to disable server-side sorting, paging and filtering.

Error

Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientError client event. Occurs when there are errors from the server side.

InitialItemsCount

Configurates C1.Web.Mvc.CollectionViewService<T>.InitialItemsCount. Sets a number value which decides the count of the initial loaded items.

QueryComplete

Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientQueryComplete client event. Occurs when the query requests complete.

QueryData

Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientQueryData client event. Sets the name JavaScript function which to collect the ajax query data.

ReadActionUrl

Configurates C1.Web.Mvc.CollectionViewService<T>.ReadActionUrl. Sets the url of read action.

ReponseTextParsing

Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientReponseTextParsing client event. Occurs when parsing the response text.

RequestDataStringifying

Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientRequestDataStringifying client event. Occurs when serializing the request data.

SourceCollection

Configurates C1.Web.Mvc.CollectionViewService<T>.SourceCollection. Sets the source collection.

SourceCollectionChanged

Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientSourceCollectionChanged client event. Occurs after the sourceCollection property in client changes.

SourceCollectionChanging

Configurates the C1.Web.Mvc.CollectionViewService<T>.OnClientSourceCollectionChanging client event. Occurs before the sourceCollection property in client changes.

UpdateActionUrl

Configurates C1.Web.Mvc.CollectionViewService<T>.UpdateActionUrl. Sets the url of update action.