We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using watermark with MaskEdit and no MaskFormat

Thread ID:





121756 Jan 21,2016 07:30 PM UTC Jan 22,2016 12:40 PM UTC ASP.NET MVC 1
Tags: MaskEditTextbox
Robert McCabe
Asked On January 21, 2016 07:30 PM UTC

I'm new to Syncfusion so bear with me. I'm trying to get a simple textbox with placeholder and the only way seems to be to use a MaskEdit without the MaskFormat. But when I try this the watermark does not show. Below is the lines I have tried:

        @Html.EJ().MaskEdit("UserID").MaskFormat("").InputMode(InputMode.Text).WatermarkText("User ID").ShowRoundedCorner(true)
        @Html.EJ().MaskEdit("UserID").InputMode(InputMode.Text).WatermarkText("User ID").ShowRoundedCorner(true)
        @Html.EJ().MaskEdit("UserID").MaskFormat("????????").InputMode(InputMode.Text).WatermarkText("User ID").ShowRoundedCorner(true)

The last one works, but I don't want to limit the user input.

Francis Paul Antony Raj [Syncfusion]
Replied On January 22, 2016 12:40 PM UTC

Hi Robert,

Thanks for contacting Syncfusion support.

We are able to reproduce the above reported issue (“watermarkText doesn’t shown, if maskFormat is not set”). A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.



Francis Paul A


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon