Re: ShowmodalDialog between servers

From: nilsotto (nilsotto_at_discussions.microsoft.com)
Date: 02/18/05

  • Next message: Martin Honnen: "Re: ShowmodalDialog between servers"
    Date: Fri, 18 Feb 2005 09:47:02 -0800
    
    

    nope.
    Same result.

    What i've done is to create a redirect-app, and changed the URL to
    http://sameserver/redirect?url=http://mawww05/radspell/SpellStarter.aspx"
    The string value passed to showmodaldialog is still not transferred remotly.

    Nils Otto

    "Martin Honnen" wrote:

    > Elsewhere someone recently claimed he got a similar scenario working by
    > calling showModalDialog with a URL to a server-side script on the
    > original server which then does a redirect to the intended URL e.g.
    > http://example.com/spellcheck/SpellStarter.aspx. I have never tested
    > whether respectively with what version of IE that works, whether
    > dialogArguments and returnValue work properly. But maybe you can try and
    > report back whether that works for you.
    >
    > --
    >
    > Martin Honnen
    > http://JavaScript.FAQTs.com/
    >
    >
    >
    > nilsotto wrote:
    >
    >
    > > We have a web-application that requres a modal dilaog for spellcheck
    > > functionality
    > >
    > > We have made the thing work on our local computers, but when deploying to
    > > different servers it doesn't work.
    > >
    > > The code goes like this :
    > >
    > > objTextBox = document.getElementById("txtToCheck");
    > > url = "http://someserver/spellcheck/SpellStarter.aspx";
    > > objTextBox.value = window.showModalDialog(url, objTextBox.value, "<params>");
    > > (<params> omitted for readability, they don't matter)
    > >
    > > When "someserver" is the same as the machine serving the javascript and html
    > > everything works ok.
    > > When someserver is another server, it doesn't work anymore, which is OK from
    > > a security point of view. (it works in ie5, but not in ie6, so its probably a
    > > security "fix")
    > >
    > > the next thing to expect is that it shoud start working again if i put the
    > > "someserver" in trusted sites in ie. It doesn't.
    > >
    > > Can you please help, or point me to some other method ?
    >


  • Next message: Martin Honnen: "Re: ShowmodalDialog between servers"

    Relevant Pages

    • Re: ShowModalDialog
      ... > How does the server side code signal to its client counterpart to call ... By passing values in a hidden input control. ... >> showModalDialog. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: ShowModalDialog
      ... How does the server side code signal to its client counterpart to call ... > showModalDialog. ... A hidden input control is good for that. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: ShowModalDialog
      ... The server-side code can signal to its client counterpart to call ... showModalDialog. ... A hidden input control is good for that. ... The server sets an ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: showmodaldialog
      ... Do you want to load the textboxes on the client or on the server? ... Eliyahu ... >> web form) via showmodaldialog function. ...
      (microsoft.public.dotnet.framework.aspnet)

    Loading