Display DateTimePicker on button click


I’m trying to implement the DateTimePicker into a web application. According to the i in the properties, I can set the Soft Hidden property to false to display the calendar when my user clicks a button. But I can’t seem to get that to work. Here’s my code on the click event of my button.

Any help would be greatly appreciated.