[Mono-bugs] [Bug 71337][Wis] New - No overload for Controls array that takes 1 argument

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 16 Jan 2005 12:24:50 -0500 (EST)


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 rogerio.araujo@gmail.com.

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

--- shadow/71337	2005-01-16 12:24:50.000000000 -0500
+++ shadow/71337.tmp.30834	2005-01-16 12:24:50.000000000 -0500
@@ -0,0 +1,96 @@
+Bug#: 71337
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: rogerio.araujo@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: No overload for Controls array that takes 1 argument
+
+I have this page that uses Download user control bellow page code:
+
+<%@ Page Language="VB" ClientTarget="downlevel" %>
+<%@ Register TagPrefix="dvg" TagName="DownLoad"	Src="download.ascx" %>
+
+<script language="VB" runat="server">
+	Sub Page_Load(Sender As Object, E As EventArgs)
+	
+	End Sub
+</script>
+
+<html>
+<head>
+<title>ASP.NET User Control Sample - Validation & Events</title>
+</head>
+<body bgcolor="#FFFFFF">
+
+<form runat="server">
+	<dvg:Download id="dwnArquivo" runat="server" CorCampo="lightgreen"
+CorValor="lightblue" CorBorda="yellow"/>
+	<br />
+</form>
+</body>
+</html> 
+
+
+This is the code of Download control:
+
+<%@ language="VB" %>
+<script language="VB" runat="server">
+
+	Private	Nome      		As String
+	Private	Descricao 		As String
+	Private	QtdeDownloads	As String
+	Private	Url						As String
+	Public	CorCampo			As String
+	Public	CorValor    	As String
+	Public	CorBorda    	As String
+
+	Sub Page_Load(Src As Object, E As EventArgs)
+		Nome 					= "Winzip"
+		Descricao 		= "Compactador / Descompactador de Arquivos"
+		QtdeDownloads	= "0"
+		Url						= "http://www.winzip.com"
+	End Sub
+	
+	Sub Clicked(Src As Object, E As EventArgs) 
+		
+	End Sub	
+</script>
+
+<div width="500px" style="border-right:1px solid
+<%=CorBorda%>;border-left:1px solid <%=CorBorda%>;border-top:1px solid
+<%=CorBorda%>;border-bottom:1px solid <%=CorBorda%>;width:500px;">
+<table border="0" width="500px">
+	<tr>
+		<td bgcolor="<%=CorCampo%>">Nome:     </td><td
+bgcolor="<%=CorValor%>"><%=Nome%></td>
+	</tr>	
+	<tr>
+		<td bgcolor="<%=CorCampo%>">Descricao:</td><td
+bgcolor="<%=CorValor%>"><%=Descricao%></td>
+	</tr>
+	<tr>
+		<td bgcolor="<%=CorCampo%>">Downloads:</td><td
+bgcolor="<%=CorValor%>"><%=QtdeDownloads%></td>
+	</tr>
+	<tr>	
+		<td colspan="2" align="center"><asp:LinkButton id="lkbDownload"
+Text="Clique aqui para fazer o download." OnClick="Clicked"
+runat="server"/></td>
+	</tr>	
+</table>
+</div>
+
+When load  download.aspx i got this error:
+
+error BC1501: No overload for method `Controls' takes `1' arguments