Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Remote Scripting with IFRAME

Remote Scripting with IFRAME

Scheduled Pinned Locked Moved ASP.NET
javascripthtmlcomsysadmintools
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Piyush Vardhan Singh
    wrote on last edited by
    #1

    hi friend i am using Remote Scripting with IFRAME. There are two page one is Client.aspx and Server.Aspx. Client.aspx Contains:- (script type = "javas") function GetDate(msg) { alert(Msg); } (script) ( name="RSIFrame" style="width:0px; height:0px; border: 0px" src="blank.html">(/iframe>) <b> (server contains :-</b> (script type="text/javascript"> window.parent.GetDate('<%=request.servervariables("SERVER_SOFTWARE")%>'); br mode="hold" /> (body> <form id="form1" runat="server" target="RSIFrame"> <div> <input type="text" name="whatever" /> <asp:button id="Button1" runat="server" text="Button" /> </div> /body) <b>It's Work Properly when Server and client page o same System. if Server page open On different system and client page open deferent system then its not communicate(Its not Work Properly). any body have solotion of this problem... ans Link Which i follow:-</b> <a href="http://developer.apple.com/internet/webcontent/iframe.html">http://developer.apple.com/internet/webcontent/iframe.html</a>[<a href="http://developer.apple.com/internet/webcontent/iframe.html" target="_blank" title="New Window">^</a>] <div class="ForumSig">Piyush Vardhan Singh p_vardhan14@rediffmail.com http://holyschoolofvaranasi.blogspot.com http://holytravelsofvaranasi.blogspot.com </div></form>

    T 1 Reply Last reply
    0
    • P Piyush Vardhan Singh

      hi friend i am using Remote Scripting with IFRAME. There are two page one is Client.aspx and Server.Aspx. Client.aspx Contains:- (script type = "javas") function GetDate(msg) { alert(Msg); } (script) ( name="RSIFrame" style="width:0px; height:0px; border: 0px" src="blank.html">(/iframe>) <b> (server contains :-</b> (script type="text/javascript"> window.parent.GetDate('<%=request.servervariables("SERVER_SOFTWARE")%>'); br mode="hold" /> (body> <form id="form1" runat="server" target="RSIFrame"> <div> <input type="text" name="whatever" /> <asp:button id="Button1" runat="server" text="Button" /> </div> /body) <b>It's Work Properly when Server and client page o same System. if Server page open On different system and client page open deferent system then its not communicate(Its not Work Properly). any body have solotion of this problem... ans Link Which i follow:-</b> <a href="http://developer.apple.com/internet/webcontent/iframe.html">http://developer.apple.com/internet/webcontent/iframe.html</a>[<a href="http://developer.apple.com/internet/webcontent/iframe.html" target="_blank" title="New Window">^</a>] <div class="ForumSig">Piyush Vardhan Singh p_vardhan14@rediffmail.com http://holyschoolofvaranasi.blogspot.com http://holytravelsofvaranasi.blogspot.com </div></form>

      T Offline
      T Offline
      TheWirelessGuy
      wrote on last edited by
      #2

      Sounds like a "cross site scripting" problem, which is not allowed. See this article. It has information about this, including iframe usage. http://www.codeproject.com/KB/scripting/Cross_site_scripting.aspx[^]

      Steve

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups