Category / Section
How to bind database field to MaskEditTextbox within Formview?
1 min read
To bind database field to MaskEditTextBox, the MaskEditTextBox control must be placed inside the EditItemTemplate of Formview. Please refer the aspx code for binding database field:
[Aspx code]
$edititemtemplate>
$ssw:maskededittextbox mask="#-##-####" id="maskededittextbox1" value='<%#bind("shippeddate")%>' runat="server" />
$/edititemtemplate>
Please note that we have used "$" instead of "<".
Kindly refer the sample in the below link which illustrates the above:
https://help.syncfusion.com/support/samples/kb/tools.web/5.2.0.25/39690_1/DropDown_Inc33752.zip