SAIFTextBox¶
A textbox that can show a live character counter for multi-line, length-limited input, requiring both a positive MaxLength and explicit opt-in before the counter appears BR-V2-096.
Purpose¶
- Only shows the character counter when the textbox is multi-line,
MaxLengthis positive, andShowCharacterCounteris explicitly enabled BR-V2-096. - Publishes the maximum length as a client-side attribute so script can enforce/display it BR-V2-097.
Context¶
- Namespace:
SAIF.Presentation.Web.Controls.V2 - Assembly/package:
SAIF.Presentation.Web.Controls.V2(packaged inSAIF.BOF.Presentation.Web.Infragistics111.nuspec)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| ShowCharacterCounter | Public Property ShowCharacterCounter As Boolean |
Opts into rendering the live character-counter panel BR-V2-096. |
| MaxLength | Public Property MaxLength As Integer |
Maximum character length; must be positive for the counter to appear, and is published as a client attribute BR-V2-097. |
| RenderControl | Public Overrides Sub RenderControl(writer As HtmlTextWriter) |
Renders the base textbox, then the counter panel when all opt-in conditions are met. |
Sources¶
SAIF.Presentation.Web.Controls.V2/SAIFTextBox.vb