Telerik Forums
Reporting Forum
1 answer
471 views

i got a problem for report text box, my sql data source returns the the field values, these field values assigned to some textboxes through expression but  when running the report textbox values are not disply
like:
i assigned value to text box like : "=Fields.SELECTED_CNT"  my sql datasource query return the value for SELECTED_CNT  is 20 but when i run the report it's not displayed it shows always "0", even it don't show the design time value also, design time value is 2. but it's shows always 0.

can you give me solution for this . 
Steve
Telerik team
 answered on 27 Aug 2012
3 answers
248 views
Hi,

   I am working on Telerik Reporting, i have created the report using CrossTab wizard control. I am showing that report in report viewer.This report contains more number of columns, while exporting the report to PDF it displays in portrait orientation. But i need to display all the columns in a single page. so i changed the report to landscape orientation by using below code.

  Telerik.Reporting.Report oReport = new testReport();
                oReport.PageSettings.Landscape = true;
                oReport.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A3;               
                Telerik.Reporting.Drawing.Unit w = default(Telerik.Reporting.Drawing.Unit);
                if (oReport.PageSettings.Landscape)
                {
                    w = oReport.PageSettings.PaperSize.Height - oReport.PageSettings.Margins.Top - oReport.PageSettings.Margins.Bottom;
                }
                else
                {
                    w = oReport.PageSettings.PaperSize.Width - oReport.PageSettings.Margins.Left - oReport.PageSettings.Margins.Right;
                }
                oReport.Width = w;
                ReportViewer1.Report = oReport;

  This code works fine. But the report has more number of columns means it displays the report correctly. If the report contains less columns means the design is not proper.Totally the table aligned to left side, so it displays the blank space in right side. I have attached the screenshot for my issue. I need to center align the report. Is there any option to that? If so, please send the sample solution. 


Thanks
Nisha
Michel
Top achievements
Rank 1
 answered on 27 Aug 2012
1 answer
221 views
Hi, I'm coming from MS Access world. I'm moving in to Web-based app through the door ASP.NET equipped with Telerik. Would you please walk me through by giving me step-by-step on how to create this report. This is a report that I've created in MS Access, but I don't know how to do the same in Telerik Reporting. Here is the DataSet (1 Table):

FullName

ShippingAddress

ShippingDate

TrackingNumbers

ItemNum

ItemDescription

Units

Doe, John

12345 ABC Road

Sample City, ST 123456

8/1/2012

1Z123456789123456

123456789

This Is An Example Description 1

124

 

Doe, John

12345 ABC Road

Sample City, ST 123456

8/1/2012

1Z123456789654231

1Z2345678

This Is An Example Description 2

0

 

Doe, John 2

654321 ABC Road

Sample City, ST 123456

8/1/15

1Z123456789123456

123456789

This Is An Example Description 2

124

 

Doe, John 2

654321 ABC Road

Sample City, ST 123456

8/1/15

1Z123456789654231

1Z2345678

This Is An Example Description 2

0

 

Doe, John 3

145623 ABC Road

Sample City, ST 123456

8/1/15

1Z123456789123456

123456789

This Is An Example Description

124

 

Doe, John 3

145623 ABC Road

Sample City, ST 123456

8/1/15

1Z123456789123456

1Z2345678

This Is An Example Description

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


(As you can see, it is group-by (FullName + ShippingAddress + ShippingDate), I colored it for you for easier seeing)

Attached, please find the output report that come out from this dataset.

Thanks

Lamk.
Steve
Telerik team
 answered on 27 Aug 2012
3 answers
248 views
Hi,

I have a report that follows the brasilian invoicing law called "DANFE".

Almost everything is correct, except for the page footer.
All info there must be printed only once and in the first page. I managed to do that with the Style, using the condition "PageNumber = 1".

The problem is that it still leaves a blank section that sould be used by my subreport to print the items. Does the tool provide any way to print the footer on the first page only and keep everything else in the current order, using all the available space in the page?

        If you need an example please tell me.

        Thanks,
Steve
Telerik team
 answered on 27 Aug 2012
3 answers
102 views
Good day,

   I have a 1 page report, when I view it in windows 7 with (I3 and 4GIG) specs, report is rendered in 2-3 seconds, but when I view it in windows xp with celeron processor and 1GIG of RAM, it took 2-3 minutes to render a 1 page of report. Is there any OS requirement or is this related to silverlight in windows XP?


Thank you
Steve
Telerik team
 answered on 27 Aug 2012
1 answer
123 views
Hi..
The legend on my chart sits on top of the right Y axis.
I've tried everything to move it off to the right.  Any ideas?
thx 
See attachment
Hadib Ahmabi
Top achievements
Rank 1
 answered on 27 Aug 2012
1 answer
210 views
Hello,

I have run into an issue where a RadComboBox does not display any items when clicked in a WPF 4 application (Reporting Version 5.3.11.1116). The combobox itself lies within a RadToolBar in a ReportViewer. A small sliver of a dropdown is displayed (see image, same width as the RadComboBox) as though there is nothing in it. Even if there were no items to display, I would expect the combobox's dropdown to respect the MinWidth="150" seen below.

<telerik:RadToolBar Grid.Row="0">
    <!--<telerik:RadButton Command="{Binding NavigateBackCommand}" InnerCornerRadius="0" Margin="0,2" Padding="2">
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/NavBack.png"/>
            </Image.Source>
        </Image>
    </telerik:RadButton>
    <telerik:RadButton Command="{Binding NavigateForwardCommand}" InnerCornerRadius="0" Margin="0,2" Padding="2">
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/NavForward.png"/>
            </Image.Source>
        </Image>
    </telerik:RadButton>
    <telerik:RadToolBarSeparator/>-->
    <telerik:RadButton Command="{Binding RefreshReportCommand}" InnerCornerRadius="0" Margin="0,2" Padding="2">
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/Refresh.png"/>
            </Image.Source>
        </Image>
    </telerik:RadButton>
    <telerik:RadToolBarSeparator/>
    <telerik:RadButton Command="{Binding MoveToFirstPageCommand}" InnerCornerRadius="0" Margin="0,2" Padding="2">
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/FirstPage.png"/>
            </Image.Source>
        </Image>
    </telerik:RadButton>
    <telerik:RadButton Command="{Binding MoveToPreviousPageCommand}" InnerCornerRadius="0" Margin="0,2" Padding="2">
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/PrevPage.png"/>
            </Image.Source>
        </Image>
    </telerik:RadButton>
    <telerik:RadToolBarSeparator/>
    <TextBox IsEnabled="{Binding IsMoveToPageEnabled}" Margin="10,0,0,0" MinWidth="30" TextAlignment="Center" Text="{Binding PageNumber, Mode=TwoWay}" VerticalAlignment="Center"/>
    <TextBlock Margin="2,0,10,0" TextAlignment="Center" VerticalAlignment="Center">
            <TextBlock.Text>
                <Binding ConverterParameter="of {0} pages" Path="PageCount">
                    <Binding.Converter>
                        <tr:FormatedNumberConverter/>
                    </Binding.Converter>
                </Binding>
            </TextBlock.Text>
    </TextBlock>
    <telerik:RadToolBarSeparator/>
    <telerik:RadButton Command="{Binding MoveToNextPageCommand}" InnerCornerRadius="0" Margin="0,2" Padding="2">
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/NextPage.png"/>
            </Image.Source>
        </Image>
    </telerik:RadButton>
    <telerik:RadButton Command="{Binding MoveToLastPageCommand}" InnerCornerRadius="0" Margin="0,2" Padding="2">
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/LastPage.png"/>
            </Image.Source>
        </Image>
    </telerik:RadButton>
    <telerik:RadToolBarSeparator/>
    <telerik:RadToggleButton Command="{Binding TogglePrintPreviewCommand}" InnerCornerRadius="0" Margin="0,2" Padding="2" Visibility="{TemplateBinding ViewModeToggleVisibility}">
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/PrintPreview.png"/>
            </Image.Source>
        </Image>
    </telerik:RadToggleButton>
    <telerik:RadButton Command="{Binding PrintReportCommand}" InnerCornerRadius="0" Margin="0,2" Padding="2">
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/Print.png"/>
            </Image.Source>
        </Image>
    </telerik:RadButton>
    <telerik:RadToolBarSeparator/>
    <telerik:RadComboBox Height="24"  Margin="1,0" MaxDropDownHeight="300" Padding="2,0" Width="45">
        <telerik:RadComboBox.EmptySelectionBoxTemplate>
            <DataTemplate>
                <Image HorizontalAlignment="Left" Height="16" Visibility="Visible" Width="16">
                    <Image.Source>
                        <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/Export.png"/>
                    </Image.Source>
                </Image>
            </DataTemplate>
        </telerik:RadComboBox.EmptySelectionBoxTemplate>
        <telerik:RadComboBox.ItemTemplate>
            <DataTemplate>
                <TextBlock MinWidth="150" Text="{Binding Description}"/>
            </DataTemplate>
        </telerik:RadComboBox.ItemTemplate>
        <telerik:RadComboBox.SelectionBoxTemplate>
            <DataTemplate>
                <Image HorizontalAlignment="Left" Height="16" Visibility="Visible" Width="16">
                    <Image.Source>
                        <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/Export.png"/>
                    </Image.Source>
                </Image>
            </DataTemplate>
        </telerik:RadComboBox.SelectionBoxTemplate>
        <telerik:StyleManager.Theme>
            <telerik:Office_BlackTheme/>
        </telerik:StyleManager.Theme>
    </telerik:RadComboBox>
    <telerik:RadToolBarSeparator/>
    <telerik:RadToggleButton IsChecked="{Binding IsDocumentMapVisible, Mode=TwoWay}" InnerCornerRadius="0" Margin="0,2" Padding="2">
        <telerik:RadToggleButton.Visibility>
            <Binding Path="HasDocumentMap">
                <Binding.Converter>
                    <tr:VisibilityConverter/>
                </Binding.Converter>
            </Binding>
        </telerik:RadToggleButton.Visibility>
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/DocumentMap.png"/>
            </Image.Source>
        </Image>
    </telerik:RadToggleButton>
    <telerik:RadToggleButton IsChecked="{Binding IsParametersAreaVisible, Mode=TwoWay}" InnerCornerRadius="0" Margin="0,2" Padding="2">
        <telerik:RadToggleButton.Visibility>
            <Binding Path="HasParameters">
                <Binding.Converter>
                    <tr:VisibilityConverter/>
                </Binding.Converter>
            </Binding>
        </telerik:RadToggleButton.Visibility>
        <Image Height="16" Width="16">
            <Image.Source>
                <BitmapImage UriSource="pack://application:,,,/Telerik.ReportViewer.Wpf;component/images/Parameters.png"/>
            </Image.Source>
        </Image>
    </telerik:RadToggleButton>
