[Mono-bugs] [Bug 46397][Nor] New - Panel class not working correctly

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 15 Jul 2003 13:24:57 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by pbaena@uol.com.ar.

http://bugzilla.ximian.com/show_bug.cgi?id=46397

--- shadow/46397	Tue Jul 15 13:24:57 2003
+++ shadow/46397.tmp.12669	Tue Jul 15 13:24:57 2003
@@ -0,0 +1,56 @@
+Bug#: 46397
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Debian Woody
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pbaena@uol.com.ar               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Panel class not working correctly
+
+Mono renders a Panel control as a <div> element, whereas .NET renders it as
+a table.
+
+Also, the HorizontalAlign property throws an exception when setted.
+
+This throws it:
+
+
+<%@ Page Language="C#" %>
+<html>
+
+<head>
+<script language="C#" runat="server">
+ 
+    void Page_Load(Object sender, EventArgs e) {
+	//pan.HorizontalAlign = HorizontalAlign.Center;
+    }
+
+</script>
+
+</head>
+
+<body>
+<form runat="server">
+
+<asp:Panel id="pan" runat="server" HorizontalAlign="Right"
+BackColor="#4a445a" >
+
+<asp:HyperLink id="home_hl" NavigateUrl="http://bla"
+Text="Home" runat="server"/>
+</asp:Panel>
+
+    <h1 align="Center">Bienvenido a la p&aacute;gina <br>de<br> Tetsuo
+Shiva</h1> 
+    <br>
+    
+</form>
+</body>
+</html>