Starting with version 15.2.8, the previous custom-tailored solution is no longer required, as this code has been moved to the standard delivery.
You can test this improvement right away after installing the following hot fix build: http://downloads.devexpress.com/Share/DXP/160330/DevExpressComponents-15.2.7.16090.exe
I am looking forward to hearing from you once you have had an opportunity to test the latest build with your real web projects.
Thanks,
Dennis