DoCreateChildTable() public method

public DoCreateChildTable ( ) : System.Web.UI.WebControls.Table
return System.Web.UI.WebControls.Table
Ejemplo n.º 1
0
		public void GridView_CreateChildTable ()
		{
			PokerGridView g = new PokerGridView ();
			g.ID = "PokerGridView";
			g.Caption = "Caption";
			g.CaptionAlign = TableCaptionAlign.Right;
			g.CellPadding = 2;
			g.CellSpacing = 2;
			Table t = g.DoCreateChildTable ();
			Assert.IsNotNull (t, "CreateChildTable#1");
			Assert.AreEqual (false, t.ControlStyleCreated, "CreateChildTable#2");
		}