Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: DataIdMultiSelector with function datasource? [solved]

$
0
0

Hi,

how can i set the datasource for an DataIdMultiSelector? I dont want to create global datatypes for this. This values must be dynamic (only a few values) only in this razor function so i cannot use a string split function ..

Code:

 

[FunctionParameter("Items", "Custom Items",
WidgetMarkup = "<f:widgetfunction name='Composite.Widgets.String.DataIdMultiSelector' xmlns:f='http://www.composite.net/ns/function/1.0'><f:param name='OptionsType'>Composite.Data.Types.IPage</f:param><f:param name='CompactMode' value='true' /></f:widgetfunction>")]
publicstring CustomItems { get; set; }

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>