IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
Input filter are supported on top of RadGridBinders, this is actually wraps the input box with proper UI filters that is helpful for users to work with values like Boolean or Datetime for avoiding mistakes.
Now, let’s say we have a RadGrid binder that sequentially binds dynamic textboxes and labels.
<
sitefinity:RadGridBinder
id
=
"sectionItemBinder"
runat
"server"
ServiceUrl
"~/Sitefinity/Services/Configuration/ConfigSectionItems.svc"
TargetId
"sectionItemGrid"
BindOnLoad
"false"
DataKeyNames
"NodeName,SkipNested"
DataMembers
"Key,Value"
OnClientSaved
"SectionSaved"
OnClientError
"OnSectionError"
OnClientDataBound
"OnSectionDataBound"
OnClientDeleted
"OnNodeDeleted"
>
Containers
sitefinity:BinderContainer
RenderContainer
label
>{{Key}}</
div
input
"Key"
type
"hidden"
value
"{{Key}}"
/>
"text"
"{{Value}}"
"Value"
filter
"true"
style
"width:300px;"
</
Here, for any Boolean value, like if the WCF service returns True/False, we want to replace that with radio buttons instead of the actual one. To enable filtering like above, we need to add a filter=”true” in our input boxes and everything will be taken care of.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important