tag:blogger.com,1999:blog-4001838553487258943.post8564396451085638447..comments2023-09-03T15:07:19.549+01:00Comments on Radimaging Ltd - Paul Beck's Technical Working Notes for Microsoft Technology: SPDataGrid error 'Unable to cast object of type int32 - SPDataGrid.NewPageIndex property and DataKeyNamesUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4001838553487258943.post-81655228769761165492011-08-24T13:25:54.945+01:002011-08-24T13:25:54.945+01:00For some reason SharePoint assumes that all DataKe...For some reason SharePoint assumes that all DataKeys are strings. Therefore, it is enough to make sure that the DataKeys you use are all strings (rather than integers, as in the case that is causing the problem). You do not need to stop using DataKeys altogether. --GTKAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4001838553487258943.post-38838069873696552002011-06-23T14:01:08.856+01:002011-06-23T14:01:08.856+01:00This is not acceptable. Any workaround for this wi...This is not acceptable. Any workaround for this without having to remove DataKeyNames in Sharepoint 2010?<br /><br />MarkusAnonymousnoreply@blogger.com