Jump to content
Software FX Community

RPX with a ChartFX control raising OutOfRangeException


User (Legacy)

Recommended Posts

Has anyone got a fix for this?

I have a licensed version of AR Net and a Trial of ChartFX

I have a ChartFX control in the detail of the report.

When I load the web project and serve the page

everything goes well until the initialize subroutine tries to set a

reference the custom control

This is a WEB project the KB example is WinForms and it works fine on my dev

box.

"Public Sub InitializeReport()"

.......

.......

Me.CustomControl1 =

CType(Me.ReportHeader.Controls(13),DataDynamics.ActiveReports.CustomControl)

Then it flips out.

I didn't write the code this it's autogenerate stuff so I should have to

touch it.

Why isn't the control added to the array when I drop it on the report? or is

something else

going on here

Do I have to add it programmatically to the control array (?)

What gives?

The Error:

System.ArgumentOutOfRangeException: Index was out of range. Must be

nonnegative

and less than the size of the collection.

Link to comment
Share on other sites

  • 1 month later...

I have the SAME problem.

please someone help me!

or YOU chartFX developers give me an example of webpage with activereport

and chartFX

thankyou

"Kevin N. Nelson" <k.knn@verizon.net> wrote in message

news:z0RcfVrADHA.3076@webserver1.softwarefx.com...

> Has anyone got a fix for this?

>

> I have a licensed version of AR Net and a Trial of ChartFX

>

> I have a ChartFX control in the detail of the report.

>

> When I load the web project and serve the page

> everything goes well until the initialize subroutine tries to set a

> reference the custom control

>

> This is a WEB project the KB example is WinForms and it works fine on my

dev

> box.

>

> "Public Sub InitializeReport()"

> .......

> .......

>

> Me.CustomControl1 =

>

CType(Me.ReportHeader.Controls(13),DataDynamics.ActiveReports.CustomControl)

>

>

> Then it flips out.

>

> I didn't write the code this it's autogenerate stuff so I should have to

> touch it.

>

> Why isn't the control added to the array when I drop it on the report? or

is

> something else

> going on here

>

> Do I have to add it programmatically to the control array (?)

>

> What gives?

>

> The Error:

> System.ArgumentOutOfRangeException: Index was out of range. Must be

> nonnegative

> and less than the size of the collection.

>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...