This question is locked. New answers and comments are not allowed.
Hi,
I am using a grid and in one column using a client template 'text' and also it is having a button and when the user click the button,a popup
is open and can select the AcountCode from the screen and it will then display in the particular client template textbox.It is already bounded to the AccountCode from the model.
But when i save the data,the model is not updated in the particular cell value all the other model property updated well.
columns.Bound(o => o.AccountCode).ReadOnly(true)
.ClientTemplate("<input type='text' id='AccountCode<#= QuoteId #>' disabled='' value='<#= AccountCode #>'/><a href='#' onclick='JobAccount(<#= QuoteId #>)' id='searchButton' >...</a>").Title("Account Code").Width(200);
How it is possible to update the model when we select the new data in the particular client cell.
Please Help me.
Regards
Sreyas MN
I am using a grid and in one column using a client template 'text' and also it is having a button and when the user click the button,a popup
is open and can select the AcountCode from the screen and it will then display in the particular client template textbox.It is already bounded to the AccountCode from the model.
But when i save the data,the model is not updated in the particular cell value all the other model property updated well.
columns.Bound(o => o.AccountCode).ReadOnly(true)
.ClientTemplate("<input type='text' id='AccountCode<#= QuoteId #>' disabled='' value='<#= AccountCode #>'/><a href='#' onclick='JobAccount(<#= QuoteId #>)' id='searchButton' >...</a>").Title("Account Code").Width(200);
How it is possible to update the model when we select the new data in the particular client cell.
Please Help me.
Regards
Sreyas MN