Irwsoft Web Control

MultiText
Brief Information
DescriptionA control to input multi-text.
FeaturesDataFormat with data masking.
Bind/Populate one property only.
MultiText control
MultiText control to enter BioData with specified display-format


The IWC ASP.net MultiText control is a control to input multi-line text. This control have DataFormat with data masking. The control can bind only one property with MultiText data-type.

All IWC input control designed using MVVM pattern which mean you can have a data-model class representing a domain/table, but ofcourse you can still using classic CRUD programming without any data-model. You can use simple C# class, Irwsoft Data Framework, Entity Framework, Linq to Sql or other .NET ORM. Then set its data-source and some properties to bind. The multi-properties means the control handle input at once using data masking.

Example : Input Bio-data of Person table with MultiText at once


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;}  // 2) Input BioData of Person that has 255 characters length.
     public string PictureUrl { get; set;}
}


ASPX code for MultiText

// 1) Defines the MultiText control for BioData.
<irw:MultiText ID="IT1" runat="server" SkinStyle="SimpleGrey" DataFormat="< < {0}>>" Width="400px">
     <DataPropertyNames>  // 2) Defines BioData property, String data-type can be omitted
          <irw:DataPropertyName Name="BioData" Format="BioData : {0}" />
     </DataPropertyNames>
</irw:MultiText>


Related Topics :


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