Irwsoft NETCore Asp

Brief Information
DescriptionA link tag-helper to move to other destination within page or other page.
  • Displays either clickable text and/or image.
  • Supports image preview and/or file downloading for Image/File data-type.
Link tag-helper
The Link tag-helper displays an image of PictureUrl.

The Link tag-helper is a read-only tag-helper to display a link. This tag-helper have feature to display either clickable text and/or image. The TextLocation property will determine the text location from image.

The Link provides support for image previewing and/or file downloading for Image/File data-type. This mean you do not need extra work for Image/File data.

Example : Displays PictureUrl data of Person table with a Link tag-helper.

C# code for Person table

// 1) Sample code for Person table
public class Person
     public int ID { get; set;}
     public string FirstName { get; set;}
     public string LastName { get; set;}
     public GenderType Gender { get; set;}
     public DateTime DateOfBirth { get; set;}
     public int Age { get; set;}
     public string Address { get; set;}
     public string City { get; set;}
     public string Country { get; set;}
     public string IdentityCardNo { get; set;}
     public string BioData { get; set;}
     public string PictureUrl { get; set;}  // 2) Displays PictureUrl property of Person.

ASPX code for Link

// 1) Defines the Link tag-helper for user to trigger displaying image.
<Link ID="LINK1" SkinStyle="SimpleGrey" Text="Display Image">
     <ViewPropertyName Name="PictureUrl" DataType="ImageUrl" />

Related Topics :

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