Google Groups Home
Help | Sign in
Message from discussion problem rendering a map in VB.Net 2005
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jacob  
View profile
 More options Jun 22 2006, 9:27 am
From: "Jacob" <ja...@reimers.dk>
Date: Thu, 22 Jun 2006 06:27:30 -0700
Local: Thurs, Jun 22 2006 9:27 am
Subject: Re: problem rendering a map in VB.Net 2005
Glad you like the control. The problem with IE is that it doesn't like
it when you change the contents of DOM elements before the page is done
loading. Now people hate IE because it complies with the standards :-)

There are some workarounds.
The most popular is to run the map rendering code from the page body's
load event. This is somewhat bothersome when working with masterpages.
Another way is making a script block that uses the defer attribute, but
this is not guaranteed to work cross-browser.
Finally you can delay running the script manually by using a timeout,
but this sometimes causes trouble with very busy pages.

As you can see there is not a golden solution when working with master
pages as you don't have the possibility to write in the master file's
markup. So you have to do it programatically or use options 2 or 3.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google