This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Single Row Collection with DateTime property as Date-Control without time selection

Hello,

I created a Single Row Collection with a DateTime property.

If I use this DateTime-Property in an editor control it shows the calendar picker and a time picker.

Does anyone know how to hide the time picker ans just show the date part

Thank you in advance

Parents
  • Hello Martin,

    On the DateTime property, add a property with the name DateControlType.

    This property can take one of the following values: Date, DateTime or Time. This will tell the date picker what sort of control to display.

    Hope this helps,

    Hanno

Reply
  • Hello Martin,

    On the DateTime property, add a property with the name DateControlType.

    This property can take one of the following values: Date, DateTime or Time. This will tell the date picker what sort of control to display.

    Hope this helps,

    Hanno

Children
  • Just out of curiosity: How to get this type of information? I never have seen anything like this in the documentation.

  • It should be in the WebDesigner model documentation (OneIM_QER_WebDesignerModel.chm) on the "Property" page. I'll check why it's not there.

  • Thank you. It´s there. Just understood one concept in the web designer and extended properties.

    You can set Properties of the underlying class, so to get the valid options and names for properties, I have just to know which class is below.

    Until now they were like magic strings for me.

    But on second check - The Date property in the class is called Type and the property name in the webdesigner is DateControlType. So maybe I need to know the valid property names.