Forum  General Visual ...  How do I...?  ASPPAGEBOX Raising Events
Previous Previous
 
Next Next
New Post 12/13/2010 7:34 PM
  rschnell
429 posts
2nd Level Poster


e, 

 Dave,

 

Yes I see what you are saying. Note that the wiki refers to my post of 2008 which did not consider that requirement either.

 

Thanks for the clarification.

 

Regards

 

Richard

 
New Post 12/14/2010 4:54 AM
  dleland
628 posts
www.kadant.com
1st Level Poster


Re: ASPPAGEBOX Raising Events 

 palli wrote
 

Hi Dave,

At your service, no questions asked

I just updated the Wiki article with 6.3 specific section. Please check if it works for you.

Palli

 

Palli:

When I try your example using VWG 6.3.15, I get the following error.  Any ideas?

Thanks, Dave

Parser Error

 

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: 'KJIntranetPortal.Scanning' is not allowed here because it does not extend class 'System.Web.UI.Page'.

Source Error:

Line 1:  <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Scanning.aspx.vb" Inherits="KJIntranetPortal.Scanning" ValidateRequest="false"%>
Line 2:  
Line 3:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

Source File: /Scanning.aspx    Line: 1

 


Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955

 
New Post 12/14/2010 5:56 AM
  JamesC
850 posts
www.redcastle.co.uk
1st Level Poster




Re: ASPPAGEBOX Raising Events 

Hi there

 

could you post the top portion of your Scanning.aspx.vb file - it sounds like a namespace/class definition problem

cheers james

 
New Post 12/14/2010 7:26 AM
  dleland
628 posts
www.kadant.com
1st Level Poster


Re: ASPPAGEBOX Raising Events 

 JamesC wrote
 

Hi there

 

could you post the top portion of your Scanning.aspx.vb file - it sounds like a namespace/class definition problem

cheers james

Here it is.

Dave

 

Option Strict On

Option Explicit On

Public Class Scanning

Inherits Gizmox.WebGUI.Forms.Hosts.AspPageBox

 
New Post 12/14/2010 11:30 AM
  palli
14304 posts
1st Level Poster




Re: ASPPAGEBOX Raising Events 

Hi Dave,

The key error message here is: 'KJIntranetPortal.Scanning' is not allowed here because it does not extend class 'System.Web.UI.Page'.

This would be pointing at your WebForm (the .Aspx page). You seem to have changed the inheritance away from "System.Web.UI.Page" and my guess is that you made it inherit from "AspPageBox", which is incorrect. It must inherit from "AspPageBase".

Please check if that would be the case.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  ASPPAGEBOX Raising Events
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS