combit List & Label 30 - .NET Help
combit.Reporting.Web.WebReportViewer Namespace / WebReportViewerController Class / OnProvideFormElements Method
Contains form element data (Key: field name or unique id, value: value of the field). Key must be unique. Duplicate keys will lead to the value being overwritten.
Duplicate keys, which lead to the original value being overwritten in formElements, will be listed inside this object.


In This Topic
    OnProvideFormElements Method
    In This Topic
    This virtual method is called when a project's form element button is clicked in the Web Report Viewer.
    Syntax
    'Declaration
     
    
    Public Overridable Sub OnProvideFormElements( _
       ByVal formElements As Dictionary(Of String,String), _
       ByVal duplicateKeys As List(Of String) _
    ) 
    public virtual void OnProvideFormElements( 
       Dictionary<string,string> formElements,
       List<string> duplicateKeys
    )
    public:
    virtual void OnProvideFormElements( 
       Dictionary<String^,String^>^ formElements,
       List<String^>^ duplicateKeys
    ) 

    Parameters

    formElements
    Contains form element data (Key: field name or unique id, value: value of the field). Key must be unique. Duplicate keys will lead to the value being overwritten.
    duplicateKeys
    Duplicate keys, which lead to the original value being overwritten in formElements, will be listed inside this object.
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

    See Also