Search found 2913 matches

by Edward
Wed Jun 14, 2006 4:44 am
Forum: Stimulsoft Reports.NET
Topic: Localized report
Replies: 2
Views: 3232

Localized report

Please use GlobalizedName property. This property allows you translate Report in different languages via different resource files.
Please see GlobalizedReport example.
by Edward
Tue Jun 13, 2006 9:35 am
Forum: Talks
Topic: Hooray!!
Replies: 2
Views: 3451

Hooray!!

I hope that our forum will help us in your and our work. You are welcomed.
by Edward
Tue Jun 13, 2006 8:22 am
Forum: Stimulsoft Reports.NET
Topic: Null Values
Replies: 2
Views: 3668

Null Values

You can use the following code in the GetValueEvent of StiTextBox component:
C#:
if (Customers["Flag"] == null)e.Value = "YES";
else e.Value = "NO";

VB:
Please use following code in GetValueEvent:
Image
by Edward
Tue Jun 13, 2006 8:14 am
Forum: Stimulsoft Reports.NET
Topic: Null Values
Replies: 2
Views: 3668

Null Values

Please use following code in GetValueEvent:
by Edward
Tue Jun 13, 2006 4:25 am
Forum: Stimulsoft Reports.NET
Topic: Filter
Replies: 3
Views: 2837

Filter

Please use following code:

StiDataBand band = stiReport1.GetComponents()["DataBand1"] as StiDataBand;
band.Filter.Value = "{Category.CategoryName==\"Beverages\"}";
stiReport1.Compile();
stiReport1.Show();
by Edward
Tue Jun 13, 2006 3:31 am
Forum: Stimulsoft Reports.NET
Topic: Right To Left
Replies: 2
Views: 2598

Right To Left

Yes, Report designer and report preview support right to left mode.
To enable right to left mode for preview use the following code:

Stimulsoft.Report.StiOptions.Preview.RightToLeft = StiRightToLeftType.Yes;
by Edward
Tue Jun 13, 2006 12:54 am
Forum: Stimulsoft Reports.NET
Topic: Null Values
Replies: 2
Views: 3668

Null Values

You can use the following code in the GetValueEvent of StiTextBox component:

if (Customers["Flag"] == null)e.Value = "YES";
else e.Value = "NO";
by Edward
Mon Jun 12, 2006 11:55 am
Forum: Stimulsoft Reports.NET
Topic: Formula fields
Replies: 4
Views: 4396

Formula fields

<t>Please use the ternary expression in the following form:<br/> <br/> {Condition ? Value1 : Value2}<br/> <br/> <br/> if Condition returns true, then the expression will return the Value1, if Condition returns false then the expression will return Value2. <br/> <br/> For example:<br/> <br/> {Store.C...
by Edward
Mon Jun 12, 2006 5:04 am
Forum: Stimulsoft Reports.NET
Topic: Designer functionality
Replies: 4
Views: 3275

Designer functionality

<t>To limit the functionality of the Report designer at runtime please use the following code:<br/> StiReport report = new StiReport();<br/> StiConfig.Load();<br/> <br/> // this service controls MainMenu of Designer<br/> StiMainMenuService serviceMenu = StiMainMenuService.GetService(); <br/> <br/> s...
by Edward
Mon Jun 12, 2006 4:04 am
Forum: Stimulsoft Reports.NET
Topic: Directly to a PDF output in asp.net
Replies: 2
Views: 2819

Directly to a PDF output in asp.net

For exporting report to pdf file without using dialog box and StimulSoft preview please do the following:

StiReport report = new StiReport();
report.Load("report.mrt");
report.Render();
StiReportResponse.ResponseAsPdf(this, report);