Deliver superior customer experiences with an AI-driven platform for creating and deploying cognitive chatbots
Deliver Awesome UI with the most complete toolboxes for .NET, Web and Mobile development
Automate UI, load and performance testing for web, desktop and mobile
A complete cloud platform for an app or your entire digital business
Detect and predict anomalies by automating machine learning to achieve higher asset uptime and maximized yield
Automate decision processes with a no-code business rules engine
Optimize data integration with high-performance connectivity
Connect to any cloud or on-premises data source using a standard interface
Build engaging multi-channel web and digital experiences with intuitive web content management
Personalize and optimize the customer experience across digital touchpoints
Build, protect and deploy apps across any platform and mobile device
Rapidly develop, manage and deploy business apps, delivered as SaaS in the cloud
The content you're reading is getting on in years
This post is on the older side and its content may be out of date.
Be sure to visit our blogs homepage for our latest news, updates and information.
Since all meta
fields are automatically saved and set by Sitefinity, there must be
some procedure how Sitefinity can do this automatically. Sitefinity looks for all controls that have id of a meta key
and that can be cast to ITextControl interface. The importance of
ITextControl interface is that it mandates the control to have a text
property, so Sitefinity always knows that the value of meta field will
be stored in controls Text property, without actually worrying what
kind of a control it is.
Next, you must create a user control with the drop down list or a radio box. For a drop down list using RadComboBox, here is some sample code:
In the user control's code behind, implement the ITextControl interface. Bind the text property to the ProductTypeDropDown.SelectedValue property as shown below:
This links the text property of the user control, which I made by implementing the ITextControl interface to the name of the meta field. Now, the binding is complete. When the user edits a product, he or she will have the option of including a product type.
View all posts from The Progress Team on the Progress blog. Connect with us about all things application development and deployment, data integration and digital business.
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.