Register | Login

ZettaCube Forum and Knowledge Base

Welcome to ZettaCube forum. Here you can discuss various issues regarding our ZeeControls product. If you want to contact our developers directly, please email to support@zettacube.com.

Please register to post a message. Registration is immediate and free. Return users please login here.

 
  Forum  Knowledge Base  Run-Time Issues  TypeError: undefined or ReferenceError: undefined
Previous Previous
 
Next Next
New Post 12/11/2008 12:43 PM
  ZettaCube Support
57 posts
No Ranking


TypeError: undefined or ReferenceError: undefined 

One of the following errors was shown on the browser at run-time:

TypeError: undefined
ReferenceError: undefined


If you have specified client-side event handlers, make sure the handlers are declared at the top of the page, or before the </form> tag.

For example, if you have specified OnClientPanelResized="PanelResizedHandler" in a WebSplitterContainer, the JavaScript function 'PanelResizedHandler' must be declared before the ZeeControls' page initialization rountine is executed.  On page initialization, WebSplitter will resize the FitWindow container, if any. This, in turn, will resize the panels within that container, and the OnClientPanelResized handler will be called.

ASP.NET will insert ZeeControls' page initialization rountine right before the </form> tag. So the event handler should be declared before the </form> tag.

 
Previous Previous
 
Next Next
  Forum  Knowledge Base  Run-Time Issues  TypeError: undefined or ReferenceError: undefined
Copyright 2009 by ZettaCube Limited