[Mono-bugs] [Bug 325303] Behavior difference of HtmlTable.Visible tag in Mono against . Net Framework
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Sep 22 07:57:59 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=325303#c2
Maxim Karavaev <max.karavaev at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |max.karavaev at gmail.com
--- Comment #2 from Maxim Karavaev <max.karavaev at gmail.com> 2007-09-22 05:57:58 MST ---
This is my test case. Running it on M$ .Net Framework cell is invisible, runing
on Mono 1.2.x cell is visible.
testcase.aspx:
<%@ Page Language="C#" Inherits="TableVisibleTestCase.testcase"
codebehind="testcase.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Test case for Table Visble tag</title>
</head>
<body>
<form id="form1" runat="server">
<table runat="server" id="Table1" EnableViewState="false"
Visible="false"></table>
</form>
</body>
</html>
testcase.aspx.cs:
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace TableVisibleTestCase
{
public class testcase : Page
{
protected System.Web.UI.HtmlControls.HtmlTable Table1;
protected override void Render(System.Web.UI.HtmlTextWriter
writer)
{
HtmlTableRow row = new HtmlTableRow();
HtmlTableCell cell = new HtmlTableCell();
cell.InnerHtml = "Test cell is visible";
row.Cells.Add(cell);
Table1.Rows.Add(row);
Table1.Visible = true;
Table1.RenderControl(writer);
}
}
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list