How to disable a RangeSlider asp.net MVC razor c#?

Multi tool use
up vote
1
down vote
favorite
Is there any built in property? I tried with different attributes like @readonly = "readonly"
, @class = "disabledClass"
and disabled="disabled"
, but I don't understand why it is not working.
Here is a piece of my code in razor:
@Html.EditorFor(model => model.olddata "RangeSlider", new
id = "olddata",
minValue = 1,
maxValue = 10,
defaultValue = 6,
stepValue = 1
)
rangeslider
New contributor
P. Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
1
down vote
favorite
Is there any built in property? I tried with different attributes like @readonly = "readonly"
, @class = "disabledClass"
and disabled="disabled"
, but I don't understand why it is not working.
Here is a piece of my code in razor:
@Html.EditorFor(model => model.olddata "RangeSlider", new
id = "olddata",
minValue = 1,
maxValue = 10,
defaultValue = 6,
stepValue = 1
)
rangeslider
New contributor
P. Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Is there any built in property? I tried with different attributes like @readonly = "readonly"
, @class = "disabledClass"
and disabled="disabled"
, but I don't understand why it is not working.
Here is a piece of my code in razor:
@Html.EditorFor(model => model.olddata "RangeSlider", new
id = "olddata",
minValue = 1,
maxValue = 10,
defaultValue = 6,
stepValue = 1
)
rangeslider
New contributor
P. Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Is there any built in property? I tried with different attributes like @readonly = "readonly"
, @class = "disabledClass"
and disabled="disabled"
, but I don't understand why it is not working.
Here is a piece of my code in razor:
@Html.EditorFor(model => model.olddata "RangeSlider", new
id = "olddata",
minValue = 1,
maxValue = 10,
defaultValue = 6,
stepValue = 1
)
rangeslider
rangeslider
New contributor
P. Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
P. Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Nov 10 at 11:23


Adi
506319
506319
New contributor
P. Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Nov 10 at 9:49
P. Kumar
61
61
New contributor
P. Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
P. Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
P. Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
P. Kumar is a new contributor. Be nice, and check out our Code of Conduct.
P. Kumar is a new contributor. Be nice, and check out our Code of Conduct.
P. Kumar is a new contributor. Be nice, and check out our Code of Conduct.
P. Kumar is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237772%2fhow-to-disable-a-rangeslider-asp-net-mvc-razor-c%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Og W,U G4erIXem0yJ6,RTMnKkaFQoax,81S2S90hiVf8gii If7VIHtxrv2Yo0Jk4fG0dj8uAuIxSvVwKbrWQ9NTLFLVtHEdAHUnSs1