CS4 webControl25

CS4 webControl25

Filter25

Filter25 is used to create a clean and structured filter panel for manage pages. It helps users refine search results by placing multiple filter controls inside a single filter box layout.

AddControl(HtmlString)

This method is used to add filter elements such as textboxes, dropdowns, date pickers and other controls into the filter box.

Parameters

  • HtmlString
    • The HTML content you want to add inside the filter panel.
    • You can place any valid control such as TextBox25, ListBox25, Date25, etc.

GetHtml()

This method returns the complete styled filter panel after all controls have been added. Use this inside your view to render the final design.

Sample Code

var filter25 = new Filter25();

filter25.AddControl(HtmlString);

@Html.Raw(filter25.GetHtml());