This question is locked. New answers and comments are not allowed.
I have a grid with InForm editing enabled. I want to have the text-boxes in the grid in edit mode to have the correct style (t-input) but I am running into some problems.
The following template works but does not show the correct styling:
@model string
@Html.TextBoxFor(m => m, new { @class = "text-box single-line", style = "width: 100%" })
The following template shows the correct styling but the value entered is not passed to the controller action:
@model string
@Html.TextBoxFor(m => m, new { @class = "t-input t-widget", style = "width: 100%" })
It would appear that the grid is looking for the 'text-box' class to get the edited value. Is there any way around this?
Thanks in advance.
The following template works but does not show the correct styling:
@model string
@Html.TextBoxFor(m => m, new { @class = "text-box single-line", style = "width: 100%" })
The following template shows the correct styling but the value entered is not passed to the controller action:
@model string
@Html.TextBoxFor(m => m, new { @class = "t-input t-widget", style = "width: 100%" })
It would appear that the grid is looking for the 'text-box' class to get the edited value. Is there any way around this?
Thanks in advance.