This is a migrated thread and some comments may be shown as answers.

Exporting issue with NestedGrid--URGENT

4 Answers 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John John
Top achievements
Rank 1
John John asked on 11 Feb 2010, 02:55 PM

Hi,
          Anybody have the knowledge in exporting pdf with NestedViewTemplate grid, please direct me the following scenarios

1)Exporting the grid with the nested grid data if it is expanded.
    I am getting the following error when i try to do it
"The '*' character, hexadecimal value 0x2A, cannot be included in a name. "

2) I am not finding the way to apply styles to exported pdf file. I could not able to call ItemCreated event after ItemCommand event. Because i am following the scenario as the Telerik team directed for normal grid. But fails to achieve in NestedGrid

3) I am facing the problem in suppose i call the styles related code inside the export button click event directly. I am getting the following related error after applying font style to header template 

System.NullReferenceException: Object reference not set to an instance of an object.
  at Telerik.Web.Apoc.Render.Pdf.Fonts.Type2CIDSubsetFont.get_WArray()
  at Telerik.Web.Apoc.Pdf.PdfFontCreator.CreateCIDFont(String pdfFontID, Font font, CIDFont cidFont)
  at Telerik.Web.Apoc.Pdf.PdfFontCreator.MakeFont(String pdfFontID, Font font)
  at Telerik.Web.Apoc.Pdf.FontSetup.AddToResources(PdfFontCreator fontCreator, PdfResources resources)
  at Telerik.Web.Apoc.Render.Pdf.PdfRenderer.StopRenderer()
  at Telerik.Web.Apoc.StreamRenderer.StopRenderer()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)



So please guide me to achieve the above related scenario for exporting PDF in nested grid

-Thanks

 

4 Answers, 1 is accepted

Sort by
0
John John
Top achievements
Rank 1
answered on 12 Feb 2010, 07:22 AM
Hi..

 i am expecting the response from any one who knows the functionality of exporting nestedgrid and formatting the PDF file or Excel file


-Thanks
0
Princy
Top achievements
Rank 1
answered on 12 Feb 2010, 09:12 AM
Hi,

Please check the forum link below where a sample code has been provided  on how to resolve the export functionality with the nested grid.


Thanks,
Princy
0
John John
Top achievements
Rank 1
answered on 12 Feb 2010, 10:45 AM
Hai Telerik...
                Thanks for your reply. As per your given scenario i could not even export the NestedGrid data into the PDF file. So please consider my above question to achieve the scenario. I have two grid parent grid and when i expand the parent grid the child details are displayed in the another grid  that is nested grid, which is under nested view template.

I also request you to guide me in formatting the styles or ouput of the PDF file of Parenet and Child grid while respectively while exporting. A simple would be greateful

Hope u could understand the scenario..looking forward for yours answer

-Thanks
0
Daniel
Telerik team
answered on 15 Feb 2010, 05:42 PM
Hello John,

Please stick to this thread:
Link to public post

Regards,
Daniel
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
John John
Top achievements
Rank 1
Answers by
John John
Top achievements
Rank 1
Princy
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or