Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0
Haii All,
 
How can I know that an iframe has finished loading or not in web browser control?
can anyone explain(Windows Application).
 

 
Thanks,
Anvesh
Posted 21-Jan-13 22:53pm
Edited 21-Jan-13 22:56pm
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can quite easily do this via Javascript -
<script>
document.getElementById("myframe").onload = function() {
  alert("myframe is loaded");
};
</script>
  Permalink  
Comments
a.anvesh at 22-Jan-13 4:56am
   
can u please tell me in windows application.
Abhinav S at 22-Jan-13 5:47am
   
IFrame is a client side control...so you are not going to have an opportunity to do much on the server side.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Please review the following link
 
http://stackoverflow.com/questions/2777878/detect-webbrowser-complete-page-loading[^]
 
I think this is what you are looking for.
 
Happy Programming
 
Smile | :)
  Permalink  
Comments
a.anvesh at 22-Jan-13 5:09am
   
sorry Avishek, I tried that above link but am unable to find IFrame content data

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 515
1 OriginalGriff 498
2 Abhinav S 305
3 sanket saxena 295
4 thatraja 235
0 Sergey Alexandrovich Kryukov 8,482
1 OriginalGriff 4,830
2 Peter Leow 3,794
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 22 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid