当前位置: 首页>>代码示例>>C#>>正文


C# LiteralControl.RenderControl方法代码示例

本文整理汇总了C#中System.Web.UI.LiteralControl.RenderControl方法的典型用法代码示例。如果您正苦于以下问题:C# LiteralControl.RenderControl方法的具体用法?C# LiteralControl.RenderControl怎么用?C# LiteralControl.RenderControl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Web.UI.LiteralControl的用法示例。


在下文中一共展示了LiteralControl.RenderControl方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Render

        protected override void Render(HtmlTextWriter writer)
        {
            var headControl = Page.Header;
            if (headControl == null)
            {
                base.Render(writer);
                return;
            }
            try
            {
                var hrefSchemeAndServerPart = PortalContext.Current.OriginalUri.GetComponents(UriComponents.SchemeAndServer, UriFormat.SafeUnescaped);
                var hrefPathPart = PortalContext.Current.OriginalUri.GetComponents(UriComponents.Path, UriFormat.SafeUnescaped);
                hrefSchemeAndServerPart = VirtualPathUtility.AppendTrailingSlash(hrefSchemeAndServerPart);

                var hrefString = String.Concat(hrefSchemeAndServerPart, hrefPathPart);

                //note that if the original URI already contains a trailing slash, we do not remove it
                if (AppendTrailingSlash)
                    hrefString = VirtualPathUtility.AppendTrailingSlash(hrefString);

                var baseTag = new LiteralControl
                {
                    ID = "baseTag",
                    Text = String.Format("<base href=\"{0}\" />", hrefString)
                };
                baseTag.RenderControl(writer);

            }
            catch (Exception exc) //logged
            {
                Logger.WriteException(exc);
            }

        }
开发者ID:maxpavlov,项目名称:FlexNet,代码行数:34,代码来源:BaseTag.cs

示例2: cbUpgrade_Callback

        private void cbUpgrade_Callback(object sender, Controls.CallBackEventArgs e)
        {
            string upFilePath = Server.MapPath("~/desktopmodules/activeforums/upgrade4x.txt");
            string err = "Success";
            try
            {
                if (System.IO.File.Exists(upFilePath))
                {
                    string s = Utilities.GetFileContent(upFilePath);
                    err = DotNetNuke.Entities.Portals.PortalSettings.ExecuteScript(s);
                    System.IO.File.Delete(upFilePath);
                }
            }
            catch (Exception ex)
            {
                if (ex is UnauthorizedAccessException && string.IsNullOrEmpty(err))
                {
                    err = "<span style=\"font-size:14px;font-weight:bold;\">The forum data was upgraded successfully, but you must manually delete the following file:<br /><br />" + upFilePath + "<br /><br />The upgrade is not complete until you delete the file indicated above.</span>";
                }
                else
                {
                    err = "<span style=\"font-size:14px;font-weight:bold;\">Upgrade Failed - Please go to the <a href=\"http://www.activemodules.com/community/helpdesk.aspx\">Active Modules Help Desk</a> to report the error indicated below:<br /><br />" + ex.Message + "</span>";
                }

            }
            LiteralControl lit = new LiteralControl();
            if (string.IsNullOrEmpty(err))
            {
                err = "<script type=\"text/javascript\">LoadView('home');</script>";
            }
            lit.Text = err;
            lit.RenderControl(e.Output);
        }
开发者ID:allanedk,项目名称:ActiveForums,代码行数:33,代码来源:admin_upgrade.ascx.cs

示例3: RenderContents

       protected override void RenderContents(HtmlTextWriter writer)
       {
           LiteralControl ctrl = new LiteralControl();

           if (base.State == SourceCode.Forms.Controls.Web.Shared.ControlState.Runtime)
           {

               string sampleHTML = GenerateHTML();
               ctrl.Text = sampleHTML;
           }
           else
           {
               ctrl.Text = "Thai Baht Text by K2";
           }
           ctrl.RenderControl(writer);   
       }
开发者ID:narapat,项目名称:K2TH.SmartFormControl.ThaiBahtTextLabel,代码行数:16,代码来源:ThaiBahtTextLabel_Control.cs

示例4: XGetDesignTimeHtml

        public override string XGetDesignTimeHtml(DesignerRegionCollection regions)
        {
            EditableDesignerRegion region = new EditableDesignerRegion(this, "Body", false);
            regions.Add(region);

            StringWriter writer = new StringWriter(CultureInfo.CurrentCulture);
            HtmlTextWriter htmlWriter = new HtmlTextWriter(writer);

            FieldSet c = (FieldSet)this.Control;

            string width = " width: {0};".FormatWith(c.Width.ToString());
            string height = " height: {0}px;".FormatWith((c.Height.Value - 39).ToString());

            string buttons = "";
            buttons += (c.CheckboxToggle && !c.Collapsible) ? "<input name=\"ext-comp-1002-checkbox\" type=\"checkbox\">" : "";
            buttons += (c.Collapsible && !c.CheckboxToggle) ? "<div class=\"x-tool x-tool-toggle\">&nbsp;</div>" : "";
            
            /*
             * 0 - ClientID
             * 1 - Title
             * 2 - Width
             * 3 - Height
             * 4 - Buttons
             * 5 - BodyStyle
             */

            object[] args = new object[6];
            args[0] = c.ClientID;
            args[1] = c.Title;
            args[2] = width;
            args[3] = height;
            args[4] = buttons;
            args[5] = c.BodyStyle;

            LiteralControl topCtrl = new LiteralControl(string.Format(this.HtmlBegin, args));
            topCtrl.RenderControl(htmlWriter);

            HtmlGenericControl div = (HtmlGenericControl)c.ContentContainer;
            div.Attributes[DesignerRegion.DesignerRegionAttributeName] = "0";
            div.InnerHtml = this.GetEditableDesignerRegionContent(region);
            div.RenderControl(htmlWriter);

            LiteralControl bottomCtrl = new LiteralControl(this.HtmlEnd);
            bottomCtrl.RenderControl(htmlWriter);

            return writer.ToString();
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:47,代码来源:FieldSetDesigner.cs

示例5: XGetDesignTimeHtml

        public override string XGetDesignTimeHtml()
        {
            StringWriter writer = new StringWriter(CultureInfo.CurrentCulture);
            HtmlTextWriter htmlWriter = new HtmlTextWriter(writer);

            Checkbox c = (Checkbox)this.Control;

            object[] args = new object[7];
            args[0] = c.ClientID;
            args[1] = c.Checked.ToString().ToLower();
            args[5] = c.StyleSpec;
            args[6] = "x-form-checkbox x-form-field " + c.ClearCls;
            
            LiteralControl ctrl = new LiteralControl(string.Format(this.Html, args));
            ctrl.RenderControl(htmlWriter);

            return writer.ToString();
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:18,代码来源:CheckboxDesigner.cs

示例6: XGetDesignTimeHtml

        public override string XGetDesignTimeHtml()
        {
            StringWriter writer = new StringWriter(CultureInfo.CurrentCulture);
            HtmlTextWriter htmlWriter = new HtmlTextWriter(writer);

            DatePicker c = (DatePicker)this.Control;

            string width = (c.Width != Unit.Empty) ? " width: {0};".FormatWith(c.Width.ToString()) : "";
            string height = (c.Height != Unit.Empty) ? " height: {0};".FormatWith(c.Height.ToString()) : "";

            object[] args = new object[3];
            args[0] = c.ClientID;
            args[1] = DateTime.Today.ToString("MMMM yyyy");
            args[2] = c.TodayText;

            LiteralControl ctrl = new LiteralControl(string.Format(this.Html, args));
            ctrl.RenderControl(htmlWriter);

            return writer.ToString();
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:20,代码来源:DatePickerDesigner.cs

示例7: XGetDesignTimeHtml

        public override string XGetDesignTimeHtml()
        {
            StringWriter writer = new StringWriter(CultureInfo.CurrentCulture);
            HtmlTextWriter htmlWriter = new HtmlTextWriter(writer);

            TextArea c = (TextArea)this.Control;

            string width = (c.Width != Unit.Empty) ? " width: {0};".FormatWith(c.Width.ToString()) : "";
            string height = (c.Height != Unit.Empty) ? " height: {0};".FormatWith(c.Height.ToString()) : "";

            object[] args = new object[7];
            args[0] = c.ClientID;
            args[1] = c.Text.IsEmpty() ? c.EmptyText : c.Text;
            args[2] = width;
            args[3] = height;
            args[4] = c.StyleSpec;
            args[5] = "x-form-textarea x-form-field " + (c.Text.IsEmpty() ? "x-form-empty-field " : "") + c.Cls;

            LiteralControl ctrl = new LiteralControl(string.Format(this.Html, args));
            ctrl.RenderControl(htmlWriter);

            return writer.ToString();
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:23,代码来源:TextAreaDesigner.cs

示例8: XGetDesignTimeHtml

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public override string XGetDesignTimeHtml()
        {
            StringWriter writer = new StringWriter(CultureInfo.CurrentCulture);
            HtmlTextWriter htmlWriter = new HtmlTextWriter(writer);

            NumberField c = (NumberField)this.Control;

            string width = (c.Width != Unit.Empty) ? " width: {0};".FormatWith((c.Grow && c.GrowMin.Value > c.Width.Value) ? c.GrowMin.ToString() : c.Width.ToString()) : "";
            string height = (c.Height != Unit.Empty) ? " height: {0};".FormatWith(c.Height.ToString()) : "";

            object[] args = new object[7];
            args[0] = c.ClientID;
            args[1] = c.Text.IsEmpty() ? c.EmptyText : c.Text;
            args[2] = c.InputType.ToString().ToLower();
            args[3] = width;
            args[4] = height;
            args[5] = c.StyleSpec;
            args[6] = "x-form-text x-form-field x-form-num-field " + ((c.Text.IsEmpty()) ? "x-form-empty-field " : "") + c.Cls;
            
            LiteralControl ctrl = new LiteralControl(string.Format(this.Html, args));
            ctrl.RenderControl(htmlWriter);

            return writer.ToString();
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:28,代码来源:NumberFieldDesigner.cs

示例9: XGetDesignTimeHtml

        public override string XGetDesignTimeHtml()
        {
            StringWriter writer = new StringWriter(CultureInfo.CurrentCulture);
            HtmlTextWriter htmlWriter = new HtmlTextWriter(writer);

            HtmlEditor c = (HtmlEditor)this.Control;

            string width = " width: {0};".FormatWith((c.Width != Unit.Empty) ? c.Width.ToString() : "504px");
            string height = " height: {0};".FormatWith((c.Height != Unit.Empty) ? c.Height.ToString() : "275px");

            /*
            * 0 - ClientID
            * 1 - Text
            * 2 - Width
            * 3 - Height
            * 4 - Font
            * 5 - Format
            * 6 - FontSize
            * 7 - Colors
            * 8 - Alignments
            * 9 - Links
            * 10 - Lists
            * 11- SourceEdit
            */

            object[] args = new object[12];
            args[0] = c.ClientID;
            args[1] = c.Text;
            args[2] = width;
            args[3] = height;
            args[4] = (c.EnableFont) ? this.Font : "";
            args[5] = (c.EnableFormat) ? this.Format : "";
            args[6] = (c.EnableFontSize) ? this.FontSize : "";
            args[7] = (c.EnableColors) ? this.Colors : "";
            args[8] = (c.EnableAlignments) ? this.Alignments : "";
            args[9] = (c.EnableLinks) ? this.Links : "";
            args[10] = (c.EnableLists) ? this.Lists : "";
            args[11] = (c.EnableSourceEdit) ? this.SourceEdit : "";

            LiteralControl ctrl = new LiteralControl(string.Format(this.Html, args));
            ctrl.RenderControl(htmlWriter);

            return writer.ToString();
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:44,代码来源:HtmlEditorDesigner.cs

示例10: RenderEmptyZoneText

 protected virtual void RenderEmptyZoneText(HtmlTextWriter writer)
 {
     var emptyText = new LiteralControl(EmptyZoneText);
     emptyText.RenderControl(writer);
 }
开发者ID:maxpavlov,项目名称:FlexNet,代码行数:5,代码来源:CollapsibleEditorZone.cs

示例11: renderToolbar

        protected void renderToolbar(HtmlTextWriter writer)
        {
            LiteralControl toolbar = new LiteralControl();
            toolbar.Text =  "<div class='widgetToolbarWrapper'>";
            toolbar.Text += "<div><a href='#' type='textbox'><img src='/umbraco/plugins/WidgetBuilder/images/textbox.png' alt='' title='Textbox'/><span>Textbox</span></a></div>";
            toolbar.Text += "<div><a href='#' type='textarea'><img src='/umbraco/plugins/WidgetBuilder/images/textarea.png' alt='' title='Textarea'/><span>Textarea</span></a></div>";
            toolbar.Text += "<div><a href='#' type='tinymce'><img src='/umbraco/plugins/WidgetBuilder/images/tinymce.png' alt='' title='TinyMCE'/><span>TinyMCE</span></a></div>";
            toolbar.Text += "<div><a href='#' type='list'><img src='/umbraco/plugins/WidgetBuilder/images/list.png' alt='' title='List'/><span>List</span></a></div>";

            if (Widget_Builder.HasSpreadsheet)
            {
                toolbar.Text += "<div><a href='#' type='spreadsheet'><img src='/umbraco/plugins/WidgetBuilder/images/spreadsheet.png' alt='' title='Spreadsheet'/><span>Spreadsheet</span></a></div>";
            }

            toolbar.Text += "<div><a href='#' type='mediapicker'><img src='/umbraco/plugins/WidgetBuilder/images/mediapicker.png' alt='' title='MediaPicker'/><span>Media Picker</span></a></div>";
            toolbar.Text += "<div><a href='#' type='checkradio'><img src='/umbraco/plugins/WidgetBuilder/images/checkradio.png' alt='' title='Checkbox/Radio'/><span>Check/Radio</span></a></div>";
            toolbar.Text += "<div><a href='#' type='dropdown'><img src='/umbraco/plugins/WidgetBuilder/images/dropdown.png' alt='' title='Dropdown'/><span>Dropdown</span></a></div>";
            toolbar.Text += "<div><a href='#' type='contentpicker'><img  src='/umbraco/plugins/WidgetBuilder/images/contentpicker.png' alt='' title='ContentPicker'/><span>Content Picker</span></a></div>";

            if (Widget_Builder.HasDamp)
            {
                toolbar.Text += "<div><a href='#' type='damp'><img src='/umbraco/plugins/WidgetBuilder/images/damp.png' alt='' title='DAMP'/><span>DAMP</span></a></div>";
            }

            toolbar.Text += "<div><a href='#' type='map'><img src='/umbraco/plugins/WidgetBuilder/images/map.png' alt='' title='DAMP'/><span>Map</span></a></div>";
            toolbar.Text += "<div><a href='#' type='inlinepicker'><img src='/umbraco/plugins/WidgetBuilder/images/inlinepicker.png' alt='' title='Inline Image Picker'/><span>Inline Image Picker</span></a></div>";

            //toolbar.Text += "<div><a href='#' type='datepicker'><img src='/umbraco/plugins/WidgetBuilder/images/datepicker.png' alt='' title='Date Picker'/><span>Date Picker</span></a></div>";

            toolbar.Text += "</div>";
            toolbar.Text += "<div><a class='json' href='#'>Toggle JSON (Advanced Only)</a></div>";

            toolbar.RenderControl(writer);
        }
开发者ID:kgiszewski,项目名称:WidgetBuilder,代码行数:34,代码来源:PrevalueEditor.cs

示例12: Render

			/// <summary>
			/// Overrides <see cref="HtmlControl.Render"/>.
			/// </summary>
			protected override void Render( HtmlTextWriter writer ) 
			{
				base.Render(writer);
				if ( master != null ) 
				{
					LiteralControl script = new LiteralControl("\r\n<script language='javascript'>\r\nMetaBuilders_RowSelectorColumn_Register('" + master.ClientID + "', '" + this.ClientID + "')\r\n</script>");
					script.RenderControl(writer);
				}
			}
开发者ID:demonzhq,项目名称:JLR,代码行数:12,代码来源:RowSelector.cs

示例13: XGetDesignTimeHtml


//.........这里部分代码省略.........
                        height = " height: {0}px;".FormatWith(Height.Value - 27);  
                    }
                    else
                    {
                        height = " height: {0};".FormatWith(Height);  
                    }
                }

                if (this.Layout.Value == LayoutType.Border)
                {
                    if (BorderRegion.Collapsible && BorderRegion.Region != RegionPosition.Center)
                    {
                        buttons = "<a {1}><div class=\"x-tool x-tool-toggle x-tool-collapse-{0}\">&nbsp;</div></a>".FormatWith(BorderRegion.Region.ToString().ToLower(), GetDesignerRegionAttribute(BorderRegion.Region, BorderLayoutDesigner.BorderLayoutClickAction.Collapse));
                    }
                    else
                    {
                        // for prevent shifting regions
                        designerRegions.Add(new DesignerRegion(CurrentDesigner, "Empty", false));
                        buttons = "";
                    }
                }
            }

            string iconCls = "";

            this.AddIcon(c.Icon);

            if (c.IconClsProxy.IsNotEmpty())
            {
                if (c.Frame)
                {
                    iconCls = "x-panel-icon " + c.IconClsProxy;
                }
                else
                {
                    iconCls = "<img src=\"{0}\" class=\"x-panel-inline-icon {1}\" />".FormatWith(c.ResourceManager.BLANK_IMAGE_URL, c.IconClsProxy);
                }
            }

            string header = "";

            if (c.Header)
            {
                /*
                 * 0  - x-panel-header-noborder
                 * 1  - IconCls
                 * 2  - Title
                 * 3  - Buttons
                 */

                object[] headerArgs = new object[4];
                headerArgs[0] = !c.Border ? "x-panel-header-noborder" : "";
                headerArgs[1] = iconCls;
                headerArgs[2] = c.Title;
                headerArgs[3] = buttons;

                header = string.Format(this.HtmlHeader, headerArgs);
            }

            /*
             0  - Width
             1  - x-panel-noborder
             2  - Collapsed style
             3  - Collapsed  display: block;
             4  - BodyStyle
             5  - Height
             6  - x-panel-body-noborder
             7  - HEADER 
             */

            object[] args = new object[8];
            args[0] = width;
            args[1] = !c.Border ? "x-panel-noborder" : "";
            args[2] = c.Collapsed && c.Collapsible ? "x-panel-collapsed" : "";
            args[3] = (c.Collapsed) ? "display: none;" : "display: block;";
            args[4] = c.BodyStyle;
            args[5] = height;
            args[6] = !c.Border ? "x-panel-body-noborder" : "";
            args[7] = header;

            LiteralControl topCtrl = new LiteralControl(string.Format(this.HtmlBegin, args) + this.GetIconStyleBlock());
            topCtrl.RenderControl(htmlWriter);

            HtmlGenericControl div = (HtmlGenericControl)c.ContentContainer;
            EditableDesignerRegion region = new EditableDesignerRegion(CurrentDesigner, ContentRegionName, false);
            designerRegions.Add(region);

            if ((!c.Collapsible) || (c.Collapsible && !c.Collapsed) || (this.Layout.HasValue && this.Layout.Value == LayoutType.Border))
            {
                div.Attributes[DesignerRegion.DesignerRegionAttributeName] = (designerRegions.Count - 1).ToString();
                div.Style["height"] = "100%";
                div.Style["overflow"] = "hidden";
                div.RenderControl(htmlWriter);
            }
            
            LiteralControl bottomCtrl = new LiteralControl(this.HtmlEnd);
            bottomCtrl.RenderControl(htmlWriter);

            return writer.ToString();
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:101,代码来源:PanelDesigner.cs

示例14: XGetDesignTimeHtml

        public override string XGetDesignTimeHtml()
        {
            StringWriter writer = new StringWriter(CultureInfo.CurrentCulture);
            HtmlTextWriter htmlWriter = new HtmlTextWriter(writer);

            DateField c = (DateField)this.Control;

            string width = (c.Width != Unit.Empty) ? " width: {0};".FormatWith(c.Width.ToString()) : "";
            string height = (c.Height != Unit.Empty) ? " height: {0};".FormatWith(c.Height.ToString()) : "";

            object[] args = new object[9];
            args[0] = c.ClientID;

            if (c.SelectedDate != DateTime.MinValue && c.SelectedDate != DateTime.MaxValue)
            {
                args[1] = c.SelectedDate.ToString(c.Format);
            }
            else
            {
                args[1] = "";
            }
            
            args[2] = width;
            args[3] = height;
            args[4] = c.StyleSpec;
            args[5] = "x-form-text x-form-field " + ((c.IsEmpty) ? "x-form-empty-field " : "") + c.Cls;
            args[6] = "x-form-trigger x-form-date-trigger " + c.TriggerClass;

            ResourceManager sm = c.ResourceManager;

            if (sm != null)
            {
                args[7] = c.ResourceManager.BLANK_IMAGE_URL;
            }
            else
            {
                args[7] = "";
            }
            args[8] = " width: {0};".FormatWith((c.Width != Unit.Empty) ? (c.Width.Value + 20) + "px" : "144px");

            LiteralControl ctrl = new LiteralControl(string.Format(this.Html, args));
            ctrl.RenderControl(htmlWriter);

            return writer.ToString();
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:45,代码来源:DateFieldDesigner.cs

示例15: XGetDesignTimeHtml

        public override string XGetDesignTimeHtml(DesignerRegionCollection regions)
        {
            Window c = (Window)this.Control;
            designerRegions = regions;

            EditableDesignerRegion region = new EditableDesignerRegion(this, "Body", false);
            regions.Add(region);

            StringWriter writer = new StringWriter(CultureInfo.CurrentCulture);
            HtmlTextWriter htmlWriter = new HtmlTextWriter(writer);

            string width = " width: {0};".FormatWith(c.Width.ToString());
            string height = " height: {0}px;".FormatWith((c.Height.Value - 30).ToString());

            string buttons = "";
            buttons += (c.Closable) ? "<div class=\"x-tool x-tool-close\">&nbsp;</div>" : "";
            buttons += (c.Maximizable) ? "<div class=\"x-tool x-tool-maximize\">&nbsp;</div>" : "";
            buttons += (c.Minimizable) ? "<div class=\"x-tool x-tool-minimize\">&nbsp;</div>" : "";
            buttons += (c.Collapsible) ? "<a {0}><div class=\"x-tool x-tool-toggle\">&nbsp;</div></a>" : "";


            if (c.Collapsible)
            {
                buttons = string.Format(buttons, GetDesignerRegionAttribute(WindowClickAction.Toggle));
            }
            else
            {
                // for prevent shifting regions
                designerRegions.Add(new DesignerRegion(this.CurrentDesigner, "Empty", false));
            }

            /*
             * 0 - ClientID
             * 1 - Title
             * 2 - Width
             * 3 - Height
             * 4 - Buttons
             * 5 - BodyStyle
             */

            object[] args = new object[9];
            args[0] = c.ClientID;
            args[1] = c.Title.IsEmpty() ? "&nbsp;" : c.Title;
            args[2] = width;
            args[3] = height;
            args[4] = buttons;
            args[5] = c.BodyStyle;
            args[6] = c.IconClsProxy.IsNotEmpty() ? "x-panel-icon " + c.IconClsProxy : "";
            args[7] = c.Collapsed && c.Collapsible ? "x-panel-collapsed" : "";
            args[8] = (c.Collapsed && c.Collapsible) ? "display: none;" : "display: block;";

            // NOTE: Make sure you add to the object[SIZE] above if adding to the args array.

            this.AddIcon(c.Icon);

            LiteralControl topCtrl = new LiteralControl(string.Format(this.HtmlBegin, args) + this.GetIconStyleBlock());
  
            topCtrl.RenderControl(htmlWriter);

            if (!(c.Collapsed && c.Collapsible))
            {
                HtmlGenericControl div = (HtmlGenericControl)c.ContentContainer;
                div.Attributes[DesignerRegion.DesignerRegionAttributeName] = "0";
                div.Style["height"] = "100%";
                div.RenderControl(htmlWriter);
            }


            LiteralControl bottomCtrl = new LiteralControl(string.Format(this.HtmlEnd, args[8]));
            
            bottomCtrl.RenderControl(htmlWriter);

            string temp = writer.ToString();

            return temp;
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:76,代码来源:WindowDesigner.cs


注:本文中的System.Web.UI.LiteralControl.RenderControl方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。