Irwsoft Web Control

CommandLinkButton
Brief Information
DescriptionA command link control to trigger something when user click it.
Features
  • Displays either text and/or image.
  • Text location.
  • Command Name.
  • Command Argument.

The CommandLinkButton control is a control to trigger something when user click it. This control have feature to display either text and/or image. The TextLocation property will determine the text location from image.


The control implements System.Web.UI.WebControls.IButtonControl that provides some properties like CommandName and CommandArgument that is important for FormTemplate control.

Example : Displays a CommandLinkButton control.


C# code for CommandLinkButton

// 1) Defines the CommandLinkButton control for user to trigger displaying image.
<irw:CommandLinkButton ID="BTN1" runat="server" SkinStyle="SimpleGrey" ImageUrl="~/Images/save.png"
     Text="Save" TextLocation="Bottom" CommandName="Save" OnClick="BTN1_Click">
</irw:CommandLinkButton>


Related Topics :


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