Load Form event being called more than once

Stimulsoft Reports.WEB discussion
Post Reply
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Load Form event being called more than once

Post by fuhrj »

This appears to only be happening in the Web side. The Windows side is fine.

In my Load Form event, I am manually loading a ComboBox. When the form is displayed in the web (using AjaxWithCache), the combo box is loaded twice. Thus, I have duplicates in my list. i.e

Blue
Green
Yellow
Blue
Green
Yellow

What would cause the Load Form event to get called twice when rendered in the Web? 2009.2.411 Build.

Thanks!
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Load Form event being called more than once

Post by Andrew »

Hello,

Maybe the Load Form event is assigned in some places. Please, check and send us an example for testig to support@stimulsoft.com.

Thank you.
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Load Form event being called more than once

Post by fuhrj »

Hi Andrew,

I searched and could not find where it was being called more than once.

As a workaround, I created a class variable "isLoaded" and set it to false. Then in my Load Form routine, I'm checking to see if has been loaded or not.

I'll email my report though.

Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Load Form event being called more than once

Post by Jan »

Hello,

Please send to us your report and web page (including source code).

Thank you.
Post Reply