Hi,
We're trying to build a more robust PrintPreview dialog, using the UltraPrintPreview control. As part of this, we'd like to give the user the ability to choose how many pages the grid will print out on. But we've run into a problem with UltraGridPrintDocument.FitWidthToPages.
There seems to be no way to set the property's value. We'd like to set the this value at the creation of the instance, not during the InitializePrintPreview event (we're not using the grid's PrintPreview() method - so InitializePrintPreview and e.DefaultLogicalPageLayoutInfo.FitWidthToPages are not available), but even though the property is documented as writeable, changing it never has any effect. Is this intended?
Thanks for any help
Hello SteveAltman,
I have preapared a sample for you. I have set in design-time, the FitWidthToPages property to 5 and made a text box and a button to set this property in run-time also.
I have tested this with Net Advantage 2011 vol1 and wasnt able to reproduce your scenario. My advise would be to download the latest service release for your current version and verify the behavior of the application against it.
Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.
Feel free to write me if you need further assistance.
You've answered a question I asked about two years ago! That's very impressive. Thank you.
We are not currently utilizing that functionality and I don't have time to test your sample right now, but I definitely will in the near future.
Steve