floating div and asp

Discussion in 'C#' started by observer91, Dec 29, 2009.

  1. #1
    I do have a floating div that open as a window. The code executes an asp script. Is there a way the target to be the floating div. Any help will be appreciated.
     
    observer91, Dec 29, 2009 IP
  2. rkstech

    rkstech Active Member

    Messages:
    195
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    73
    #2
    Can you please provide some code to show an example
     
    rkstech, Dec 30, 2009 IP
  3. observer91

    observer91 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for your reply. To make things simple I do have an html page say script and within a hidden div width id="win".
    I "open" and display the floating and dimming div via a call to displayFloatingDiv('win,Title,width,height,left,top). Now the div contains
    an asp script. If a set the target to "_self" I get the response back ok but it replaces also the underlying html page. What I would like is to route the response to the div without losing the underlying html page. Is there any way to do that?
    Thanks
     
    observer91, Dec 31, 2009 IP
  4. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #4
    AJAX... or use an IFRAME. You can use the built-in ajax controls of asp.net or you can code it yourself in javascript. If you show the code it would help a lot...
     
    camjohnson95, Jan 3, 2010 IP