Error Creating Map View G_vmlcanvasmanager
Contents |
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/HTML, CSS and JavaScript/g_vmlcanvasmanager' is undefined error with IE9 g_vmlcanvasmanager' is undefined error with IE9 RSS 5 replies Last what is g_vmlcanvasmanager post Sep 05, 2013 11:17 PM by srisrit ‹ Previous Thread|Next Thread
Excanvas Js
› Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Reply srisrit None 0 Points 79 Posts g_vmlcanvasmanager' is undefined error with IE9 Sep 01, 2013 07:55 PM|srisrit|LINK Hi All, I am getting the above error, while trying to use backgroundcanvas plugin. After doing google, I have used excanvas.js in the head section of master page.Still facing the same error. Can any one please help me with this. thanks Reply A2H All-Star 44653 Points 8274 Posts Re: g_vmlcanvasmanager' is undefined error with IE9 Sep 01, 2013 10:52 PM|A2H|LINK Try with the below code if ($.browser.msie) { G_vmlCanvasManager.initElement(canvasDiv); } Also to make this work add the jquery js files Change CanvasDiv as per your control name Thanks, A2H My Blog | Linkedin Reply srisrit None 0 Points 79 Posts Re: g_vmlcanvasmanager' is undefined error with IE9 Sep 02, 2013 12:53 AM|srisrit|LINK still having the same problem Reply ramiramilu All-Star 78971 Points 16382 Posts Re: g_vmlcanvasmanager' is undefined error with IE9 Sep 02, 2013 08:14 AM|ramiramilu|LINK srisrit still having the same problem probably you might need to contact plugin owner and convey all your questions... thanks, Website JumpStart Reply Michelle Ge... All-Star 18243 Points 2201 Posts Re: g_vmlcanvasmanager' is undefined error with IE9 Sep 02, 2013 09:56 AM|Michelle Ge - MSFT|LINK Hi, To my knowledge, the IE9 document mode just breaks Canvas, Here’s what we need to have: For more information, please refer to the link below: https://groups.google.com/forum/#!msg/dygraphs-users/NKbgUlscrxc/9j48kFbfryMJ We can try to create by the link below steps by steps: http://www.williammalone.com/articles/create-html5-canvas-javascript-drawing-app/ There is a similar thread, please refer to the link below: http://forums.aurigma.com/yaf_postst5081_IE9--VObjectsRubberband--gift
your message and try again. This discussion is locked 4 Replies Latest reply: Jan 3, 2012 5:02 PM by Neil Miller 2D Drawing (Canvas, ExplorerCanvas, Raphael, VML) Neil Miller Jan 3, 2012 5:43 PM I've been trying to implement some 2D drawing into a QlikView extension. The overall goal is to be able to implement this in a custom mapping application. I've taken a look at some of the mapping extensions, but they all seem to utilize Google Maps, which I don't really need (or want). I basically want to draw some shapes on the screen, color them according to QlikView data and allow the user to select them with a click.My first try http://forums.asp.net/t/1932826.aspx?g_vmlcanvasmanager+is+undefined+error+with+IE9 was using Canvas and since I'm using IE8, ExplorerCanvas (excanvas.sourceforge.net). I used Qva.LoadScript to load the required js file for ExplorerCanvas. Then I created an AddExtension, where I tried to implement a simple canvas example:Qva.LoadScript('/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/First/excanvas.js', function(){});Qva.AddExtension('First', function() {try { var can = document.createElement('canvas'); G_vmlCanvasManager.initElement(can); if(can.getContext) { var ctx = can.getContext('2d'); ctx.fillStyle="#FF0000"; ctx.fillRect(0,0,150,75); }} catch(err) { alert('ERROR');} }, true);This is a simplified version, but I am able to get through https://community.qlik.com/thread/41654 this without any errors. Nothing is drawn to the screen. I mixed in some traditional html elements and those will display. I figured the issue was around setting up the Context, but an alert inside the if(can.getContext) gets fired, so it is hitting the Canvas code, but not displaying anything.I've also made similar attempts using Raphael & VML, but have had similar results. Does anyone have an example of a 2D drawing extension that doesn't use Google Maps? I took a look at the SVG example in the Extensions Demo. That seems to be very similar to what I am looking for, but I was unable to find the extension source anywhere.Any assistance would be appreciated. Thank you! 2113Views Tags: none (add) extensionContent tagged with extension, canvasContent tagged with canvas, 2dContent tagged with 2d, drawingContent tagged with drawing This content has been marked as final. Show 4 replies 2D Drawing (Canvas, ExplorerCanvas, Raphael, VML) - Not Working Brian Munz Jan 3, 2012 3:45 PM (in response to Neil Miller) Hi NMiller.I can provide you with the code for the SVG/Raphael extension example in a little while here, but a problem I see right off the bat is that you should either put the loadscript inside the extension and all of the extension code
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
authorMagnus Melin <mkmelin+mozilla@iki.fi> Sun, 23 Jun 2013 12:21:40 +0300 changeset 12630 374d30ca7c59 parent 12629 89ca38497a74 child 12631 4a17c2c1bb24 push id9275 push usermkmelin@iki.fi push date2013-06-23 09:22 +0000 treeherdercomm-central@374d30ca7c59 [default view] [failures only] perfherder[talos] [build metrics] [platform microbench] (compared to previous push) reviewersstandard8 bugs883629 Bug 883629 - remove test pilot from thunderbird. r=standard8 mail/app/profile/extensions/Makefile.in file | annotate | diff | comparison | revisions mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/chrome.manifest file | annotate | diff | comparison | revisions mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/components/TestPilot.js file | annotate | diff | comparison | revisions mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/content/all-studies-window.js file | annotate | diff | comparison | revisions mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/content/all-studies-window.xul file | annotate | diff | comparison | revisions mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/content/all-studies.html file | annotate | diff | comparison | revisions mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/content/all-studies.js file | annotate | diff | comparison | revisions mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/content/browser.css file | annotate | diff | comparison | revisions mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/content/browser.js file | annotate | diff | comparison | revisions mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/content/browser.xul file | annotate | diff | comparison | revis