pdating parent window from popup....

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default pdating parent window from popup....

    hi All:
    This is the situaton..
    I have a treeview with nodes in an aspx page. The node data is coming from
    DB. when i select a node and click add button, a pop up screen is ahown
    where the user enters childnode information. the pop up has a save button
    and when the user clicks save, the data gets saved in DB. Popup also has a
    close button, clicking which closes the screen..

    My Problem: When i close the popup, how can i refresh the tree view with the
    child node data added in the popup..?

    Any examlpe/ideas/suggestion/pointer will be appreciated...

    TIA,
    -sri


    sri Guest

  2. Similar Questions and Discussions

    1. updating an iframe in parent doc from a popup
      I need to update an iframe contained in a parent doc from within a popup window created from the same parent document. The parent doc (1.cfm): ...
    2. popup back to parent
      How can I open a link from a popup window with a flash animation in it (this animaties contains the link) in the the parent frame that has opened...
    3. can a popup window return data to parent window?
      Is it possible to do the following in php: I want to have a main form open. In the form I want a button that will open a popup window so the user...
    4. Updating parent window from popup
      Im relatively new, so please be patient with me... I need to update a parent .aspx screen from a popup and close the popup. Normally I would use...
    5. Refresh Parent window from child window causes problems
      Hi All, I have a problem with trying to refresh the parent window from child window in order to update data in the parent window. The sequence...
  3. #2

    Default Re: pdating parent window from popup....

    sri,

    I have some samples of this code on my website, [url]www.aboutfortunate.com[/url]. Just
    search the code library for: "refresh parent from popup"

    If you have any questions about utilizing it feel free to email me. I've
    done this in three different .Net applications so far and it works very
    well!

    Sincerely,

    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:
    [url]www.aboutfortunate.com[/url]

    "Out of chaos comes order."
    Nietzche


    "sri" <srinetus@nospam.yahoo.com> wrote in message
    news:OSALyxPXDHA.2464@TK2MSFTNGP09.phx.gbl...
    > hi All:
    > This is the situaton..
    > I have a treeview with nodes in an aspx page. The node data is coming from
    > DB. when i select a node and click add button, a pop up screen is ahown
    > where the user enters childnode information. the pop up has a save button
    > and when the user clicks save, the data gets saved in DB. Popup also has a
    > close button, clicking which closes the screen..
    >
    > My Problem: When i close the popup, how can i refresh the tree view with
    the
    > child node data added in the popup..?
    >
    > Any examlpe/ideas/suggestion/pointer will be appreciated...
    >
    > TIA,
    > -sri
    >
    >

    S. Justin Gengo Guest

  4. #3

    Default Re: pdating parent window from popup....

    Thanks Justin.
    Just saw your code..I havent yet tried it..one thing i missed to mention
    is..this popup is coming from another popup screen...(this is the way the
    end user wants it..!) with attirbutes like
    Response.Write("<script
    language=javascript>window.open('Addcontent.aspx', 'AddStreamComp','height=69
    5,width=750,top=80,left=150,status=yes,toolbar=no, menubar=no,location=no,res
    izable=yes,scrollbars=yes')</script>")

    so the tree view screen is a popup with similar window attributes. and from
    this screen i am opening one more popup. From this screen i need to be able
    to update tree view...
    so where do i put this javascript function..?


    "S. Justin Gengo" <sjgengo@aboutfortunate.com> wrote in message
    news:#udXyzPXDHA.536@TK2MSFTNGP10.phx.gbl...
    > sri,
    >
    > I have some samples of this code on my website, [url]www.aboutfortunate.com[/url].
    Just
    > search the code library for: "refresh parent from popup"
    >
    > If you have any questions about utilizing it feel free to email me. I've
    > done this in three different .Net applications so far and it works very
    > well!
    >
    > Sincerely,
    >
    > --
    > S. Justin Gengo, MCP
    > Web Developer
    >
    > Free code library at:
    > [url]www.aboutfortunate.com[/url]
    >
    > "Out of chaos comes order."
    > Nietzche
    >
    >
    > "sri" <srinetus@nospam.yahoo.com> wrote in message
    > news:OSALyxPXDHA.2464@TK2MSFTNGP09.phx.gbl...
    > > hi All:
    > > This is the situaton..
    > > I have a treeview with nodes in an aspx page. The node data is coming
    from
    > > DB. when i select a node and click add button, a pop up screen is ahown
    > > where the user enters childnode information. the pop up has a save
    button
    > > and when the user clicks save, the data gets saved in DB. Popup also has
    a
    > > close button, clicking which closes the screen..
    > >
    > > My Problem: When i close the popup, how can i refresh the tree view with
    > the
    > > child node data added in the popup..?
    > >
    > > Any examlpe/ideas/suggestion/pointer will be appreciated...
    > >
    > > TIA,
    > > -sri
    > >
    > >
    >
    >

    sri Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139