Dom<(Of <(<'TPageModel>)>)>..::..ActionParam Method (String, String, Element)
Add on the page JavaScript that returns JS object containing POST parameter
for controller action.
Namespace:
Suoranta.WebApp.ViewAssembly: Suoranta.WebApp (in Suoranta.WebApp.dll)
Syntax
public Symbol ActionParam( string action, string paramName, Dom..::..Element bindTo )
Parameters
- action
- Type: String
- paramName
- Type: String
- bindTo
- Type: Suoranta.WebApp.View..::..Dom..::..Element
HTML element from which the function retrieves the value
Return Value
Name of the added JS function (informational).Remarks
Examples
C#
@(this.Widgets().MultiSelectFor(model => model.AttachmentIDs) .Source<SomeController, long>(c => c.GetAttachments)

