A
Andrea Moro
I do a stupid thing ... new webform, in the page_load event added this code
dim i as int64
do while true
i = i + 1
loop
run the project, stop adfter a while ... and then putted a breakpoink on
the middle line (i = ...). With surprise I discovered that code continue to
run also if an end request was generated by the user, and seem no way to
avoid it.
I added a button with a cancel variable, that check before increment i, but
I can press the button many time, but cancel never became true.
What am I missing?
Thanks
Andrea
dim i as int64
do while true
i = i + 1
loop
run the project, stop adfter a while ... and then putted a breakpoink on
the middle line (i = ...). With surprise I discovered that code continue to
run also if an end request was generated by the user, and seem no way to
avoid it.
I added a button with a cancel variable, that check before increment i, but
I can press the button many time, but cancel never became true.
What am I missing?
Thanks
Andrea