Master-Detail Page - Export Error

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.

Re: Master-Detail Page - Export Error

Postby juvat » Tue Nov 07, 2017 7:01 am

While trying to use the following export options (Excel, Word, PDF) on a master detail page, I get this error "Error: Object reference not set to an instance of an object." Only the Printer Friendly option is error free. Any idea on why this error appears?

This error does not appear after completing or editing a master-detail record. If you view a master detail record then the error appears.

To see if it was my project that was causing the "Error - Object reference not set to an instance of an object." , I decided to try the online ASPNETMAKER Demo that is available and tried the (http://www.hkvstore.com/aspnetmaker/dem ... gorieslist ) Categories List Master-Detail page. When Clicking on the Master/Detail View, then clicking on any of the Export options (except Printer Friendly) the error appears.
juvat
 
Posts: 68
Joined: Thu Jul 03, 2014 6:09 am

Re: Master-Detail Page - Export Error

Postby motfs » Fri Nov 10, 2017 4:50 pm

Try to enable the option "Detail record count" for Master tables (click [Table] -> [List Page] -> [Detail record count]). Regenerate the files and try again.
motfs
 
Posts: 710
Joined: Tue Sep 08, 2015 4:55 pm

Re: Master-Detail Page - Export Error

Postby juvat » Fri Nov 10, 2017 10:16 pm

Thank you. That does seem to make the error disappear. Now if I can get the PDF export to "Print" like if I were to print using the Printer-Friendly option.
juvat
 
Posts: 68
Joined: Thu Jul 03, 2014 6:09 am

Re: Master-Detail Page - Export Error

Postby motfs » Mon Nov 13, 2017 1:21 pm

> Now if I can get the PDF export to "Print" like if I were to print using the Printer-Friendly option.

I do not see that there is such option. You need to open the pdf file after export and print.
motfs
 
Posts: 710
Joined: Tue Sep 08, 2015 4:55 pm


Return to General Discussion (ASP.NET Maker)