Dart Home | PowerWEB Zoom for ASP.NET | Custom Development | Reply | PowerWEB Zoom for ASP.NET Topics | Forums |
Author | Forum: PowerWEB Zoom for ASP.NET Topic: Error using the control downloaded the product 27/11/2006 |
R jam From: EAst london, United Kingdom Posts: 22 Member Since: 09/27/05 |
posted November 29, 2006 5:53 AM im using an example similar to the zoomshop but what happens when i move around an image i get the following error. line 1398 error:object doesnt support this action when i click debug it takes me to the Getresource.aspx page and crashes on this line "target.complete=true;" as can be seen below catch(err){} this.isDestroyed=true; } var pwImageCheck=10; pwTile.prototype.onLoad=function(e){ var target=pwTargetFromE(e); if(typeof(target)!="undefined"){ if(target.tagName=="IMG"){ --> target.complete=true; } } } |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted November 30, 2006 8:50 AM what browser/version are you using? |
R jam From: EAst london, United Kingdom Posts: 22 Member Since: 09/27/05 |
posted November 30, 2006 10:17 AM IE 6 win2003 web |
R jam From: EAst london, United Kingdom Posts: 22 Member Since: 09/27/05 |
posted November 30, 2006 10:18 AM I have made sure the images have uniform name like aaa.jpeg and the zoom control size is 800* 600 almost everytime i move around in an image and it generates tiles(200) i get the error. |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted December 1, 2006 5:19 PM Do any tile images successfully load...or do they all fail? |
R jam From: EAst london, United Kingdom Posts: 22 Member Since: 09/27/05 |
posted December 4, 2006 5:21 AM All tiles seem to fail |
R jam From: EAst london, United Kingdom Posts: 22 Member Since: 09/27/05 |
posted December 4, 2006 8:49 AM seems to only happen in IE not in firefox |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted December 4, 2006 10:55 AM Is your web.config properly configured? You should have an entry like the following to handle tile processing: <httpHandlers> <add verb="*" path="Dart.PowerWEB.Zoom.GetResource.aspx" type="Dart.PowerWEB.Zoom.ResourceHttpHandler,Dart.PowerWEB.Zoom" /> </httpHandlers> If this doesn't work, what happens when you try the following? - Loading the same page from a different computer using IE6. - Create a new Project containing a Zoom control with default settings. |
R jam From: EAst london, United Kingdom Posts: 22 Member Since: 09/27/05 |
posted December 4, 2006 11:07 AM 1. To answer the first question "- Loading the same page from a different computer using IE6. Ans 1-- Same error part of my config is pasted below <httpHandlers> <add verb="*" path="Dart.PowerWEB.LiveControls.GetResource.aspx" type="Dart.PowerWEB.LiveControls.ResourceHttpHandler,Dart.PowerWEB.LiveControls"/> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/> <add verb="*" path="atlasglob.axd" type="Microsoft.Web.Globalization.GlobalizationHandler" validate="false"/> <add verb="GET" path="Scriptresource.axd" type="Microsoft.Web.Handlers.ScriptResourceHandler" validate="false"/> </httpHandlers> <httpModules> <add name="ScriptModule" type="Microsoft.Web.UI.ScriptModule, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add name="ASPRedirector" type="Intesoft.Web.Utility.RedirectorModule, Intesoft.ASPRedirector"/> </httpModules> |
R jam From: EAst london, United Kingdom Posts: 22 Member Since: 09/27/05 |
posted December 5, 2006 7:29 AM Ok I created a new project and added a zoom control and set the sourceimage = "c:\images\aaa.jpeg" same error when i pan around the image in IE |
R jam From: EAst london, United Kingdom Posts: 22 Member Since: 09/27/05 |
posted December 5, 2006 10:05 AM here is what i did -Download the free version of your control -created a new project -Created a webpages folder inside the project. -Created a page called default.aspx -Inside the directory i also created a PWZoomTiles folder. I created an images directory in "C:\images" and placed the 435805_59206578.jpg Found in your zoomshop sample into my new directory I dragged a zoom control onto default.aspx and in the sourceimage property i added the path = "C:\images\435805_59206578.jpg" i tested the app and had to give aspnet user account to the image directory. i ran the sample and spent a couple of minutes zooming around the image and paninng aroud the image. It errored less frequently. I increased the size of the zoom control to 800x600 and imafges happened alot more the tile size is at default 150 |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted December 5, 2006 11:11 AM I followed your steps and they worked fine for me. Is your sample public so I can test it using my browser? |
R jam From: EAst london, United Kingdom Posts: 22 Member Since: 09/27/05 |
posted December 5, 2006 12:15 PM no its not public to view but you can download this from my site www.dotnethome.com/dart/Imagetest.rar you will need to remap the sourceimage The way i generate the error is move the slider arounf then pan around the image and the thumbanail move around that then go back to the slider and move that up and down. I will post screenshots that you can view if you would like |
Reply | PowerWEB Zoom for ASP.NET Topics | Forums |
This site is powered by
![]() |