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

NumericTextboxFor: MinValue and MaxValue does not work

Thread ID:





121113 Nov 11,2015 02:46 PM UTC Nov 13,2015 10:41 AM UTC ASP.NET MVC 3
Tags: General
Asked On November 11, 2015 02:46 PM UTC

Hi all,

After a lot of struggling, I have managed to get NumericTextboxFor working.

The problem I have is that .MinValue and .MaxValue have no effect at all.

On the opposite side, with NumericTextbox the .MinValue and .MaxValue actually works, but I cannot get the post of the control back to the controller to work.

Here is my code:

<div class="frame">
        <div class="control">
            <table class="editors">
                            @Html.EJ().NumericTextBoxFor(model => model.ConfirmedWastedQuantity, new { Value = Model.WastedQuantity.ToString() ?? "0" }).MinValue(0).MaxValue(10)       
                            @Html.HiddenFor(x => x.ConfirmedWastedQuantity)

I am rather new to ASP.NET MVC, so I could be doing something wrong.

Please assist.

N. Jamieson

Francis Paul Antony Raj [Syncfusion]
Replied On November 12, 2015 07:20 AM UTC

Hi Jamieson,

Thanks for contacting Syncfusion support.

This is the known issue and we have already fixed this issue. The fix for the issue will be available in our upcoming Volume 3 Service Pack 2 which is expected to be roll out by the end of November 2015.


Francis Paul A

Replied On November 12, 2015 10:45 AM UTC

Thank you for the reply.

I have worked around it for now and will update my code when the SP is released.

Kind regards,


Francis Paul Antony Raj [Syncfusion]
Replied On November 13, 2015 10:41 AM UTC

Hi Neil,

Thanks for your update.

Please check once the Service Pack is rolled out.


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