Professional Web Applications Themes

pdating parent window from popup.... - ASP.NET General

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 ...

  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. #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" <srinetusnospam.> wrote in message
    news:OSALyxPXDHA.2464TK2MSFTNGP09.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

  3. #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" <sjgengoaboutfortunate.com> wrote in message
    news:#udXyzPXDHA.536TK2MSFTNGP10.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" <srinetusnospam.> wrote in message
    > news:OSALyxPXDHA.2464TK2MSFTNGP09.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

Similar Threads

  1. Setting a popup window's base target to caller window?
    By saf_123 in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: July 6th, 11:01 AM
  2. popup back to parent
    By Marc De Coster in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: December 23rd, 02:32 AM
  3. can a popup window return data to parent window?
    By nadia in forum PHP Development
    Replies: 3
    Last Post: September 25th, 08:05 PM
  4. Updating parent window from popup
    By mkobus in forum ASP.NET General
    Replies: 6
    Last Post: July 25th, 10:15 AM
  5. Replies: 2
    Last Post: June 30th, 06:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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