728x90 반응형 keyfieldname1 [Error] This action has been disabled for security reasons. The control cannot serialize complex primary key field values. 해결방법 문제 원인 특정 컨트롤에서는 KeyFieldName을 설정해야 한다. KeyFieldName이란 primary key처럼 row를 unique하게 구분해줄 컬럼을 설정하는 것이다. 그러다 가끔 이런 에러 메세지를 마주한다. This action has been disabled for security reasons. The control cannot serialize complex primary key field values. 이 에러가 발생하는 이유는 serialize, 직렬화하기에 primary key field가 너무 복잡하다는 것이다. 즉, 간단한 number같은 key field로 바꿔달라는 의미이다. (사실, devexpress docs를 보면, string, number를 다 허용한다고 되어있.. 2023. 11. 27. 이전 1 다음 728x90 반응형