[Mono-bugs] [Bug 46415][Nor] New - ASP.NET : Setting Font.Names property of WebControls.Button from aspx causes exception

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 15 Jul 2003 15:50:04 -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 eric@veltman.nu.

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

--- shadow/46415	Tue Jul 15 15:50:04 2003
+++ shadow/46415.tmp.20890	Tue Jul 15 15:50:04 2003
@@ -0,0 +1,39 @@
+Bug#: 46415
+Product: Mono/Runtime
+Version: unspecified
+OS: SuSE 8.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: eric@veltman.nu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ASP.NET : Setting Font.Names property of WebControls.Button from aspx causes exception
+
+Description of Problem: 
+If you set the Font.Names property of a System.Web.UI.WebControls.Button 
+from the aspx file, an exception will be generated. 
+ 
+Steps to reproduce the problem: 
+Open the web_button.aspx sample from xsp-0.4 and 
+add Font-Names="Verdana" to the asp:button tag. 
+Then request the web_button.aspx with the browser. 
+ 
+Actual Results: 
+error CS0029: Cannot convert implicitly from `string' to `string[]' 
+marked line: __ctrl.Font.Names = "Verdana"; 
+ 
+Expected Results: 
+Successfully rendered button. 
+ 
+How often does this happen?  
+As far as I know, always. 
+ 
+Additional Information: 
+Mono 0.25 / xsp 0.4