Login  
Search All Forums
Dart Home | PowerWEB Zoom for ASP.NET | Custom Development Reply | PowerWEB Zoom for ASP.NET Topics | Forums   
AuthorForum: PowerWEB Zoom for ASP.NET
Topic: Browser Back Arrow use causing PowerWeb Zoom not to load.
earniep

From: Tualatin, OR USA
Posts: 14
Member Since: 07/02/08
posted August 14, 2008 11:58 AM

I have the PowerWebZoom control deployed on an extranet site.
When the navigation is used to enter each, the zoom control works fine (my code that populates is called).
However, when our users click the back arrow to return to the page, the entire zoom area is dark gray with no pictures, and none of my break points (Page_Load, Page_Init) are hit - my code that loads the control is circumvented.
I know the Back arrow is a function of the browser and not the PowerWeb zoom control, so this isn't a fault of your control, but have you heard of this and have any ideas how to fix?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted August 14, 2008 3:46 PM

Hi,
When I navigate from a page with the Zoom control, then hit the Back button, the image is fine.

What else is required to see this behavior?
Thanks,
-ken
earniep

From: Tualatin, OR USA
Posts: 14
Member Since: 07/02/08
posted August 15, 2008 5:49 PM

I found the cause, on my post "July 14, 2008 5:23 PM" you suggested to call ClearTiles().
Through a process of elimination (all other code for that page being execution), I found that when I didn't call ClearTitle(), the issue ceases, when I re-enabled the ClearTitles() call, once again when I used back arrow, the area doesn't populate.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted August 18, 2008 9:50 AM

Hi,
I have a page where images are dynamically loaded, and it uses ClearTiles whenever a new image is shown.
ClearTiles is not called in any Page events.
I do not see the problem.
Where are you calling ClearTiles and can you change this?
Instead of calling ClearTiles, does setting AutoClearTiles work?

Thanks,
-ken
hlsv21

From: Distrito Federal, Mexico
Posts: 5
Member Since: 01/06/09
posted January 6, 2009 5:21 PM

Hi,

I have a page where the images are loaded dynamically and use each ClearTiles that shows a new image, but does not delete the folder PWZoomTiles. Is this to be?
John Talarico



From: Rome, NY USA
Posts: 630
Member Since: 06/01/05
posted January 7, 2009 5:39 PM

Calling ClearTiles should not delete the top level tiles folder(by default PWZoomTiles). It should only delete the tiles within the folder. Is this the case, or are no tiles being deleted?
hlsv21

From: Distrito Federal, Mexico
Posts: 5
Member Since: 01/06/09
posted January 7, 2009 5:53 PM

When I call ClearTiles it deletes files within the tiles folder, but does not delete the tiles folders

PWZoomTiles\0000PA0287_IMGDEC_JPG\img1.jpeg
PWZoomTiles\0000PA0287_IMGDEC_JPG\img2.jpeg
PWZoomTiles\0000PA0287_IMGDEC_JPG\img3.jpeg

After calling ClearTiles

PWZoomTiles\0000PA0287_IMGDEC_JPG\empty
John Talarico



From: Rome, NY USA
Posts: 630
Member Since: 06/01/05
posted January 9, 2009 9:31 AM

Thanks - I've reviewed the product code and it appears that the directories are retained when calling ClearTiles(), but all tile files are deleted.
hlsv21

From: Distrito Federal, Mexico
Posts: 5
Member Since: 01/06/09
posted January 9, 2009 9:46 AM


But let the directories this affects the performance of my site, then there is some property to make it completely empty folder PWZoomTiles?
John Talarico



From: Rome, NY USA
Posts: 630
Member Since: 06/01/05
posted January 13, 2009 9:28 AM

I'm not sure I understand the problem. Is the presence of empty folders causing a performance problem? If you need these empty folders to be deleted after calling ClearTiles() you are free to do so within server-side code. You can use standard .NET file IO classes to delete directories within your application.

I will also submit a feature request to have ClearTiles remove the empty directories as well.
hlsv21

From: Distrito Federal, Mexico
Posts: 5
Member Since: 01/06/09
posted January 21, 2009 4:26 PM

Thanks for the answer, let me know if there is a method or property to which you know the name of the folder with the creation of the image?

PWZoomTiles\folderimage??
Reply | PowerWEB Zoom for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX