Page 1 of 1

Load Form event being called more than once

Posted: Thu Sep 24, 2009 2:05 pm
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!

Load Form event being called more than once

Posted: Fri Sep 25, 2009 2:07 am
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.

Load Form event being called more than once

Posted: Fri Sep 25, 2009 9:16 am
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.


Load Form event being called more than once

Posted: Fri Sep 25, 2009 1:41 pm
by Jan
Hello,

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

Thank you.