User Profile & Activity

Throstur Jonsson Member
Page
of 2
Posted: June 3, 2015 5:07 PM
Hmm yes you are problably right. I have to compare the code in those samples to my code. It has probably something with style or font settinst to do. Not so easy to figure out.

BUT! you can regenerate this problem if you run the solution C:\Program Files (x86)\Intersoft Solutions\Intersoft Premier Studio 2014 R2\Tutorials\cs\WebDesktopTutorials.sln
And if you try to view the file WebDialogBoxes\CreatingSimpleDialogBox.aspx
Find attached picture for both run in compatibility mode and none compatibility mode.
This just a simple example of a dialog box, but regnerates the same problem I have in my app. with WebDialogs....for example

PS: To have the webDialog to show up, I had to add this code at the client side:
<head id="Head1" runat="server">    <title>Simple Dialog box    </title>
 <script language="javascript" type="text/javascript">
     function window_onload() {
         document.body.style.overflow = "hidden";
         var dlgBox = ISGetObject("WebDialogBox1");
         dlgBox.ShowDialog();
     }

	</script>
</head>

And then at the server side:

    protected void Page_Load(object sender, EventArgs e)
    {
        body.Style.Add("overflow", "hidden");

        // Add java script onload="window_onload()"
        body.Attributes.Add("onload", "window_onload()");
    }




Posted: June 2, 2015 5:58 PM
Problem solved! The virtua directory for "CommonLibrary" was missing on IIS, at the machine I was testing from.
Posted: June 1, 2015 9:36 AM
Hi,
Yes I have tripple checked all this, but it does not help.
I don't know if that helps but as you can se in the attahced screenshot, the Intersoft-trial-nag-screen states that I'm evaluating WEBUI 2012. I have never installed WEBUI2012, so that is hardly correct text or what?

Or has it to do something with that it cant find the script source for ISGetObject(). How do I check that?

I'm using Visual Studio 2010 if that matters.

TJ
Posted: November 2, 2009 5:31 AM

Gordon, Probably I'm just stupid, but I can't (I repeat CAN NOT) find the Java script documentation for the Intersoft controls in your documentation. It must be very well hidden. I know I can open the "WebDesktop.NET 2.5 Reference" and search "SetContentURL" and then it pops up (but then I have to know what to search for). But I can't se where in the tree at the left I can brows for this. Can you tell me?

The other alternative to se it in the debugger I'm not sure. Can you tell me in details how that is possible (JAVAScript CLIENT SIDE) in Visual Studio 2008?

....and I'm starting to tear off my hear becuase of this....The gnereal JavaScript horror is actualy the biggest reason my company is moving away from this platform to Silverlight. The JavaScript stuff is simply too time consuming and also slow in complex clients.

Sorry for my irritation :-)

Posted: October 30, 2009 12:46 PM

Gordon when I compared your code and mine the only differene was that you did:

wdb.SetContentURL("Child.aspx?txt=" + input);

But I did:

wdb.ContentURL = "Child.aspx?txt=" + input";

If you use my method you will run into my problem. How should I know that there exist a JavaScript method SetContentURL for the WebCombo? Does a Intersoft control javaScript reference exist somewhere?

My problem is solved. But I realy want to know where I can find the JavaScript documentation for the Intersoft controls.

All times are GMT -5. The time now is 6:31 PM.
Previous Next