Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...It's extraordinarily refreshing to see truly expert advice without having to wade through hipper than thou attitude..."

Geography

Where in the world do Tek-Tips members come from?

Microsoft: Visual InterDev FAQ

Browser Support

DTC support in IE 6/Netscape 6
Posted: 12 Nov 02

Most DTC's check the global page-object value
  thisPage.isDHTMLBrowser()
to see if the users' browser supports DHTML.

This function is defined in _ScriptLibrary/PM.ASP.

Unfortunately, it was set-up before IE 6 and Netscape 6 - so these are seen as NON-DHTML browsers!

You need to adjust the script in PM.ASP to provide the required browser support:

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 ||
        userAgent.indexOf('Mozilla/5') != -1 )
      this._isDHTMLBrowser = true;
   }
   return this._isDHTMLBrowser;
}

Of course, you could replace this with more advanced techniques to determine the browser capabilities (e.g. browcap.dll).

Or you could reverse the logic - and assume DHTML unless it is Netscape 4 or IE 3 or less.

Back to Microsoft: Visual InterDev FAQ Index
Back to Microsoft: Visual InterDev Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close