Automatic save files without show save dialog in web browser
hi friends,
here is my code in webBrowser1_DocumentCompleted() method. when i click on link it show save file dialog.my requirement is save files on provided folder path without any pop up through c# code or java Script.
foreach (HtmlElement row in webBrowser1.Document.Window.Frames["View_Frame"].Document.GetElementsByTagName("TR"))
{
foreach (HtmlElement link in row.GetElementsByTagName("A"))
{
//code to click on weblink to download files.
}
}