Danhauser's works, which went largely unappreciated in his time, dealt with moralising subjects and had a clear influence of William Hogarth.
Invited by Johann Ladislaus Pyrker, patriarch of Venice, Danhauser visited Doges, where he started to study the Italian masters.
[3] After his father's death in 1829, his brothers and he managed his furniture factory during the Biedermeier movement, being the precursors of modern design.
In 1833, Danhauser responded to a second invitation from Eger's archbishop, and he painted The martyr of Saint John for a new basilica in the city, and he received the Vienna Academy prize for his picture Die Verstoßung der Hagar, and he specialised in Genre works.
In 1838, he was appointed vice-rector of the Academy and married Josephine Streit, who was the daughter of a physician and with whom he had three children, Josef, Marie and Julie, born in 1839, 1841 and 1843 respectively.