Oct 30, 2009, 9:07 AM
DateField HideTrigger cannot be changed
I want to make a DateField or ComboBox readonly. This can be achieved for typing using the ReadOnly property. However these types of input still allow changing of their contents using their drop-down functionality.
There is a property called HideTrigger where I presumed I would be able to hide the trigger button and therefore prevent the user from dropping down a list or a calendar. However using this code does not work: -
Control.HideTrigger = false;
Is there a method of hiding the trigger button in code-behind?