Coder Social home page Coder Social logo

Comments (19)

daisukenishino avatar daisukenishino commented on June 5, 2024

Additional information

I got the following information from the project.

If you change from the frameset to iframe, then dialog is resizable.

This information was confirmed that it will work properly in the following modifications.

Before correction

<frameset cols="100%" style="margin:0px; padding:0px; border-style:none; background-color:#cccccc;">
    <frame id="frame1" src="./DialogLoader.htm" style="background-color:#cccccc; " />
</frameset>

After correction

<iframe id="frame1" src="./DialogLoader.htm" frameborder="0" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px;background-color:#cccccc;" height="100%" width="100%">・・・</iframe>

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

Changed the Status.

Change the Label from [wontfix] to [enhance], and reopened.

Modification contents

This will changed to iframe from frameset in the DialogFrame.htm.

  • This correspondence is required not only IE9.
  • This correspondence have been required because this was continued until the IE11.

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

Support browsers

Since this feature is using a showModalDialog,
this feature does not support modern browser, such as the following.

  • Chrome
  • Firefox
  • Safari
  • Opera

Alternative implementation to support of the business modal dialog display function for modern browser is currently under consideration. But, at the moment, I think that there is a high possibility that the support of this feature abort in the future.

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

How to test

Press the following buttons to display the business modal dialog.
https://github.com/OpenTouryoProject/OpenTouryo/blob/develop/root/programs/C%23/Samples/WebApp_sample/ProjectX_sample/Aspx/testFxLayerP/normal/testScreen1.aspx#L60

from opentouryo.

kishoreandukuri avatar kishoreandukuri commented on June 5, 2024

@daisukenishino

We have fixed and tested.
Please confirm below
image

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

@kishoreandukuri

#74 (comment)

Good.

Please confirm that the specified size is reflected.

from opentouryo.

kishoreandukuri avatar kishoreandukuri commented on June 5, 2024

@daisukenishino

Please confirm that the specified size is reflected.

We have set specified size using appsetting. But the size is not reflecting.

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

@kishoreandukuri

But the size is not reflecting.

Please investigate the dialogWidth and dialogHeight problems of window.showModalDialog() method in IE11 on internet. I found the following information. Please try to delete the "xp".
https://productforums.google.com/forum/#!topic/chrome-ja/jwHRnMJ6oJ8

from opentouryo.

kishoreandukuri avatar kishoreandukuri commented on June 5, 2024

@daisukenishino

Please try to delete the "xp".

I removed "px" in appsetting and checked. Still the specified size is not coming.

<add key="FxDefaultBusinessDialogStyle" value="dialogWidth:100;dialogHeight:100;status:no;" />

I'm doing investigation on this.

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

@kishoreandukuri

#74 (comment)

There is a possibility that can be supported by correspond as following.

If this is true,

pass the size and existing url information to the second argument of showModalDialog by array,

And, specify the size in the dialog side.

<script type="text/javascript"><!--
  var args = window.dialogArguments;
  var args1 = args[0];
  var args2 = args[1];
  var items = args2.split(";");
  items.forEach(function(item){
    if(item.indexOf("dialogWidth") == 0)
    {
      window.dialogWidth = item.split(":")[1];
    }
    if(item.indexOf("dialogHeight") == 0)
    {
      window.dialogHeight = item.split(":")[1];
    }
  });
//--></script>

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

@SandeepNayak077

This change of VB version was also necessary.

▼ ▼ ▼

from opentouryo.

SandeepNayak077 avatar SandeepNayak077 commented on June 5, 2024

@daisukenishino

Ok, Thank you for the informaion.
We will do this changes and create new pull request.

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

@SandeepNayak077

#74 (comment)

Thank you for your response.

But, We have detected one additional failure of CloseModalScreen_NoPostBack method by using the IFRAME.

from opentouryo.

SandeepNayak077 avatar SandeepNayak077 commented on June 5, 2024

@daisukenishino

#74 (comment)

Ok, we will look in to this issue and report you.

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

@SandeepNayak077

I'll investigate that we can cope with to return the "windows.returnValue" by using the cookie.

Ok, we will look in to this issue and report you.

Please to report if there is excellent proposal than the above.
Note : This change must be in time for release of the "01-72" version.

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

@SandeepNayak077

I fixed it.
https://github.com/SymphonyTeleca/OpenTouryo/pull/105

Performe "nishino_work" branch for test and please check that there is no problem.

from opentouryo.

SandeepNayak077 avatar SandeepNayak077 commented on June 5, 2024

@daisukenishino

#74 (comment)

Is it.!
Ok we will perform the testing.

from opentouryo.

daisukenishino avatar daisukenishino commented on June 5, 2024

@SandeepNayak077

You can performe this test using testScreen1.aspx screen and each buttons.

Open
  • ibnImageButton4
    ShowModalScreen method
Close
  • btnButton22
    CloseModalScreen method
  • lbnLinkButton22
    CloseModalScreen_NoPostBack method
  • ibnImageButton22
    CloseModalScreen_WithAllParent method

from opentouryo.

SandeepNayak077 avatar SandeepNayak077 commented on June 5, 2024

@daisukenishino

We have followed the test senario written in the above comment.
Testing was successful.

The modified code is working properly.
The ShowModalScreen method returning "1", "2" and "3" for the btnButton22, lbnLinkButton22 and ibnImageButton22 respectively.

Please merge the code to nishino branch.
So that we can merge it to root_VS2010 and higher.

from opentouryo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.