User Profile & Activity

Hans Kristian Member
Page
of 69
Posted: April 2, 2012 11:09 PM

Hello,

You can find our documentation in Microsoft Help Viewer. In this case, let me show you, How to get WebDesktop documentation:
Click Start -> All Programs -> Intersoft WebUI Studio 2011 R2 SP1 -> WebUI Studio for ASP.NET -> WebDesktop 3 -> WebDesktop 3 Documentation.
You can choose what product documentation that you need. I attached a screenshot (documentation.jpg) in order to make you easier to find the documentation.
Or you can download our documentation from our website and choose what product documentation that you need (http://intersoftpt.com/Support/).

You can set or configure event like “OnCreatedWD()” in Client Side Events of the WedDialogBox. I also attached a screenshot (ClientSideEvents.jpg) in order to make you easier to understand.

But unfortunately, our documentation doesn’t provide explanation about javascript code any further, like GetWindowDivElement(). You should find another resource or documentation about javascript code.

Hope this helps. Thank you.

Regards,
Hans.

Hello,

I’m sorry for this inconvenience. To resolve this issue, please check your IIS version.
And if you’re IIS version is 7.0 or above, you should add webServer handlers in your web.config’s configuration.
Let me show you the handlers script:

<system.webServer><validation validateIntegratedModeConfiguration="false"/>
<handlers>
<add name="ISCoverFlow.axd_GET" path="ISCoverFlow.axd" verb="GET" type="ISNet.WebUI.Silverlight.WebAqua.WebCoverFlowRequestHandler, ISNet.WebUI.Silverlight.WebAqua" preCondition="integratedMode"/>
<add name="ISChart.axd_GET, POST" path="ISChart.axd" verb="GET, POST" type="ISNet.WebUI.WebGrid.Chart.ChartRequestHandler, ISNet.WebUI.WebGrid" preCondition="integratedMode"/>
<add name="ISRes.axd_GET" path="ISRes.axd" verb="GET" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" preCondition="integratedMode"/>
<add name="WebFileUploaderHttpHandler.axd_GET" path="WebFileUploaderHttpHandler.axd" verb="GET" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpHandler, ISNet.WebUI.WebTextEditor" preCondition="integratedMode"/>
<add name="ISScheduler.axd_GET" path="ISScheduler.axd" verb="GET" type="ISNet.WebUI.WebScheduler.WebSchedulerRequestHandler, ISNet.WebUI.WebScheduler" preCondition="integratedMode"/>
</handlers>
<modules>
<add name="WebFileUploaderHttpModule_GET" preCondition="managedHandler" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpModule, ISNet.WebUI.WebTextEditor" />
</modules>
</system.webServer>

Hope this helps. Thank you.

Regards,
Hans.

Posted: April 2, 2012 12:15 AM

Hello,

By default, IE will render the webpage in quirks mode, if your webpage is using HTML doctype.

But if you want to render your webpage in standards mode, you should use XHTML doctype in your webpage.

Hope this helps. Thank you.

Regards,

Hans.

Posted: April 1, 2012 11:52 PM

Hello,

I’m using Google Chrome version 18.0.1025.142 and WebGrid 7.0.7200.532.

But I can’t replicate your issue here.

Please try to update your Google Chrome & WebGrid to the latest version. Then let me know if the issue still persists or not.

And would you mind to telling me, how can get this issue. So I can replicate and analyze your issue.

Thank you.

Regards,

Hans.

Hello,


I’m really sorry for this inconvenience.
For now, we can’t estimate when will WebPaneManager and others will fully support XHTML.
But currently, we are developing all controls to support XHTML. So later on, we can use all control in same page.

Thank you for understanding.


Regards,
Hans.

Posted: March 30, 2012 2:36 AM
Hello,

Thank you for telling me the reasons why you need to set thesize in %.
I made a new example script so you can get the WebDialogBox in the center of the web page, even you are using “%” value.
Here’s the example script below:
        // Function for set the size in percentage and
        // set the WebDiaolog to in the center of the web page
        function size() {
            var dlg = ISGetObject("WebDialogBox1");
            
            // variable to set the "%" value
            var percent = 90; 
            
            var percent2 = percent / 100;
            dlg.Window.GetWindowDivElement().style.height = percent + "%";
            dlg.Window.GetWindowDivElement().style.width = percent + "%";
            
            var body = document.body;
            var html = document.documentElement;
            // variable to get the web page's Height
            var height = Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);
            // variable to get the web page's Width
            var width = Math.max(body.scrollWidth, body.offsetWidth, html.clientWidth, html.scrollWidth, html.offsetWidth);
            // variable to get the new WebDialogBox's position
            var new_offsetTop = (height - (height * percent2)) / 2;
            var new_offsetLeft = (width - (width * percent2)) / 2;
            // set the new WebDialog's position
            // so the WebDialog will be in the center of the web page
            dlg.Window.GetWindowDivElement().style.posTop = new_offsetTop;
            dlg.Window.GetWindowDivElement().style.posLeft = new_offsetLeft;
        }
        // This function called when WebDialogBox created
        function OnCreatedWD() {
            // Delay before set the height and width in percentage
            window.setTimeout(function () { size(); }, 10);
        }

Hope this script can resolve your problem. Thank you.

Regards,

Hans.


Posted: March 29, 2012 9:33 PM

Hello,

That issue is already fixed as well. If you don’t mind, please check the update once again to make sure there is no more issue.

Thank you very much.

Regards,

Hans.

Posted: March 29, 2012 5:25 AM

Hi,

I just wanted to let you know that the previous issue has been resolved. Please kindly check and let us know if you found another issue. Thank you.

Regards,

Hans

Posted: March 29, 2012 5:00 AM

Hello,

Thank you for your report. Unfortunately, this is not a bug in our WebDialogBox. The “%” value would be set back as pixel as design. Our WebDialogBox is not designed to set its size in percent because it already has its own mechanism and reason.
Example, WebDialog is set in middle position. If user can dynamically set its size in %, the position and design would be a little weird.

Perhaps, you can also let us know why you need to set in %.

But it does not mean that you cannot set its size in %. To do that, you could use WebDialodBox’s OnCreated() client side. Let me show you the example script how to set the size in %.

        // Function for set the height and width in percentage
        function size() {
            var dlg = ISGetObject("WebDialogBox1");
            dlg.Window.GetWindowDivElement().style.height = "100%";
            dlg.Window.GetWindowDivElement().style.width = "100%";
        }
        // This function called when WebDialogBox created
        function OnCreatedWD() {
            // Delay before set the height and width in percentage
            window.setTimeout(function () { size(); }, 10);
        }

Hope this helps. Thank you.

Regards,

Hans.
Posted: March 29, 2012 3:38 AM

Hello,

I can replicate your issue in here. Unfortunately, this issue is not from our side. This a default limitation from the browser.
Therefore, I don’t think this is the best approach for your application. My humble opinion, Slider is the best approach for your application.
Unlike choose page from contextmenu, you can easily navigate to certain page faster by using the slider.

Hope this helps. Thank you.

Regards,

Hans.

All times are GMT -5. The time now is 8:23 PM.
Previous Next