</telerik:RadToolBar>

I have included the following in a configSection in my app.config to no avail:

<Telerik.Reporting>
    <Extensions>
        <Render>
            <Extension name="IMAGE" description="TIFF Image" visible="false" />
            <Extension name="PDF" description="Adobe Acrobat PDF" visible="true" />
            <Extension name="MHTML" description="Compressed Web Archive" visible="false" />
            <Extension name="XLS" description="Excel" visible="false" />
            <Extension name="CSV" description="Comma Seperated Values" visible="false" />
            <Extension name="RTF" description="Rich Text File (RTF)" visible="false" />
            <Extension name="XPS" description="Microsoft XPS Document" visible="true" />
        </Render>
    </Extensions>
</Telerik.Reporting>

Is there anything apparent that I am missing?

Thanks for your time,

Dane
Steve
Telerik team
 answered on 24 Aug 2012
3 answers
2.1K+ views
Hi,
   I want to have the textbox to be auto-sized. I want the size to grow depends on the value of the textbox. Does this achievable? I can specify the max width, afterwhich it should wrap. How to get these?

Thanks in advance.
Peter
Telerik team
 answered on 24 Aug 2012
1 answer
90 views
Hello All,


I have a report, which mianly needs 3 sections of data.

Can i use the 3 details group in parellelism? namely I need 3 data sets for one report. Is this possible in telerik or not?
 
Steve
Telerik team
 answered on 24 Aug 2012
0 answers
133 views
Hi,

are there any working examples for integrating Telerik Reporting into a Sandboxed/Office365/SharePoint Online environment?

Best regards,
Edmund
Edmund
Top achievements
Rank 1
 asked on 24 Aug 2012
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?