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,"Disabl ed","Enabled" )
label1.text=str Scanner
end sub
</script>
<html>
<head id="ENGINE">
<title>WebBase. NET Engine</title>
<meta content="Micros oft Visual Studio.NET 7.0" name="GENERATOR " />
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE" />
<meta content="JavaSc ript" name="vs_defaul tClientScript" />
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema" />
<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="Micros oft Visual Studio.NET 7.0" name="GENERATOR ">
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
<meta http-equiv="scanner" content="Disabl ed">
</HEAD>
Is it possible to change the <meta http-equiv="scanner" content="Disabl ed">
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