PRB: When You Disable Interdev Design Time Controls, They Appear as Not Supported in Internet Explorer 6.0 (321072)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
This article was previously published under Q321072 SYMPTOMSWhen you disable the Design Time Controls (for example,
TextBox and ListBox), it appears as though Internet Explorer 6.0 does not support dynamic HTML (DHTML) controls. For
example, if you try to get the value from the TextBox control by querying the value of
the INPUT tag, you receive an error message because the INPUT tag does not exist in the
HTML source code. CAUSEIn an InterDev 6.0 ASP project, the PM.ASP file of the _ScriptLibrary specifies the different versions of
Internet Explorer that are considered for DHTML compatibility. In the PM.ASP file, Internet Explorer 4.x
and Internet Explorer 5.x are specified for DHTML compatibility. However, the PM.ASP file does not specify Internet Explorer 6.x.RESOLUTION To resolve this problem, follow these steps: - Open the PM.ASP file from the
_ScriptLibrary folder of your InterDev project, and then locate the following method:
function _SOM_isDHTMLBrowser()
{
if (typeof(this._isDHTMLBrowser) == 'undefined')
{
this._isDHTMLBrowser = false;
var userAgent = String(Request.ServerVariables('HTTP_USER_AGENT'));
if (userAgent.indexOf('MSIE 4.') != -1 ||
userAgent.indexOf('MSIE 5.') != -1)
this._isDHTMLBrowser = true;
}
return this._isDHTMLBrowser;
} - Replace this method with the following:
function _SOM_isDHTMLBrowser()
{
if (typeof(this._isDHTMLBrowser) == 'undefined')
{
this._isDHTMLBrowser = false;
var userAgent = String(Request.ServerVariables('HTTP_USER_AGENT'));
if (userAgent.indexOf('MSIE 4.') != -1 ||
userAgent.indexOf('MSIE 5.') != -1 ||
userAgent.indexOf('MSIE 6.') != -1)
this._isDHTMLBrowser = true;
}
return this._isDHTMLBrowser;
}
Modification Type: | Minor | Last Reviewed: | 4/29/2003 |
---|
Keywords: | kbWebBrowser kbScript kbhtml kbDHTML kbControl kbInetDev kbprb KB321072 kbAudDeveloper |
---|
|