Hello,
I have a kendo UI MVC grid, I use the popup edit template.
And I created a customer edit templates. My model has a property as type (holds three different values).
For different type, my edit template condition changes.
For example, the release date - for Type 1, it is read only; for Type 2, it is editable; and for Type 3, the label needs to be changed slightly.
I tried to use if statement in the partial view (custom edit template) to check. But it does not work since popup edit template is loaded when grid is loaded.
So is there a way that I can accomplish what I described here with kendo UI grid?
Thanks in advance
Dongfen Gao
I have a kendo UI MVC grid, I use the popup edit template.
And I created a customer edit templates. My model has a property as type (holds three different values).
For different type, my edit template condition changes.
For example, the release date - for Type 1, it is read only; for Type 2, it is editable; and for Type 3, the label needs to be changed slightly.
I tried to use if statement in the partial view (custom edit template) to check. But it does not work since popup edit template is loaded when grid is loaded.
So is there a way that I can accomplish what I described here with kendo UI grid?
Thanks in advance
Dongfen Gao