Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
615
RowEditTemplate and template fields not supported?
posted

Hi,

I'm trying to create a row edit template in combination with a template field. So I create two columns of which the first is a template column containing a checkbox, binded to a bool in the datasource. This is working perfectly. But when I add a RowEditTemplate, thing go wrong. First of all the template column isn't being created in the default row edit template, so I have to add it manually (as a checkbox) which isn't very difficult. At runtime however the template column is rendered incorrectly *after* the row edit template has been shown. The checkbox contains the correct value, but when I hit the "Ok" button, the value in the template column is replaced by the string "true" or "false" instead of the checkbox.

Is this a bug or I'm doing something wrong?

Parents Reply Children