Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 select from other page

Author  Topic 

jhermiz

3564 Posts

Posted - 2004-11-08 : 11:37:31
I have lets say one page main.aspx...
if I click on a link it opens this other page main2.aspx.
I want to be able to click an item in main2.aspx and have it close and enter that item into a control on main.aspx...

Kinda like a popup where some sort of list comes out in another page and u click on it and it places it back to the main.aspx.

Is this possible?

DustinMichaels
Constraint Violating Yak Guru

464 Posts

Posted - 2004-11-08 : 11:44:20
You would have to use javascript for this to work.
Go to Top of Page

jhermiz

3564 Posts

Posted - 2004-11-08 : 11:46:11
quote:
Originally posted by DustinMichaels

You would have to use javascript for this to work.





Somehow I knew that was gonna happen...

I dont know oto much JS..can someone please provide help with this.

Thanks,
Jon
Go to Top of Page

MichaelP
Jedi Yak

2489 Posts

Posted - 2004-11-08 : 12:21:01
I can help with this. There are a few different ways to handle this, so if you can give some more details or post some sort of sample I cna help ya.

If you want to try to figure this out on your own, look into showModalDialog() or window.parent.document.controlid.value = ''

Michael

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/showmodaldialog.asp

<Yoda>Use the Search page you must. Find the answer you will.</Yoda>
Go to Top of Page

jhermiz

3564 Posts

Posted - 2004-11-08 : 14:58:33
Hi Mike,

Thanks for the link I will take it from here.

Jon
Go to Top of Page
   

- Advertisement -