1 type derived from LiteralControl
System.Web (1)
UI\LiteralControl.cs (1)
132internal sealed class ResourceBasedLiteralControl : LiteralControl {
31 instantiations of LiteralControl
System.Web (29)
UI\ControlBuilder.cs (2)
1439childObj = new LiteralControl((string)cur); 1463childObj = new LiteralControl(code);
UI\DesignTimeTemplateParser.cs (1)
110LiteralControl literalControl = new LiteralControl(cur.ToString());
UI\HtmlControls\HtmlContainerControl.cs (2)
85Controls.Add(new LiteralControl(value)); 139Controls.Add(new LiteralControl(s));
UI\WebControls\Calendar.cs (1)
1619LiteralControl dayContent = new LiteralControl(dayNumberText);
UI\WebControls\ChangePassword.cs (3)
2981container.CreateUserLinkSeparator = new LiteralControl(); 2986container.HelpPageLinkSeparator = new LiteralControl(); 2991container.EditProfileLinkSeparator = new LiteralControl();
UI\WebControls\CommandField.cs (5)
602spaceControl = new LiteralControl(" "); 611spaceControl = new LiteralControl(" "); 624spaceControl = new LiteralControl(" "); 632spaceControl = new LiteralControl(" "); 640spaceControl = new LiteralControl(" ");
UI\WebControls\DataGrid.cs (4)
1327cell.Controls.Add(new LiteralControl(" ")); 1386cell.Controls.Add(new LiteralControl(" ")); 1408cell.Controls.Add(new LiteralControl(" ")); 1413cell.Controls.Add(new LiteralControl(" "));
UI\WebControls\EditCommandColumn.cs (1)
195LiteralControl spaceControl = new LiteralControl(" ");
UI\WebControls\HyperLink.cs (1)
236base.AddParsedSubObject(new LiteralControl(currentText));
UI\WebControls\Label.cs (1)
189base.AddParsedSubObject(new LiteralControl(currentText));
UI\WebControls\LinkButton.cs (1)
336base.AddParsedSubObject(new LiteralControl(currentText));
UI\WebControls\login.cs (2)
1844LiteralControl passwordRecoveryLinkSeparator = new LiteralControl(); 1852LiteralControl createUserLinkSeparator = new LiteralControl();
UI\WebControls\TableCell.cs (1)
303base.AddParsedSubObject(new LiteralControl(currentText));
UI\WebControls\Wizard.cs (1)
2817_titleLiteral = new LiteralControl();
UI\WebParts\RowToFieldTransformer.cs (1)
146s.Controls.Add(new LiteralControl(" "));
UI\WebParts\RowToParametersTransformer.cs (2)
264s.Controls.Add(new LiteralControl("<br />")); 312s.Controls.Add(new LiteralControl(" "));
System.Web.Extensions (2)
UI\WebControls\NextPreviousPagerField.cs (1)
409container.Controls.Add(new LiteralControl("&nbsp;"));
UI\WebControls\NumericPagerField.cs (1)
265container.Controls.Add(new LiteralControl("&nbsp;"));
75 references to LiteralControl
System.Web (59)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
708newExpr = new CodeObjectCreateExpression(typeof(LiteralControl));
UI\Control.cs (2)
3260((_controls[0] is LiteralControl)); 3291/// them. This includes any literal content being parsed as a <see cref='System.Web.UI.LiteralControl'/>
UI\DesignTimeTemplateParser.cs (1)
110LiteralControl literalControl = new LiteralControl(cur.ToString());
UI\HtmlControls\HtmlContainerControl.cs (1)
72return((LiteralControl) Controls[0]).Text;
UI\HtmlControls\HtmlTextArea.cs (1)
174if (obj is LiteralControl || obj is DataBoundLiteralControl)
UI\HtmlControls\HtmlTitle.cs (2)
34if (obj is LiteralControl) { 35_text = ((LiteralControl)obj).Text;
UI\MasterPage.cs (2)
200LiteralControl literal = control as LiteralControl;
UI\TemplateControl.cs (1)
296protected LiteralControl CreateResourceBasedLiteralControl(int offset, int size, bool fAsciiOnly) {
UI\WebControls\Calendar.cs (1)
1619LiteralControl dayContent = new LiteralControl(dayNumberText);
UI\WebControls\ChangePassword.cs (9)
2384LiteralControl createUserLinkSeparator = container.CreateUserLinkSeparator; 2389LiteralControl helpPageLinkSeparator = container.HelpPageLinkSeparator; 2390LiteralControl editProfileLinkSeparator = container.EditProfileLinkSeparator; 3185private LiteralControl _createUserLinkSeparator; 3186private LiteralControl _helpPageLinkSeparator; 3187private LiteralControl _editProfileLinkSeparator; 3338internal LiteralControl CreateUserLinkSeparator { 3389internal LiteralControl EditProfileLinkSeparator { 3430internal LiteralControl HelpPageLinkSeparator {
UI\WebControls\CommandField.cs (1)
595LiteralControl spaceControl;
UI\WebControls\EditCommandColumn.cs (1)
195LiteralControl spaceControl = new LiteralControl("&nbsp;");
UI\WebControls\HyperLink.cs (3)
222if (obj is LiteralControl) { 224Text += ((LiteralControl)obj).Text; 227Text = ((LiteralControl)obj).Text;
UI\WebControls\Label.cs (3)
176if (obj is LiteralControl) { 178Text += ((LiteralControl)obj).Text; 181Text = ((LiteralControl)obj).Text;
UI\WebControls\LinkButton.cs (3)
323if (obj is LiteralControl) { 325Text += ((LiteralControl)obj).Text; 328Text = ((LiteralControl)obj).Text;
UI\WebControls\listitem.cs (2)
366if (obj is LiteralControl) { 367Text = ((LiteralControl)obj).Text;
UI\WebControls\Literal.cs (2)
102if (obj is LiteralControl) { 103Text = ((LiteralControl)obj).Text;
UI\WebControls\login.cs (8)
1588LiteralControl createUserLinkSeparator = container.CreateUserLinkSeparator; 1593LiteralControl helpPageLinkSeparator = container.PasswordRecoveryLinkSeparator; 1844LiteralControl passwordRecoveryLinkSeparator = new LiteralControl(); 1852LiteralControl createUserLinkSeparator = new LiteralControl(); 2309private LiteralControl _createUserLinkSeparator; 2317private LiteralControl _passwordRecoveryLinkSeparator; 2348internal LiteralControl CreateUserLinkSeparator { 2452internal LiteralControl PasswordRecoveryLinkSeparator {
UI\WebControls\MultiView.cs (1)
169else if (!(obj is LiteralControl))
UI\WebControls\TableCell.cs (3)
286if (obj is LiteralControl) { 292Text += ((LiteralControl)obj).Text; 295Text = ((LiteralControl)obj).Text;
UI\WebControls\TextBox.cs (2)
547if (obj is LiteralControl) { 548Text = ((LiteralControl)obj).Text;
UI\WebControls\Wizard.cs (1)
2609private LiteralControl _titleLiteral;
UI\WebControls\xml.cs (2)
340if (obj is LiteralControl) { 342string text = ((LiteralControl)obj).Text;
UI\WebParts\CatalogZone.cs (2)
44LiteralControl literal = control as LiteralControl;
UI\WebParts\DeclarativeCatalogPart.cs (1)
85if ((webPart == null) && !(control is LiteralControl)) {
UI\WebParts\EditorZone.cs (2)
44LiteralControl literal = control as LiteralControl;
UI\WebParts\WebPartZone.cs (1)
53if ((part == null) && !(control is LiteralControl)) {
System.Web.Mobile (16)
UI\MobileControls\Adapters\ChtmlFormAdapter.cs (1)
69!(control is LiteralControl))
UI\MobileControls\Adapters\HtmlFormAdapter.cs (2)
252LiteralControl lc = childControl as LiteralControl;
UI\MobileControls\Adapters\WmlFormAdapter.cs (2)
236LiteralControl lc = childControl as LiteralControl;
UI\MobileControls\Design\MobileControlPersister.cs (5)
810if (control is LiteralControl) { 811PersistLiteralControl(sw, (LiteralControl)control); 856if (control is LiteralControl) { 857PersistLiteralControl(sw, (LiteralControl)control); 978private static void PersistLiteralControl(TextWriter sw, LiteralControl control) {
UI\MobileControls\List.cs (1)
193if (!(obj is LiteralControl))
UI\MobileControls\MobileControl.cs (3)
1022if (child is LiteralControl || 1057if (child is LiteralControl) 1059text = ((LiteralControl)child).Text;
UI\MobileControls\ObjectList.cs (1)
530if (!(obj is LiteralControl))
UI\MobileControls\SelectionList.cs (1)
302if (!(obj is LiteralControl))