Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
Register
Login
0
Reply
Block Popup windows in browser
asma
May 29 2008 7:17 AM
2.5k
Reply
Hello
M working on C#.net windows application i have used AxSHDocVw.AxWebBrowser in my application. i want to block popup windows for my code. How do i go about it.
i tried doing
private void axWebBrowser1_NewWindow2(object sender, AxSHDocVw.DWebBrowserEvents2_NewWindow2Event e)
{
e.ppDisp = null;
e.cancel = true;
}
But this is not helping
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Do I really need a DataGridView?
Crystal Reports Error