public void Deny_Unrestricted ()
		{
			DataBoundLiteralControl dblc = new DataBoundLiteralControl (1, 1);
			dblc.SetDataBoundString (0, "mono");
			dblc.SetStaticString (0, "monkey");
			Assert.AreEqual ("monkeymono", dblc.Text, "Text");
		}
示例#2
0
		public void InnerText () {
			HtmlButton c = new HtmlButton ();
			DataBoundLiteralControl db = new DataBoundLiteralControl (1, 0);
			db.SetStaticString (0, "FFF");
			c.Controls.Add (db);
			Assert.AreEqual ("FFF", c.InnerText);
		}