C# ASP.NET Detect Download -
i maintaining website written in c# asp.net. @ bottom of page iframe. when user clicks button, source iframe set javascript page on server.
showloadwidget(); document.getelementbyid("downloadframe").src='sdrtrenddownload.aspx'; return false;
that page generates file , allows user download it. once download file box pops up, want call hideloadwidget()
'loading data...' overlay goes away. how detect when download file box pops up?
you can't detect in addition more complicated depending on security setting zone detected site
i suggest wrap call inside updatepanel , use partial postback trigger download prompt , progress template displaying loading widget. let .net , browser deal it.
Comments
Post a Comment