Forum  General Visual ...  How do I...?  Crystal Report problem In VIsual WebGui 1.1(Build 6.2.3)
Previous Previous
 
Next Next
New Post 1/7/2009 3:17 AM
  ShaileshMenghare
8 posts
No Ranking


Crystal Report problem In VIsual WebGui 1.1(Build 6.2.3) 

 

Hi ,

I am using Visual WebGui 1.1(Build 6.2.1).In my application I have used Crystal report , It works fine

 But when I am using  Visual WebGui 1.1(Build 6.2.3), it  doesnot support crystal report.

The reason for this is that i have used following method

Protected Overloads Overrides Function GetHostedControl(ByVal objASPPage As Page) As Control

 

            Dim objContainer As System.Web.UI.HtmlControls.HtmlGenericControl = New System.Web.UI.HtmlControls.HtmlGenericControl("div")

 

            ' create container

            objContainer.Style.Add("width", "100%")

            objContainer.Style.Add("height", "100%")

            objContainer.Style.Add("overflow", "hidden")

            'objContainer.Style.Add("position", "absolute")

 

            ' Add report viewer to container

            objContainer.Controls.Add(InternalReportViewer)

            ' Reset cached report viewer after using it

            mobjReportViewer = Nothing

 

            Return objContainer

        End Function

So in ver 6.2.3 .This method gives me  error  as-Function ‘GetHostedControl’ cannot be declared ‘Overrides’ because it doesnot override a function in a base class.

 

Please Suggest

Thanks & Regards

Shailesh

 

 
New Post 1/7/2009 1:17 PM
  jayhobbs
1674 posts
1st Level Poster




Re: Crystal Report problem In VIsual WebGui 1.1(Build 6.2.3) 

Hi Shailesh,

Just remove the word Overrides and it will compile again

 

Cheers

 

Jay

 

 

 
New Post 1/8/2009 11:42 PM
  ShaileshMenghare
8 posts
No Ranking


Re: Crystal Report problem In VIsual WebGui 1.1(Build 6.2.3) 

Hi

I removed the word override,so the error is removed, but still report viewer is not working.

In following method “objContainer.Controls.Add(InternalReportViewer)” this line used . Is there any other way to add InternalReportViewer to the container.Please suggest

 

Protected Overloads Function GetHostedControl(ByVal objASPPage As Page) As Control

 

            Dim objContainer As System.Web.UI.HtmlControls.HtmlGenericControl = New System.Web.UI.HtmlControls.HtmlGenericControl("div")

 

            ' create container

            objContainer.Style.Add("width", "100%")

            objContainer.Style.Add("height", "100%")

            objContainer.Style.Add("overflow", "hidden")

            'objContainer.Style.Add("position", "absolute")

 

            ' Add report viewer to container

            objContainer.Controls.Add(InternalReportViewer)

            ' Reset cached report viewer after using it

            mobjReportViewer = Nothing

 

            Return objContainer

        End Function

 

 

Regards

Shailesh

 
New Post 2/19/2009 3:15 PM
  palli
14298 posts
1st Level Poster




Re: Crystal Report problem In VIsual WebGui 1.1(Build 6.2.3) 

Hi Shailesh,

FYI, if you are still having problems with the Crystal wrapper, then inspector Ryan :-) has made a quite promising fix that you may be able to use to wrap Crystal. Tak a look at this thread here.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  Crystal Report problem In VIsual WebGui 1.1(Build 6.2.3)
.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