[Mono-list] is HTML validated???
Pavol Stárek PSŽ
pavol@starek.sk
Wed, 01 Dec 2004 12:32:26 +0100
hallo there,
i have one problem... i need make html input tag make disabled... So i
want to do this
<tr><td><strong>Priorita:</strong></td><td><input type="text" <%
IsDissabled(true); %> ...
but i get this error
Server Error in '/itnovycas' Application
Parser Error
Description: Error parsing a resource required to service this request.
Review your source file and modify it to fix this error.
Error message: expecting '>'. Got '<'
File name: /var/www/mono/serviceevent_edit.aspx Line: 161
Source Error:
<form name="mainForm" action="serviceevent_save.aspx" method="POST"
enctype="application/x-www-form-urlencoded">
<input type="hidden" name="Id" value="<%
Response.Write(dbServiceEventData.Id);%>">
<table cellspacing="0" border="0" cellpadding="2" align="center">
<tr><td><strong>Priorita:</strong></td><td><input type="text" <%
IsDissabled(true); %> name="Priority" value="<%
Response.Write(dbServiceEventData.Priority);%>" maxlength="50"
class="EditBox"><input type="button" name="f" value="..." class="combo"
onclick="openDialog('Priority');"></td></tr>
<tr><td><strong>Vytvorené:</strong></td><td><input type="hidden"
name="CreationDT" value="<%
Response.Write(dbServiceEventData.CreationDT.ToString("dd.MM.yyyy
HH:mm"));%>" maxlength="50" class="EditBox"><%
Response.Write(dbServiceEventData.CreationDT.ToString("dd.MM.yyyy
HH:mm"));%></td></tr>
<tr><td><strong>Stredisko:</strong></td><td><input type="text"
name="Department" value="<%
Response.Write(dbServiceEventData.Department);%>" maxlength="50"
class="EditBox"><input type="button" name="f" value="..." class="combo"
onclick="openDialog('Department');"></td></tr>
<tr><td><strong>Vložil:</strong></td><td><input type="text"
name="Person" value="<% Response.Write(dbServiceEventData.Person);%>"
maxlength="101" class="EditBox"><input type="button" name="f"
value="..." class="combo" onclick="openDialog('employee'); return
true;"></td></tr>
where is problem???
thanx
Pavol