This question is locked. New answers and comments are not allowed.
Hello,
I have a datagrid with an column, and in there a button.
When I click on it it comes in the 'KoopButtonClick method. So far so good.
But my next step is that I want to give the value from a previous column with it. It's a textbox.
I have a datagrid with an column, and in there a button.
columns.Bound(v=> v.Koop).Width(30) .ClientTemplate("<input type='button' onclick='KoopButtonClick();' value=' ' text='BesteldAantal' class='koopbutton'/>");When I click on it it comes in the 'KoopButtonClick method. So far so good.
But my next step is that I want to give the value from a previous column with it. It's a textbox.
columns.Bound(v => v.BesteldAantal).Width(70) .ClientTemplate(Html.TextBox("BesteldAantal",string.Empty, new { @class = "besteldaantal"}).ToString()); Untill now no suc6.
Does anyone have an idea?
Regards,
Gerard