I have uploaded the MandatoryStringUIProperty at community.smartcodegenerator.com and is available to download.
This UIProperty will force user to enter text in the textbox.
To Include this UIProperty in your project please follow these steps:
======================================================================
Step1: Copy the files
ScMandatoryStringUIProperty.ascx and
ScMandatoryStringUIProperty.ascx.cs
in your Projectcs PropertyControls folder.
Step2: Copy the file ScMandatoryStringProperty.cs
in your Projects App_Code folder.
Step3:
Add the following node into your PropertyAndUIPropertyMaps.xml file
<PropertyTypeAndUIPropertyMap>
<PropertyType>ScMandatoryStringProperty</PropertyType>
<PropertyUI>ScMandatoryStringUIProperty.ascx</PropertyUI>
</PropertyTypeAndUIPropertyMap>