Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
185 views
Hi 

The  export to excel, word, pdf, csv  feature works for me in the simple grid

Can someone let me know , whether the Export to Excel, Pdf, Word, CSV is really supported in the RADGrid having heirarchical structure
I get below error when try to export to PDF
 

Server Error in '/' Application.

System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Telerik.Web.Apoc.Fo.Flow.TableRow.CellArray.GetNextFreeCell(Int32 colNum)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.InitCellArray()
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
  at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.SystemException: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Telerik.Web.Apoc.Fo.Flow.TableRow.CellArray.GetNextFreeCell(Int32 colNum)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.InitCellArray()
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
  at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

thanks
Shinu
Top achievements
Rank 2
 answered on 18 Jan 2012
1 answer
56 views
Thanks
Lewis
Shinu
Top achievements
Rank 2
 answered on 18 Jan 2012
11 answers
235 views
Is possible to customize the NavigationPane? How? Thanks
The Doctor
Top achievements
Rank 1
 answered on 17 Jan 2012
5 answers
108 views

We're displaying search results in a grid, and allowing filtering by column.

The issue I'm resolving is if a user filters, then hits the search button again, the results of the query are set as the data source, then the grid re-applies the filters on Rebind().

I want to clear the filters and show the data which the new search got from the database.

I found a thread which gave me something that works.  Rather than do all this work for every grid in our application, I was looking for something like grid.ClearFilters().

Am I just missing the easier way?  If not, that might be a nice convenience method.

Code-behind of my search button click:

------------
...set new search data...

grdUserSearchResults.MasterTableView.FilterExpression = String.Empty;
foreach (Telerik.Web.UI.GridColumn column in grdUserSearchResults.Columns)
{
    column.CurrentFilterFunction = Telerik.Web.UI.GridKnownFunction.NoFilter;
    column.CurrentFilterValue = String.Empty;
}

grdUserSearchResults.Rebind();
--------------

Golem
Top achievements
Rank 1
 answered on 17 Jan 2012
0 answers
58 views
Where can I get a reference/documentation for this version of RadGrid?

Jeff
Top achievements
Rank 1
 asked on 17 Jan 2012
2 answers
98 views
Hi,

Is there a way to change the css properties of the radschedular?

I have set the Font-Names property of my radschedular to Verdana. However while editing the appointment, all the textboxes and drop downs still show the default font (highlighted in red in the attached image). Is there a way I can change it?

Cheers.
Rushma
Top achievements
Rank 1
 answered on 17 Jan 2012
1 answer
537 views
Can I have muliple GridButtonColumn CommandName="Select" Lines and have the OnSelectedIndexChanged event know which one I clicked?

I need to have different "buttons" on the same row and depending on the one they clicked have an event fire letting me know which button was clicked.
Jayesh Goyani
Top achievements
Rank 2
 answered on 17 Jan 2012
1 answer
151 views
I have created 2 tabs HTML and TEXT using RadTabStrip and in both tabs, I have RadEditor in HTML and Text mode respectively. I am not using the default Edit mode with: Design, HTML and Preview. On page load, I am populating the contents in both the editors from database. Now when I make a change in HTML view and change the tab to TEXT, that change won't be there as it shows the content from database. How to achieve this?

Also for reference the markup for my code is :
<telerik:RadTabStrip ID="RadTabStrip1" runat="server"
                        ReorderTabsOnSelect="True" MultiPageID="RadMultipage1" SelectedIndex="0"
                        style="margin-left: 0" Width="100%" ShowBaseLine="True" Align="Justify">
                        <Tabs>
                            <telerik:RadTab Text="HTML" Selected="True">
                            </telerik:RadTab>
                            <telerik:RadTab Text="TEXT">
                            </telerik:RadTab>
                        </Tabs>                        
                    </telerik:RadTabStrip>

                    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0"
                        CssClass="pageView" Width="100%">
                    <telerik:RadPageView ID="htmlview" runat="server">
                      <telerik:RadEditor ID="htmleditor" runat="server" EditModes="Html" Width="100%"></telerik:RadEditor>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="textview" runat="server">
                        <telerik:RadEditor ID="texteditor" runat="server" EditModes="Design" Width="100%"></telerik:RadEditor>
                    </telerik:RadPageView>
                </telerik:RadMultiPage>
Naupad
Top achievements
Rank 1
 answered on 17 Jan 2012
4 answers
214 views
Where to find localization file for German language for RadGrid, any help would be appreciated.

Thanks,

Anthony
Bill Togkas
Top achievements
Rank 2
 answered on 17 Jan 2012
0 answers
32 views
Delete
Craig
Top achievements
Rank 1
 asked on 17 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?