예제 #1
0
		// Returns the html to use to represent the control at design time.
		public override string GetDesignTimeHtml()
		{
            AUTextBox ctl = (AUTextBox)Component;
			string html = base.GetDesignTimeHtml();		
			StringWriter sw = new StringWriter();
			HtmlTextWriter tw = new HtmlTextWriter(sw);

			TextBox text = new TextBox();
            text = ctl;
            text.RenderBeginTag(tw);		   		
			return sw.ToString() ;                 
		}
예제 #2
0
        // Returns the html to use to represent the control at design time.
        public override string GetDesignTimeHtml()
        {
            DateTextBox    ctl  = (DateTextBox)Component;
            string         html = base.GetDesignTimeHtml();
            StringWriter   sw   = new StringWriter();
            HtmlTextWriter tw   = new HtmlTextWriter(sw);

            System.Web.UI.WebControls.TextBox text1 = new System.Web.UI.WebControls.TextBox();
            text1 = ctl;
            text1.RenderBeginTag(tw);
            return(sw.ToString());
        }
예제 #3
0
		// Returns the html to use to represent the control at design time.
		public override string GetDesignTimeHtml()
		{
			DateTextBox ctl = (DateTextBox)Component;
			string html = base.GetDesignTimeHtml();		
			StringWriter sw = new StringWriter();
			HtmlTextWriter tw = new HtmlTextWriter(sw);

            System.Web.UI.WebControls.TextBox text1 = new System.Web.UI.WebControls.TextBox();
			text1 = ctl;
            text1.RenderBeginTag(tw);		   		
			return sw.ToString() ;                 
		}