How to disable a RangeSlider asp.net MVC razor c#?
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
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
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
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
New contributor
edited Nov 10 at 11:23
Adi
506319
506319
New contributor
asked Nov 10 at 9:49
P. Kumar
61
61
New contributor
New contributor
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