Forum  General Visual ...  Breaking Change...  ShowDialog problem with download file
Previous Previous
 
Next Next
New Post 9/30/2010 6:44 AM
Resolved
  AlbertoRubini
20 posts
No Ranking


ShowDialog problem with download file 

 Hi,

I use the 6.3.14.

I' ve the follow question,

If i download a file using objLinkParameters.Target = "_self" from a form that opened in ShowDialog mode, the Open/Save windows message, appears after close the form. While if i use a "_blank" target, the Open/Save windows appears immediatly.

From my test i notice also that the _self bypass the security IE settings, while _blank no. Is correctly?

What is the different between_self and _blank?

This is a project test.

thanks in advanced for your reply

bye

Alberto

 

 

 
New Post 9/30/2010 1:38 PM
  palli
14295 posts
1st Level Poster




Re: ShowDialog problem with download file 

Hi Alberto,

The difference between _self and _blank, is that _blank opens a new browser window, while _self opens in the current one. You can see more info on the difference on the Link wiki page here.

You are correct about when the Save dialog opens, but in IE8, it does not bypass the IE security settings from what I have tested.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 10/1/2010 12:49 AM
  AlbertoRubini
20 posts
No Ranking


Re: ShowDialog problem with download file 

 Hi,

Thanks for your reply.

If you tested my application, notice that the popup Open/Save, appears after closed the second form (because Form2 has open in ShowDialog mode).

How to open the Open/Save popup in the second form open in showdialog mode? I try with all target value of LinkParameters object but it didn't work.

Thanks.

Alberto

 

 

 
New Post 10/2/2010 4:53 AM
  palli
14295 posts
1st Level Poster




Re: ShowDialog problem with download file 

Hi Alberto,

You are correct on that the Save file dialog doesn't appear until you close your dialog form when using _self as the target. This is only a problem in IE and only when using non-inline windows.

I opened a new issue on this subject which you can track here. Please take a look at it and the attached sample application. You basically have two options to work around this. Either you can turn on Inline windows, or you can use a small HtmlBox, like I demonstrate in the application.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 10/4/2010 12:51 AM
  AlbertoRubini
20 posts
No Ranking


Re: ShowDialog problem with download file 

 Hi palli,

thanks so much for reply

I will use the htmlbox.

Out of curiosity, there's some significant difference between Inline Windows On and HtmlBox?

thanks

Alberto

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Breaking Change...  ShowDialog problem with download file
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS