Page 1 of 1
MDI Container Error ???
Posted: Mon Nov 10, 2008 12:51 am
by jayakumargr
Hi,
i have use StiReport as MDI child in my application.There is no problem in it.while using F5 the following error is occured.
Method:[set_MdiParentInternal]
Form that was specified to be the MdiParent for this form is not an MdiContainer.
Parameter name : value
Currently i used StiReport 2008.2 Source code.
How to solve this Error ??
Thanks in Advance,
Jayakumar
MDI Container Error ???
Posted: Mon Nov 10, 2008 1:42 am
by Edward
Hello, Jayakumar.
Please send test application which reproduces the behavior to support[at]stimulsoft.com for analysis.
Thank you.
MDI Container Error ???
Posted: Wed Nov 12, 2008 1:41 pm
by jayakumargr
Hi,
i unable to send the test application to you.But i send the coding details.
i have wrote following coding in form_load event:
StiReport report = new StiReport();
report.Design(this);
and also i set the IsMdiContainer property to true;
this.IsMdiContainer = true;
Thanks in Advance,
Jayakumar
MDI Container Error ???
Posted: Fri Nov 14, 2008 7:42 am
by jayakumargr
Hi,Edward.
if you found any solution for this issue? Please let me know the details.
Thanks in advance,
Jayakumar
MDI Container Error ???
Posted: Mon Nov 17, 2008 11:10 am
by Edward
Hi, Jayakumar.
Please call the code in the following order:
Code: Select all
this.IsMdiContainer = true;
StiReport report = new StiReport();
report.Design(this);
Designer will be opened within that form. I checked this code and it worked.
Thank you.
MDI Container Error ???
Posted: Tue Nov 18, 2008 8:48 am
by Edward
Hi, Jayakumar.
Please use the following code:
Code: Select all
StiSelectGuiHelper.IsRibbonGui = false;
StiDesigner.ShowPreviewInMdi = false;
this.IsMdiContainer = true;
StiReport report = new StiReport();
report.Design(this);
Thank you.