I'm trying to add a custom edit button with dataitem information to grid because I need to check each row property value "Permission" to show the button or not.
I built this code (each comment // Line # identifies one test):
I have a couple of issues:
In Line #4 everything is Ok but
- When I set edition InLine the buttons [Save] & [Cancel] don't appear
- On edition PopUp I can't set [Save] & [Cancel] text values (Like I do with c.Edit().UpdateText("My Text Update"))
Lines #1, #2, #3 don't work, I can't pass the dataitem information to the template.
Which one is the best approach? How I can solve the issues?