I have a large existing ASP.NET MVC project where I want to introduce Telerik gradually. I have separate layout files for pages that should use Telerik and pages that do not. Some fields that do not use the Telerik included layout page are still getting the kendo styling.
Example:
I have a login page. Password field should use bootstrap styling.
@Html.EditorFor(model => model.Password,
new
{ htmlAttributes =
new
{ @
class
=
"form-control"
} })
Field settings from view model:
[DisplayName(
"Password"
)]
[DataType(DataType.Password)]
public
string
Password {
get
;
set
; }
When I load the page the field gets kendo styling. How do I prevent this?
<
input
class
=
"k-textbox"
id
=
"Password"
name
=
"Password"
type
=
"password"
value
=
""
/>