se io scrivo nella mia bella pagina .aspx ->
<asp:HtmlInputImage id="opz1" src="finali/opzione1.gif" runat="server" />
perkè mi dà errore ???
la pagina in questione è ->
codice:
<%@ Page language="VB" debug="true"%>
<%@ import namespace="System.Web.UI.HtmlControls" %>
<script runat="server">
Sub Page_load(obj As Object , e As EventArgs )
End Sub
</script>
<html>
<head>
<title>Decidi la veste grafica</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<Form runat="server">
<table width="468" border="0" cellspacing="2" cellpadding="2" align="center">
<tr>
<td width="234">
<asp:HtmlInputImage id="opz1" src="finali/opzione1.gif" runat="server" />
</td>
<td width="234">
</td>
</tr>
<tr>
<td width="234">
</td>
<td width="234">
</td>
</tr>
</table>
</form>
</body>
</html>
l'errore ke mi dà a video è il seguente ->
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type System.Web.UI.WebControls.HtmlInputImage from assembly System.Web, Version=1.4000.2411.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
non riesco a capire, che può essere ???
l'immagine son certo che esiste. se la punto direttamente va.
se invece di mettere asp:
<asp:HtmlInputImage id="opz1" src="finali/opzione1.gif" runat="server" />
metto
<asp:htmlimage id="opz1" src="finali/opzione1.gif" runat="server" />
l'errore è lo stesso.
se invece faccio
[img]finali/opzione1.gif[/img]
va.
è ke io devo usare l'immagine come pulsante di scelta.
helpete mi !!!!!
Ciauz e grazie