when i change inherite value to DateTimeField, my DateText.ascx.designer.cs class type changed to DateTimeField and at runTime could not find Literal1, hence i changed it back to DateText class as follow :

ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
Line 9: namespace DynamicData1
Line 10: {
Line 11: public partial class DateText : FieldTemplateUserControl
Line 12: {
Line 13: