Ask a Question related to ASP.NET General, Design and Development.
-
LIN #1
Popup - Sending back values
Hi,
I'm developing a website using ASP.NET. I have a calendar control which
popups when the user clicks on "Show Calendar" button.
Now, he selects two date. From and to date from the calendar. And there is
an "apply" button which should send back the date values to the ASP page.
How can i achieve this, i'm not sure how to send back the data from the pop
to that particular window.
ideas please.
thank you
LIN
LIN Guest
-
pages being lost when sending back from review
Hi, We seem to be having a bit of a problem with some of our users. All users are able to send pages for review with no problems. If they are... -
Sending dragable MC's to the back
Folks, your help as ever, apreciated. I have a little app I'm building that has a pop up palette, the user then drags elements off here onto the... -
sending values of variables to PHP
test l=New Loadvars(); l.var=text; l.Send("script.php"); -
popup back to parent
How can I open a link from a popup window with a flash animation in it (this animaties contains the link) in the the parent frame that has opened... -
sending values in textbox
Hi I want to be able to send the vlaues that a user enters in a couple of input fields. However, my register_globals is set to off. So how do I... -
Ken Dopierala Jr. #2
Re: Popup - Sending back values
Hi,
Take a look at using "opener" in your Javascript. i.e.
opener.parent.document.Form1.myvariable.value = "date". I'm not sure of the
exact syntax but if you do a search on Google using "javascript
opener.parent" you should find something. Good luck. Ken.
"LIN" <junkvaluesnotallowed@football.com> wrote in message
news:%2321oqgFSDHA.2248@TK2MSFTNGP11.phx.gbl...pop> Hi,
>
> I'm developing a website using ASP.NET. I have a calendar control which
> popups when the user clicks on "Show Calendar" button.
>
> Now, he selects two date. From and to date from the calendar. And there is
> an "apply" button which should send back the date values to the ASP page.
>
> How can i achieve this, i'm not sure how to send back the data from the> to that particular window.
>
> ideas please.
>
> thank you
> LIN
>
>
Ken Dopierala Jr. Guest
-
Natty Gur #3
Re: Popup - Sending back values
Hi,
in addition to Kens replay, if you use ShowModalDialog then set the
value on the calander using Window.Returnvalue. this value will return
to the variable in the calling page.
<CODE>
//calling page
var RetVal = ShowModalDialog(Calendar.aspx);
//calendar page
window.returnValue = "12/2/03";
</CODE>
Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114
Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377
Know the overall picture
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest



Reply With Quote

