Render the alphanumeric filter bar¶
Provide an A-Z-plus-numeric filter bar that the host page can use to filter its data. CreateChildControls for a SAIFAlphaNumericLinkControl instance; user click on a rendered link.
| Field | Value |
|---|---|
| Operation ID | OP-V2-015 |
| Trigger | CreateChildControls for a SAIFAlphaNumericLinkControl instance; user click on a rendered link. |
| Inputs | None (fixed A-Z + Number range). |
| Outputs | One SAIFLinkButton per letter plus a Number link; LinkClicked event carrying the clicked value. |
| Primary components | SAIFAlphaNumericLinkControl |
| Entry point | SAIF.Presentation.Web.Controls.V2/SAIFAlphaNumericLinkControl.vb |
Steps¶
- On
CreateChildControls, create oneSAIFLinkButtonfor each ASCII code 65-90 (A-Z), assigning the correspondingAlphaNumericCharactervalue. (BR-V2-089) - Append one additional link whose value is
AlphaNumericCharacter.Number. (BR-V2-090) - Raise
LinkClickedwith the clicked link'sAlphaNumericCharactervalue so the host page can filter its data. (BR-V2-091)
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start([CreateChildControls]) --> Loop[Create A-Z SAIFLinkButtons]
Loop --> Num[Append Number link]
Num --> Wait([Await user click])
Wait --> Click[User clicks a link]
Click --> Event[Raise LinkClicked with AlphaNumericCharacter]
Failure and edge-case behavior¶
- No exceptional failure handling beyond the branches described in Steps was found in the analysis findings.*
Related documentation¶
Sources¶
SAIF.Presentation.Web.Controls.V2/SAIFAlphaNumericLinkControl.vb