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
1923
delete key behaviour
posted

Hi,

I have a wdg which is bound to a dataview at run time. I have not enabled any part of the editing core as I do not want rows added or removed. I have 3 columns which are templated. Each templated column has various editing controls like input boxes, dropdowns, checkboxes etc and they look after there events completely outside of anything to do with the grid.

Whenever I press the delete or del key in a textbox in the template columns, the grid tries to async postback and throws an error about Javascript deserialization.

I presume that the grid is trying to delete the current row when the delete key is pressed, but I don't want this behaviour and thought I had disabled it...

I am using version 2010.1

Parents
No Data
Reply
  • 1923
    Suggested Answer
    posted

    not an issue...visual studio problem where the design time grid "edit behaviours" was showing that all the editing wasn't enabled, but the aspx file still had the code to enable it. Closed the file, deleted it directly in the aspx and all is happy again.

Children
No Data