We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Unable to view specified Url Article

Thread ID:

Created:

Updated:

Platform:

Replies:

75459 Jul 26,2008 03:49 AM Aug 25,2008 12:09 AM Windows Forms 5
loading
Tags: GridControl
mahesh
Asked On July 26, 2008 03:49 AM

Hi,
As i was going through the below mentioned articles in the forums
http://www.syncfusion.com/support/forums/message.aspx?MessageID=19398
http://www.syncfusion.com/support/forums/message.aspx?MessageID=17722
http://www.syncfusion.com/support/forums/message.aspx?MessageID=13195
I found below link which is related to my problem but i am unable to find this article as it is asking for enter an Article id to view.
http://www.syncfusion.com/Support/article.aspx?id=10377

please help me

Thanks,
mahesh


SubhaSheela R [Syncfusion]
Replied On July 28, 2008 03:14 AM

Hi Mahesh,

Thanks for your interest in syncfusion products.

If your intention is to have two or more grids on the same page, then you can refer the below KB article that discusses the same.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=63

Please let me know if it helps.

Regards,
Subhasheela R


Administrator [Syncfusion]
Replied On July 28, 2008 06:55 AM

Hi Subhasheela

Thanks for your reply,

Why can't I read that article..?

Actually my requirement is to print Multiple grids which consists different no.of rows and columns.

1.If no.of columns are more Shrink those columns to appear on same page, they shouldn't get Trimmed.

2.If there are more no.of rows they must move to next pages.

I've also tried the following
C:\Documents\Syncfusion\EssentialStudio\5.1.1.47\Windows\Grid.Windows\Samples\2.0\Printing\PrintToFit

it is printing the Grid in one page instead I need to move on to next pages.

And more over it is printing only the First Grid but not other Grids.

I am sending a sample regarding this, please go through it and give me the suitable suggestion.

Thanks,
Mahesh





Print Multiple Grids_a730d62.zip

SubhaSheela R [Syncfusion]
Replied On August 5, 2008 03:27 AM


Hi Mahesh,

We regret for the long delay caused in getting back to you.

Please refer the below code to print More than one grid one after another and let me know if this helps.


if (this.gridControl1 != null)
{
try
{
GridPrintDocument pd = new GridPrintDocument(this.gridControl1, true);
PrintDialog dlg = new PrintDialog() ;

dlg.Document = pd;
if(dlg.ShowDialog() == DialogResult.OK)
{
pd.Print(); //print first grid
//print the next grid with same settings...
GridPrintDocument pd1 = new GridPrintDocument(this.gridControl2, true);
pd1.DefaultPageSettings = pd.DefaultPageSettings;
pd1.Print(); //print the second grid
}
}
catch(Exception ex)
{
MessageBox.Show("An error occurred attempting to print- " + ex.Message);
}
}


Regards,
Subhasheela R



mahesh
Replied On August 8, 2008 12:39 AM

Thanks for your reply Subhasheela


SubhaSheela R [Syncfusion]
Replied On August 25, 2008 12:09 AM

Hi Mahesh,

Thanks for your update.

Please feel free to open new one if you have any other concerns.

Regards,
Subhasheela R


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;