I'm using DevExpress controlls in my mvc asp.net project. Here is code of View:
<div>
@Html.DevExpress().TextBox(settings =>
{
settings.Name = "TextBox";
settings.Width = 170;
settings.Properties.DisplayFormatString = "[ 00 - 00 - 00 ]";
settings.Text = "123456";
}).GetHtml()
</div>
and here is error message:
Unable to cast the object type "System.Web.Mvc.HtmlHelper` 1 [System.Object]" to
type "System.Web.Mvc.HtmlHelper"
I cant understand where my code is failing, because it's sample code from DevExpress demos.