Ticket Q146333
Visible to All Users

default name of report during saving

created 16 years ago

Hi
how can I give the desired name(default name ) for report during saving?
Please refer to attched screenshot.
I am using printBarManager for printControl…
Reports report = new Reports.XtraReports();
xtraUserControl1.printControl1.PrintingSystem = report .PrintingSystem;

Show previous comments (5)
DevExpress Support Team 16 years ago

    Hi Dewraj,
    Thanks for the update. Unfortunately, I haven't managed to reproduce a similar problem by following the scenario you described.
    In the attachment, you'll find a sample project illustrating the approach I suggested previously. Please review it, and check what's missing.
    If this doesn't help, update my code to illustrate the problem. I'll be glad to help you.
    Thanks,
    Alex.

      Thanks Alex,
      I found the problem,
      Actaully in my case I was assgining name as "OverrideReport_XXXX_27Feb2009 21:23:25GMT"
      but as per filenaming standard name can't cotains special character such as ':' ,so it report name was defaultnig back to original default name 'Document'.
      Thanks& Regards
       Dewraj

        Problem is solved.
        Thanks Alex

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.