A novel gas-filled detector for synchrotron radiation applications