Title: Strange problem Post by: yamilbracho on August 30, 2015, 05:38:09 PM I am facing a strange problem.
I have an app when some CRUD screens. Those screens have a Datagrid and use a button in the toolbar to add, edit or delete rows. To be most specific, I have two screens to update two kinds of users. Those screens share some common fields(email, Lastname, FirstName, document Id and so on). Screen 1 is for doctors and Screen 2 is for patients. When I select screen 1, entered to edit a row, all the information is shown in the dialog and then if after selects Screen2 and edits a row, some fields are shown empty but this does not happen if I select Screen 2 first, the problem comes when select Screen 1 after that... But this only happen when fields in the two screens share the same name (and same id too) It looks like the field is already created in DOM and javascript (or me, for sure) got confused... Is there a way to "kill" a page from DOM or reload it everytime... TIA, Yamil |