I'm trying to use Telerik Q3 Reporting
When I'm changing anything in the report like a textbox's text it
didn't reflect at runtime or preview, I make the report viewer EnableViewState=False but no reflection
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="NoranReporting._Default" %>
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=7.2.13.1016, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<telerik:ReportViewer ID="ReportViewer1" runat="server" ZoomMode="FullPage"
EnableViewState="False" Height="100%" ProgressText="يتم تجهيز التقرير..."
Width="100%" ></telerik:ReportViewer>
</asp:Content>
This is picture from design
http://postimg.org/image/41b4o3yu5/
and this is picture from runtime
http://postimg.org/image/htpjjqplp/
And why the report height is to small like this?
I tried
ZoomMode="FullPage" Height="100%"
but as you can see in the picture, it didn't work
When I'm changing anything in the report like a textbox's text it
didn't reflect at runtime or preview, I make the report viewer EnableViewState=False but no reflection
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="NoranReporting._Default" %>
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=7.2.13.1016, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<telerik:ReportViewer ID="ReportViewer1" runat="server" ZoomMode="FullPage"
EnableViewState="False" Height="100%" ProgressText="يتم تجهيز التقرير..."
Width="100%" ></telerik:ReportViewer>
</asp:Content>
This is picture from design
http://postimg.org/image/41b4o3yu5/
and this is picture from runtime
http://postimg.org/image/htpjjqplp/
And why the report height is to small like this?
I tried
ZoomMode="FullPage" Height="100%"
but as you can see in the picture, it didn't work
7 Answers, 1 is accepted
0
Hinata
Top achievements
Rank 1
answered on 20 May 2014, 02:58 PM
Hi Nor,
You can try to set static Width and Height for the viewer and check if it makes any difference.
It may be a styling issue or something related to the browser, so you can also try to view the page in different browsers.
It would be best if you zip your project or a sample, because I can't tell for sure what is the issue only looking at the provided snippets.
You can try to set static Width and Height for the viewer and check if it makes any difference.
It may be a styling issue or something related to the browser, so you can also try to view the page in different browsers.
It would be best if you zip your project or a sample, because I can't tell for sure what is the issue only looking at the provided snippets.
0
Nor
Top achievements
Rank 1
answered on 21 May 2014, 09:17 AM
Here is a sample Project with sample DB
I use VS 2013
SQL 2008
Telerik DevCraft Ultimate Q3 2013
http://www.telerik.com/account/ClientsFiles/b1748853-02ce-46cd-bb60-9f3a86519cec_TelerikReportSample.rar?accesskey=BEF7555A16D7D84DB50CE0605FE6D831F6ED8DD2&expires=635366732433150408
i tried Chrome,Firefox,IE & the same two problems
1-The Main problem that the text box's text not updated even at preview tab of report
at the design mode text box's value is "تقرير تفصيلى "
but at run time or preview it viewed the text box's text "Report1"
2-the viewer is not 100% height of page
I use VS 2013
SQL 2008
Telerik DevCraft Ultimate Q3 2013
http://www.telerik.com/account/ClientsFiles/b1748853-02ce-46cd-bb60-9f3a86519cec_TelerikReportSample.rar?accesskey=BEF7555A16D7D84DB50CE0605FE6D831F6ED8DD2&expires=635366732433150408
i tried Chrome,Firefox,IE & the same two problems
1-The Main problem that the text box's text not updated even at preview tab of report
at the design mode text box's value is "تقرير تفصيلى "
but at run time or preview it viewed the text box's text "Report1"
2-the viewer is not 100% height of page
0
Nor
Top achievements
Rank 1
answered on 21 May 2014, 09:25 AM
i uploaded the project again on another site
https://www.wetransfer.com/downloads/add6db1cf706b3b044515342a0deb8ed20140521092303/3d5b86d6b747eddcc8861d858c32711d20140521092303/c08aab
https://www.wetransfer.com/downloads/add6db1cf706b3b044515342a0deb8ed20140521092303/3d5b86d6b747eddcc8861d858c32711d20140521092303/c08aab
0
Hello Nor,
We have reviewed the provided project. The report in the designer is displayed correctly on our end: result.
The ASP.NET Web Forms Viewer html page needed some modifications in order to show the whole report with the correct styles. As suggested earlier, you need to set static height for the report viewer control:
You can see the end result when running the application in this screenshot.
Please try the suggested changes in your project. We hope this will fix the issue.
Regards,
Nasko
Telerik
We have reviewed the provided project. The report in the designer is displayed correctly on our end: result.
The ASP.NET Web Forms Viewer html page needed some modifications in order to show the whole report with the correct styles. As suggested earlier, you need to set static height for the report viewer control:
<
telerik:ReportViewer
ID
=
"ReportViewer1"
runat
=
"server"
Height
=
"700px"
ProgressText
=
"يتم تجهيز التقرير..."
Width
=
"100%"
></
telerik:ReportViewer
>
You can see the end result when running the application in this screenshot.
Please try the suggested changes in your project. We hope this will fix the issue.
Regards,
Nasko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Nor
Top achievements
Rank 1
answered on 22 May 2014, 05:26 AM
Thanks for your response but what about that the textbox's text in the design tab is in arabic & at preview tab & when running the application is still report 1 this is my main problem
0
0
Hello Nor,
The "Report1" value is displayed due to your regional settings setup and how localization works. Telerik Reporting uses a similar methodology for localization as Visual Studio uses for Windows Forms. The designer lets you define static text for the report (e.g. column headings, titles) in each language that you specify. A resource file (resx) is automatically created for each language to store translated text. For more background information on localizing applications see the MSDN article Globalizing and Localizing Applications.
If you take a closer look at your resx files you will notice that in the Report1.resx the value for the titleTextBox is:
while in the Report1.ar.resx file the same value is:
In order to see the value from the Report1.ar.resx file, you need to run a localized report. More details on how to do that can be found in the Localizing Reports help article.
Regards,
Nasko
Telerik
The "Report1" value is displayed due to your regional settings setup and how localization works. Telerik Reporting uses a similar methodology for localization as Visual Studio uses for Windows Forms. The designer lets you define static text for the report (e.g. column headings, titles) in each language that you specify. A resource file (resx) is automatically created for each language to store translated text. For more background information on localizing applications see the MSDN article Globalizing and Localizing Applications.
If you take a closer look at your resx files you will notice that in the Report1.resx the value for the titleTextBox is:
<
data
name
=
"titleTextBox.Value"
xml:space
=
"preserve"
>
<
value
>Report1</
value
>
</
data
>
while in the Report1.ar.resx file the same value is:
<
data
name
=
"titleTextBox.Value"
xml:space
=
"preserve"
>
<
value
>تقرير تفصيلى بالفروع</
value
>
</
data
>
In order to see the value from the Report1.ar.resx file, you need to run a localized report. More details on how to do that can be found in the Localizing Reports help article.
Regards,
Nasko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.