C
Chan
I have an XML Web Servic (.asmx) to generate an Excel file, and it
works as expected.
However, here is the bad thing,
- if this web service is called in a consumer (.aspx) Page_Load
procedure, it still generates the file but the IE/globe logo at the
upper right corner will spin forever, of course this page will never
finish.
- but if the same block of code is removed from Page_Load and placed
in another sub, say a button's OnClick event sub, it's Ok.
I don't think a call to web service can not be placed in Page_Load.
Thanks.
works as expected.
However, here is the bad thing,
- if this web service is called in a consumer (.aspx) Page_Load
procedure, it still generates the file but the IE/globe logo at the
upper right corner will spin forever, of course this page will never
finish.
- but if the same block of code is removed from Page_Load and placed
in another sub, say a button's OnClick event sub, it's Ok.
I don't think a call to web service can not be placed in Page_Load.
Thanks.