473,434 Members | 1,500 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

how to take a data from one window to another

I have a aspx file which contains a listbox and text box, the functionality
what i need here is, when i click that button, a window will opened and it
will show lot of
details with the checkboxes, and user will select appropriate checkboxes and
presses the close button. once the close button is clicked the data (value
of the checkbox) which is selected should get returned to the parent page.

Iam doing my first project in asp.net, iam facing lot of problem in doing
this i want to know which is the right way to implement this one.

plz. suggest me!

Thanks in advance
Vadivel Kumar
Nov 19 '05 #1
3 1059
take a look at thi
http://msdn.microsoft.com/library/de...odaldialog.asp
This will clearly explain to you everything you need to know to do what you
are trying to do.
Do post any queries you might have if you are not able to achieve results.
P.S : Is this post helped you, please click 'Yes' on top of this post
Hth...
R. Thomas

"Vadivel Kumar" wrote:
I have a aspx file which contains a listbox and text box, the functionality
what i need here is, when i click that button, a window will opened and it
will show lot of
details with the checkboxes, and user will select appropriate checkboxes and
presses the close button. once the close button is clicked the data (value
of the checkbox) which is selected should get returned to the parent page.

Iam doing my first project in asp.net, iam facing lot of problem in doing
this i want to know which is the right way to implement this one.

plz. suggest me!

Thanks in advance
Vadivel Kumar

Nov 19 '05 #2
Vladivel,

To open another modal window you need to make a javascript call to showModalDialog
method. That is simple. The tricky part is how to pass back values of many
checkboxes. The easiest way is to create an DHTML object as store the values
you want to pass back in it as properties. Then you can pass the object in
returnValue property.

Eliyahu
I have a aspx file which contains a listbox and text box, the
functionality
what i need here is, when i click that button, a window will opened
and it
will show lot of
details with the checkboxes, and user will select appropriate
checkboxes and
presses the close button. once the close button is clicked the data
(value
of the checkbox) which is selected should get returned to the parent
page.
Iam doing my first project in asp.net, iam facing lot of problem in
doing this i want to know which is the right way to implement this
one.

plz. suggest me!

Thanks in advance
Vadivel Kumar

Nov 19 '05 #3
Can you give me some example on this ?
My only problem is i can't read the data
of a text box or what ever it is thru my javascript
code, iam sure that javascript code is perfect. I doubt
the forms are declared as runat server, so it is not
able to identify the form.

Thanks in Advance
Vadivel Kumar

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:26********************@msnews.microsoft.com.. .
Vladivel,

To open another modal window you need to make a javascript call to showModalDialog method. That is simple. The tricky part is how to pass back values of many
checkboxes. The easiest way is to create an DHTML object as store the values you want to pass back in it as properties. Then you can pass the object in
returnValue property.

Eliyahu
I have a aspx file which contains a listbox and text box, the
functionality
what i need here is, when i click that button, a window will opened
and it
will show lot of
details with the checkboxes, and user will select appropriate
checkboxes and
presses the close button. once the close button is clicked the data
(value
of the checkbox) which is selected should get returned to the parent
page.
Iam doing my first project in asp.net, iam facing lot of problem in
doing this i want to know which is the right way to implement this
one.

plz. suggest me!

Thanks in advance
Vadivel Kumar


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Simon Wigzell | last post by:
Is there any way to create and open a window in javascript so that links in other websites won't "steal" it? I've written a web page with a form for people to enter headlines and URLs from...
5
by: NK | last post by:
Hi, We have a webpage that has a form available on the intranet. A user will have a window open that runs a different application open. When the user accesses the webpage and clicks a button we...
9
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
0
by: Daniel Bass | last post by:
I create a pop up by generating a script, where in i call window.open(....) and call RegisterClientScriptBlock from the code behind so that the client side script is generated and calls my new pop...
2
by: Cheryl | last post by:
Hi, I have encounter a problem.Language use is C#. I would like to open a new window (is a modal window, where I m not able to switch from parent window after this window is open)from the parent...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
2
by: Mux | last post by:
I am facing the following problem while exporting data to Word. The current implementation is as described below: I have a JSP file which has a link that enables you to export the data to Word....
1
by: Visitbazaar Info | last post by:
-- Internet - Take Advantage of Multiple Windows When Surfing SUMMARY: Stop jumping back and forth between index pages by using several browser windows. Why use one web browser window when...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.