pop up page in the user control

P

Pesani

Hi experts,

I have to create a user control contains a link ADD. If i click on ADD link
one pop up page has to open, this page contains the fields like name, date,
subject and comments after filling these fields and i have to click on submit
button. After submit the pop up page has to get close and the entered
information has to display in the control like date and subject(link). If i
click on subject link the same pop up page has to open to edit the existing
information.

This is similar to our news group kind of thing......

Can any one help me on this how to do.........

Thankx in advance.....

pesani....
 
Q

quaester

You'll have to use client side script, (eg javascript) to achieve this.
First, you'll need to construct a page with all the fields that you want,
say popform.htm.
And on your control, put the event onclick to open up a new window using
javascript (aka. windows.open(..) )
In your popform, write javascript to write back to value to the opening form
(using windows.opener).
Hope this will give you some insight to start off.
I'm not sure there's any "server-side" or asp.net builtin way to do this, so
far not that I know of.
 
P

Pesani

Thanks quaester for your suggestion...but iam looking for asp.net & vb.net
code logic..opening a pop up is fine. But how to communicate from pup up
page(.aspx) to user control(.ascx) page....

is any body come across this kind of situation....if yes...please comment
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top