Welcome Guest Search | Active Topics | Sign In | Register

NeedCredentials cancel Options
AiSatan
Posted: Thursday, February 11, 2016 2:53:07 PM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2016
Posts: 35
In this event
http://www.essentialobjects.com/doc/eo.webbrowser.webview.needcredentials.aspx
I have the NeedCredentialsEventArgs.Continue() method, but have not a cancel method
eo_support
Posted: Thursday, February 11, 2016 3:05:06 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,203
Hi,

You do not need a Cancel method. Just leave the event handler empty and it will be canceled.

Thanks!
AiSatan
Posted: Friday, February 12, 2016 12:47:56 PM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2016
Posts: 35
Thank you,
Also, you can answer about drag&drop events? I not found any way for catch the events

for example, this events not fire:

Code: C#
EoBrow.AllowDrop = true;
			EoBrow.WebView.AllowDropLoad = true;
			EoBrow.DragEnter += (sender, args) =>
			{
				Console.WriteLine();
			};
			EoBrow.DragDrop += (sender, args) =>
			{
				Console.WriteLine();
			};
			EoBrow.DragLeave += (sender, args) =>
			{
				Console.WriteLine();
			};
			EoBrow.DragOver += (sender, args) =>
			{
				Console.WriteLine();
			};
eo_support
Posted: Monday, February 15, 2016 11:01:53 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,203
Hi,

The standard drag and drop events are not supported on the WebBrowser control. Web page drag and drop are handled by the page itself. There are certain built in drag drop actions such as you can drop a file into the WebBrowser to load it (controlled by WebView.AllowDropLoad property). And there are other custom drag drop action that can be implemented by JavaScript code in the page, which would be completely up to the code in the page and you can not override those behaviors from out side. In either case, you can not handle drag drop event the same way as you do with other controls.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.