Blazor Treegrid Export Properties throws null reference exception

Im trying to export a tree grid with pdf. It works but when I try to give it PdfExportProperties or TreeGridPdfExportProperties it throws null reference exception.

(Also I can export my treegrid without extra properties with no problems.)



5 Replies

PS Pon Selva Jeganathan Syncfusion Team September 29, 2022 03:18 PM UTC

Hi Ogulcan,


Thanks for contacting syncfusion forum.


Query:  Im trying to export a tree grid with pdf. It works but when I try to give it PdfExportProperties or TreeGridPdfExportProperties it throws null reference exception.


We checked your query by preparing sample, but we were unable to replicate the issue at our end.


Please refer to the sample,

https://www.syncfusion.com/downloads/support/directtrac/general/ze/Treegrid-blazor_pdf2102950686


Please refer to the below help documentation,

https://blazor.syncfusion.com/documentation/treegrid/exporting#to-customize-pdf-export


If you still facing issue after trying the above method, please provide the following information


  1. Complete treegrid code example and share the details of PdfExportProperties(i.e., How do you define and use these properties?).
  2. Treegrid package version details.
  3. Video demo of the issue or screenshot of the issue and share the stacktrace details (if face any)
  4. Try to replicate the issue in our shared sample or share the issue reproducible sample.


The requested information will be helpful to proceed further


Regards,

Pon selva





OG Ogulcan September 30, 2022 06:41 AM UTC

my treegrid version is 20.2.0.50


Attachment: Desktop_fa9001b6.rar


PS Pon Selva Jeganathan Syncfusion Team October 3, 2022 05:48 PM UTC

Hi Ogulcan,


Thanks for the update.


We are working on this query with high priority. We need time to validate the issue. So, we will update further details on or before 5th October 2022. Until then we value your patience. In the meanwhile, we will contact if any details are required.


Regards,
Pon selva




PS Pon Selva Jeganathan Syncfusion Team October 6, 2022 01:59 PM UTC

Hi Ogulcun,


Thanks for your patience.


On further validation, we have considered the reported issue (Script error thrown while exporting with export properties”) as a bug. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle) and will include the fix in our upcoming patch release which is expected to be rolled out on 26th October 2022. Until then we appreciate your patience.


You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link. 

https://www.syncfusion.com/feedback/38232/script-error-thrown-while-exporting-with-export-properties


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Pon selva





PS Pon Selva Jeganathan Syncfusion Team October 27, 2022 01:06 PM UTC

Hi Ogulcun,


We appreciate your patience.   


We are glad to announce that fix for the issue Script error thrown while exporting with export properties
has been rolled out in our patch release. We request you to update to our latest version " 20.3.50" to resolve the issue. 


Kindly get back to us for further assistance.


Regards,

Pon selva



Loader.
Up arrow icon