Articles in this section
Category / Section

How to bind database field to MaskEditTextbox within Formview?

 

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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied