Comments (19)
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.
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.
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.
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.
We have fixed and tested.
Please confirm below
from opentouryo.
Good.
Please confirm that the specified size is reflected.
- app.config - appSettings - FxDefaultBusinessDialogStyle
https://github.com/OpenTouryoProject/OpenTouryo/blob/develop/root/programs/C%23/Samples/WebApp_sample/ProjectX_sample/app.config#L34
from opentouryo.
Please confirm that the specified size is reflected.
We have set specified size using appsetting. But the size is not reflecting.
from opentouryo.
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.
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.
There is a possibility that can be supported by correspond as following.
- Welcome To The Porch Garden:
IE10以降、dialogWidthとdialogHeightの同時指定で画面が真っ白に。。
http://porchgarden.blogspot.jp/2013/11/ie10dialogwidthdialogheight.html
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.
This change of VB version was also necessary.
▼ ▼ ▼
from opentouryo.
Ok, Thank you for the informaion.
We will do this changes and create new pull request.
from opentouryo.
Thank you for your response.
But, We have detected one additional failure of CloseModalScreen_NoPostBack method by using the IFRAME.
- The window.returnValue of window.ShowModalDialog is no longer returned by using the IFRAME.
window.returnValue become "undefined" in this situation.
https://github.com/OpenTouryoProject/OpenTouryo/blob/develop/root/programs/C%23/Samples/WebApp_sample/ProjectX_sample/Framework/Js/common.js#L866 - So, it is executing the postback in the parent screen by enter the following coverage despite "_NoPostBack".
https://github.com/OpenTouryoProject/OpenTouryo/blob/develop/root/programs/C%23/Samples/WebApp_sample/ProjectX_sample/Framework/Js/common.js#L772
from opentouryo.
Ok, we will look in to this issue and report you.
from opentouryo.
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.
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.
Is it.!
Ok we will perform the testing.
from opentouryo.
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.
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)
- Exception is occurred on the Visual Studio Designer. HOT 1
- Add cookie support to WebAPI calls in CallController.
- Symbol in Public.Security cannot be registered. HOT 1
- NET Core's CallController does not propagate exception information.
- Change the connection string to a containerized DB thing.
- Add new template of CLI application.
- Using HTTPClient in CallController at the server side, there is a possibility of port exhaustion.
- ArgumentException: Cache-Control response header has already been added.
- Appropriate the version of Visual Studio in the solution file.
- Add CancellationToken support.
- In the case of CLI, current directory affect to read appsettings.json file.
- Change the defaults DirectorySeparatorChar in the path written in appsettings.json to the Linux style. HOT 1
- In the case of CLI, current directory affect to read *.xml file.
- Change the defaults DirectorySeparatorChar in the path written in *Log*.xml to the Linux style. HOT 1
- Change the tabs in *Log*.xml to spaces and align the indentation.
- Created my own tool to distribute the modified development folder files to the template folder.
- Remove the broken media query once.
- UseHttpsRedirection and UseHsts methods should be called in !IsDevelopment conditional branch.
- Add Crud2Controller to ASP.NET Core MVC_Sample
- Type initialization exception is raised in Constructor of JwkSetStore.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentouryo.