Disabled ViewStateMode and changed the code to make it happen. Still having problems with the nullable int somehow. Idk how to resolve it