c# - Mimicking AJAX file uploads in webbrowser control is failing -
c# - Mimicking AJAX file uploads in webbrowser control is failing -
i having problem not sure where.
i have created website uses angular, might not pertinent 1 time again might be. of many features of site 1 of them ability upload file , response. response simple amount of json. browser have working @ point in time in ie8. avoiding incoming thrown objects - have tried alter fact, is.
i have gotten site mimic ajax uploads submitting form , having response redirected iframe. in fact using module of me. far works improve believe in ie8. know right? unbelievable!
but… there’s but…
i need page working when running in webbrowser command in winforms project. far uploading file happens successfully. rest service gets it, saves it, , returns right response. when debugging can see response available. reason load method iframe never called. iframe have made visible on page never populated json.
again works when running in ie not when in webbrowser control. no errors , have breakpoints , debugger statements everywhere. it’s response falls in crack , ignored.
would have suggestions why happening? crossing fingers
sorry delay have been ..., there no adjective how busy have been.
the reply lied in module chosen help upload files. worked ie 8 straight up, not when running in web browser control. module dynamically binding onload event iframe beingness dynamically create handle post back. has worked ie , needed upload files might know of method. worked in ie8 not in web browser control. modified add together onload event when iframe created , fixed issue.
c# javascript iframe internet-explorer-8 webbrowser-control
Comments
Post a Comment