Hin: अशोकनगर ashokanagar

‘Ashok Town’  [Pachhar]  Town/District, Madhya Pradesh (MP)

From (Emperor) Ashoka; and Hin: nagar,city’, ‘town’.

The suggestion that the name derives from an overnight visit from the  famous Mauryan Emperor en route to capture Ujjain  is popular and there is nothing else to go on.