pdating parent window from popup....

  • Thread starter Thread starter sri
  • Start date Start date
S

sri

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,

I have some samples of this code on my website, www.aboutfortunate.com. 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:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
 
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..?
 
Back
Top