problem with report icons
problem with report icons
Hi
I am new to stimule reports.
I created a report like the flash tutorial and did a "save as" to call it the Costing"
then I created the web report just like the flash tutorial opening "costing"
in the page load I have:
DsDocRepC1 = New DataSet
DsDocRepC1 = Session("doclist")
DsDocRepC1.DataSetName = "DsDocRepC"
Dim xx As Integer = DsDocRepC1.Tables("QCDocuments").Rows.Count
Dim mnthStr = Session("forDtes")
StiReport1.RegData(DsDocRepC1)
StiReport1.ReportDescription = mnthStr & " Cost per Hr= " & Session("Cost")
StiWebViewer1.Report = StiReport1
And this is all that this page does.
The previous page enters some parameter, searches a database and generates the dataset.
When this report is run from the web server the icons show as little X's untill you ask for the page at a different %, then they show.
The charts are even worse, the whole report is an X until you resize it.
Lena
I am new to stimule reports.
I created a report like the flash tutorial and did a "save as" to call it the Costing"
then I created the web report just like the flash tutorial opening "costing"
in the page load I have:
DsDocRepC1 = New DataSet
DsDocRepC1 = Session("doclist")
DsDocRepC1.DataSetName = "DsDocRepC"
Dim xx As Integer = DsDocRepC1.Tables("QCDocuments").Rows.Count
Dim mnthStr = Session("forDtes")
StiReport1.RegData(DsDocRepC1)
StiReport1.ReportDescription = mnthStr & " Cost per Hr= " & Session("Cost")
StiWebViewer1.Report = StiReport1
And this is all that this page does.
The previous page enters some parameter, searches a database and generates the dataset.
When this report is run from the web server the icons show as little X's untill you ask for the page at a different %, then they show.
The charts are even worse, the whole report is an X until you resize it.
Lena
problem with report icons
You are use parameters in web url of webpage where placed StiWebViewer control?
Thank you.
Thank you.
problem with report icons
Hi
the web page comes up from a
There are no parameters add to the url
On the page is an exit button and a header control (but before I added the header control it did the same thing)
All the data is passed in session variables
I followed the flash tutorial in the steps
add the viewer
add report
open designer
load report .mrt
save it
exit designer
add the code to the page load as above
Lena
All the reports are done the same way
all have the same problem
except for the charts which are worse
In my test page where I developed the reports I had a sql adaptor that ran first . There the icons worked ok but on the live pages I don't use an adapter - just a dataset using the same name and xml file. The data comes up beautifully.
the web page comes up from a
There are no parameters add to the url
On the page is an exit button and a header control (but before I added the header control it did the same thing)
All the data is passed in session variables
I followed the flash tutorial in the steps
add the viewer
add report
open designer
load report .mrt
save it
exit designer
add the code to the page load as above
Lena
All the reports are done the same way
all have the same problem
except for the charts which are worse
In my test page where I developed the reports I had a sql adaptor that ran first . There the icons worked ok but on the live pages I don't use an adapter - just a dataset using the same name and xml file. The data comes up beautifully.
problem with report icons
About toolbars icons. Please place on your project following icons:
Buttons
After then assign property ButtonImages of StiWebViewer. You need set to this property related path to directory which contains toolbar icons.
About chart and other images. We use Page Cache for storing images. By default we use time from ServerTimeOut property of StiWebViewer. Please change this property. For also may be you clear page cache in your code.
Thank you.
Buttons
After then assign property ButtonImages of StiWebViewer. You need set to this property related path to directory which contains toolbar icons.
About chart and other images. We use Page Cache for storing images. By default we use time from ServerTimeOut property of StiWebViewer. Please change this property. For also may be you clear page cache in your code.
Thank you.
problem with report icons
The probelm turned out to be the fact that in the previous .aspx where I built the data set I used
Once we changed it to Response.Redirect(" ") the problem went away
Lena
Code: Select all
Server.Transfer ("report1.aspx")
Lena
problem with report icons
Thank you for this information.
problem with report icons
Hello,Vital wrote:About toolbars icons. Please place on your project following icons:
Buttons
After then assign property ButtonImages of StiWebViewer. You need set to this property related path to directory which contains toolbar icons.
About chart and other images. We use Page Cache for storing images. By default we use time from ServerTimeOut property of StiWebViewer. Please change this property. For also may be you clear page cache in your code.
Thank you.
The above link does not work.
I need icons.
I'm using stimul soft report in .ascx pages and because of it,icons are not displayed.
You can upload icons again?
Thank you.
problem with report icons
Hello Jan,
Thank you for link.
problem with report icons
Hi!
I have the same problem:
When I included the WebViewer on an aspx page in Visual Studio, the buttons where displayed correctly.
Then I deployed the page on a local IIS 7 server and the button-images were not displayed anymore.
I solved the problem by setting the WebViewer property "ImagePath" and copying the images to the corresponding folder.
Then I deployed this page to a remote IIS 6 server and faced the same problem again.
the code is:
I have the same problem:
When I included the WebViewer on an aspx page in Visual Studio, the buttons where displayed correctly.
Then I deployed the page on a local IIS 7 server and the button-images were not displayed anymore.
I solved the problem by setting the WebViewer property "ImagePath" and copying the images to the corresponding folder.
Then I deployed this page to a remote IIS 6 server and faced the same problem again.
the code is:
Code: Select all
Dim appDir As String = HttpContext.Current.Server.MapPath(String.Empty).Replace("\", "\\")
...
StiWebViewer1.ImagesPath = appDir & "\\ButtonImages\\"
StiWebViewer1.Report = report