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: Controls has Javascript error when used inside a content page with Master page
mykemaas

From: Idaho Falls, ID USA
Posts: 5
Member Since: 02/02/08
posted February 2, 2008 2:10 AM

The PowerWEB Zoom control, version 1.0.2.10, fails to load when placed in a web content page that uses a master page. 

Steps to reproduce:

1. Create a new web project
2. Create a Master Page
3. Create a Content page that uses the Master Page
4. Drop the Zoom control on the content page
5. Verify the HttpHandler entry is in the web.config file
6. Assign an image to the ImageSource propery of the Zoom Control
7. Run the web application

The javascript error is on line 67 in the javascript file returned by Dart.PowerWEB.Zoom.GetResource.aspx?Res=pwz_zoom_1.0.2.10.js

The error is: "this.container" is undefined.

Can you help me troubleshoot this? In my application is it important that I use Master pages to create a unified theme. I find that when I place the control on a page that does not use a Master Page, it works beautifully. 

Thanks in advance.

~Myke
mykemaas

From: Idaho Falls, ID USA
Posts: 5
Member Since: 02/02/08
posted February 2, 2008 2:41 AM

Further investigation shows that the Javascript is looking for an object with the id: "ctl00_ContentPlaceHolder1_Zoom1_Container"

The div generated by the control ends up being "Zoom1_Container"

Hopefully this helps in solving the problem. Perhaps the ID property was used in the control code instead of ClientID to render the Container's ID.

~Myke
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted February 4, 2008 9:04 AM

Hi Myke,
Thanks, this problem has been reported as issue #4554, but has not yet been addressed.

For updates on the status of the issue, please contact Jamie Powell (support@dart.com).

Thanks,
-ken

K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted March 28, 2008 4:06 PM

This has now been addressed in version 1.0.3.
-ken
Reply | PowerWEB Zoom for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX