CS4 webControl25

CS4 webControl25

Footer25

The Footer25 control generates a standard application footer that appears at the bottom of every page. It displays copyright information, footer caption, version details, and relevant links. The footer values are automatically taken from the settings provided in App25.Properties.AddFooter().

  • Purpose:
    • To display copyright information.
    • To show application name or company details.
    • To provide a footer link (website or documentation page).
    • To show application version dynamically.
  • GetHtml():

    Generates the complete HTML markup for the footer. The content is automatically filled using the values stored in:

    • App25._Caption – Footer caption or application name.
    • App25._Url – URL linked to the caption.
    • App25._Year – Display year.
    • App25._Version – Application version.
  • Sample Code (Razor View):
    @Footer25.GetHtml()
    
  • Generated Output:

    The footer displays:

    • © Year
    • Caption (with hyperlink)
    • “All rights reserved.” text
    • Version number (aligned to the right)
  • Outcome:

    A clean, responsive, and dynamically generated footer that ensures consistency across all pages. Updates to footer information only require a change in App25.AddFooter(), making the footer easy to maintain and reuse.