Hi all,
i am currently trying to use a web browser created dynamically in code to extract details in a web page. but i am unable to know when the load is complete. i know there is .LoadCompleted event.
i tried it and it is not firing for some reason. so droped it.
but i am kind of looking for the type where we used to do for winforms webbrowser control. check if the document is ready kind of like this
Do Until WebBrowser1.ReadyState = WebBrowserReadyState.Complete
Application.DoEvents()
Loop
is there anything similar. so that i can check and continue with the rest of the code.
webBrwFrst = New WebBrowser
webBrwFrst.Navigate(New Uri(strComurl))
assuming the webpage is like Samsung or LG product web page i want al the product list in that page with there link.
so i must wait till all the images and all the details are loaded to the page
<Window x:Class="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="320.877" Width="588.123">
<Grid Height="260.883">
<Label HorizontalAlignment="Left" Margin="0,12,0,0" Name="Label1" Width="100" Height="23.139" VerticalAlignment="Top">Input Excel File:</Label>
<TextBox Margin="106,12,57,0" Name="txtbxFlePth" Height="23" VerticalAlignment="Top" />
<Button HorizontalAlignment="Right" Margin="0,12.139,8,0" Name="btnBrwser" Width="43" Height="23" VerticalAlignment="Top" >Browse</Button>
<ProgressBar Margin="15.856,115,57,121.883" Name="ProgressBar1" />
</Grid>
</Window>