Forum  General Visual ...  How do I...?  Asp page inherited from AspPageBase is not shown in AspPageBox
Previous Previous
 
Next Next
New Post 6/3/2010 5:08 AM
Resolved
  andrejz
37 posts
-
No Ranking


Asp page inherited from AspPageBase is not shown in AspPageBox 

Hi.

I am developing an app, in which some silverlight app communicates with VWG application. To be short, we needed an aspx page for this (it contains silverlight app). Aspx page is contained in AspPageBox, in AspPageControl (Control is taken from VWG Catalog sample). So. When I try to open the page, it throws following Error:

Server Error in '/' Application.

Compilation Error

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

Compiler Error Message: CS0012: The type 'Gizmox.WebGUI.Forms.RegisteredComponent' is defined in an assembly that is not referenced. You must add a reference to assembly 'Gizmox.WebGUI.Common, Version=3.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6'.
Source Error:
 
Line 71: 
Line 72:         function SendMessage(strMessage) {            
Line 73:             var objEvent = VWG.Events.CreateEvent("<%= PageContext.Guid %>", "DoMessage"); Line 74:             VWG.Events.SetEventAttribute(objEvent, "message", strMessage);
Line 75:             VWG.Events.RaiseEvents();

As I understand, it can't find a reference to Gizmox dll for some reason. I don't know why, as project really contains the reference. 

Well I modified my project to very easy sample app demonstrating problem, and sent to support@visualwebgui.com. The letter is labeled "Asp page inherited from AspPageBase is not shown in AspPageBox". Please let me know, if I miss something, and help me to figure out, why doesn't the page load.

 
New Post 6/8/2010 7:02 AM
  ori.cohen
4401 posts
1st Level Poster




Re: Asp page inherited from AspPageBase is not shown in AspPageBox 

Hello,

Thank you for providing us with this sample application.
We received your support request and will do our best to handle it as soon as possible.

Regards,

Ori Cohen
Support Manager, the Visual WebGui team

 
New Post 6/14/2010 5:44 AM
  andrejz
37 posts
-
No Ranking


Re: Asp page inherited from AspPageBase is not shown in AspPageBox 

 I found simple solution to this problem...

Simply add <%@ Assembly Name="Gizmox.WebGUI.Common" %> at the second line of the aspx page.

 
New Post 7/1/2010 3:28 AM
  ori.cohen
4401 posts
1st Level Poster




Re: Asp page inherited from AspPageBase is not shown in AspPageBox 

Hello,

Thank you for sharing.

Regards,

Ori Cohen
Support Manager, the Visual WebGui team

 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  Asp page inherited from AspPageBase is not shown in AspPageBox
.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