Hi Jennyfer,
If you can detect the condition, you can insert the right string on the fly.
I've pasted in a simple example below. Let us know if it helps?
Ken
<%@ Page Language="VB" %>
<script runat="server">
dim strScanner as string
sub Page_Load
dim correct as boolean=false
strScanner=iif(correct,"Disabled","Enabled")
label1.text=strScanner
end sub
</script>
<html>
<head id="ENGINE">
<title>WebBase.NET Engine</title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR" />
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE" />
<meta content="JavaScript" name="vs_defaultClientScript" />
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema" />
<meta http-equiv="scanner" content="<% =strScanner %>" />
</head>
<body>
<form runat="server">
<asp:Label id="Label1" runat="server"></asp:Label>
<!-- Insert content here -->
</form>
</body>
</html>
"Jennyfer J Barco" wrote:
Hello, I have the following:
<HEAD id="ENGINE">
<title>WebBase.NET Engine</title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<meta http-equiv="scanner" content="Disabled">
</HEAD>
Is it possible to change the <meta http-equiv="scanner" content="Disabled">
from Disabled to Enabled. I need this because when the user scans some
incorrect product, I need to Disable the scanner and when the product is
correct I need to Enable it again. Is it possible to change this property
during run time?
Thanks in Advance
Jennyfer