Irwsoft NETCore Asp

Brief Information
DescriptionA collection of state-buttons to provide multi-state condition.
  • Displays either text or image only.
  • Collection of state-button.
MultiStateButton tag-helper
A MultiStateButton tag-helper with Text or Image.

The MultiStateButton tag-helper is a tag-helper to provide multi-state of specific condition. The value can be no-state or a specific named state.

State Selection

  • Yes
    MultiStateButton with image only
  • No
    MultiStateButton with text only

Example : Displays a MultiStateButton tag-helper.

C# code for MultiStateButton

// 1) Defines the MultiStateButton tag-helper for user to trigger displaying image.
<MultiStateButton ID="BTN1" SkinStyle="SkyBlue"> 
     <MultiStateButtonItem Name="Yes" Text="Yes" />
     <MultiStateButtonItem Name="No" Text="No" />
     <MultiStateButtonItem Name="Download" ImageUrl="~/Images/download.png" />

Related Topics :

Irwsoft Data Ultimate Edition 4.0 supports data-schema extension (entity framework, linq to sql, simple class, and etc).