Irwsoft NETCore Asp

Brief Information
DescriptionA tag-helper to display an image.
FeaturesAllows user to resize if the real image is bigger than current size.
Image tag-helper
Image tag-helper that displays bigger button to display the image in real size.

The Image tag-helper is a read-only tag-helper to display an image. This tag-helper have feature to allow user resizing the image if the real image's size is bigger than current size.

Example : Display Picture data of Person table with Image

C# code for Person table

// 1) Sample code for Person table
public class Person
     // 2) The columns of Person table.
     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;}  // 3) Input Gender property of Person.

ASPX code for Image

// 1) Defines the Image tag-helper
<Image ID="IMG1" SkinStyle="SimpleGrey" AlternateText="The data-person's picture."
     Height="384" Width="512">
     <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).