CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Popwindow for details

Print topic Send  topic

Author Message
Dunkie
Posted: 03/22/2004, 12:36 AM

Hi,

I'm looking for code to help me popup a window with client details from a list of names. I'm able to pop a window but it list everyone in the DB as opposed to just the one I selected (paramters not being passed).

I could achieve the same very easily in CC but now with CCS I'm having issues.

Any help most appreciated.

Cheers!
Dunkie
peterr


Posts: 5971
Posted: 03/22/2004, 1:06 AM

What is the URL of the pop-up window that is being displayed when you click on your link?

Also see similar discussion at http://forums.codecharge.com/posts.php?post_id=44404
Especially this screenshot

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
DonB
Posted: 03/22/2004, 6:28 AM

Try (temporarily) opening the popup window without suppressing the "address
bar" of the browser, then you can inspect and experiment with the query
parameters being passed to the popup. It really just sounds like they are
not being passed from the main window.

var win=window.open(strRef,"InfoPopup",
"left=400,top=10,width=400,status=no,toolbar=no,menubar=no,location=no,scrol
lbars=yes,resizable=yes");

Presumably you use something that looks like this to create the popup. I
put the complete URL (with query parameters) into strRef). You can set
"location=yes" to see the URL that the popup receives.

The details of how I do this is to create a Link control with the
appropriate parameter values, done in the conventional "CCS" way. But I add
an onclick event to it so that my javascript (above) executes instead of the
regular redirect that CCS would have done. The value of "strRef" is just
the ".Link" property of my Link control.

--
DonB

http://www.gotodon.com/ccbth


"Dunkie" <Dunkie@forum.codecharge> wrote in message
news:6405ea5941b496@news.codecharge.com...
> Hi,
>
> I'm looking for code to help me popup a window with client details from a
list of names. I'm able to pop a window but it list everyone in the DB as
opposed to just the one I selected (paramters not being passed).
>
> I could achieve the same very easily in CC but now with CCS I'm having
issues.
>
> Any help most appreciated.
>
> Cheers!
> Dunkie
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Dunkie
Posted: 03/23/2004, 6:08 AM

Hi Don,

I tried what you gave but I think I've hit a writers bloc.... below is the code snippet from my old CC application... any chance you can translate this one? coz I can't seem to get what TransitParams has been changed to in CCS :-(

++++++++++++++++++++++++++++++++++++++++++++++

<td class="DataTD"><a onclick="window.open('{details_URLLink}?enq_00id={Prmdetails_enq_00id}&{TransitParams}', 'sub', 'toolbar=no, directories=no, location=no, status=no, menubar=no, resizable=yes, scrollbars=no, HEIGHT=400, WIDTH=500, left=80, top=50'); return false" href="{details_URLLink}?enq_00id={Prmdetails_enq_00id}&{TransitParams}"><Font font class="DataFONT">{details}</font></a></td>

++++++++++++++++++++++++++++++++++++++++++++++

Regards,
Dunkie
DonB
Posted: 03/23/2004, 6:31 AM

Take a look at: http://GoToDon.com/ccbth/Features/Kbase.asp?find=popup

for info on how I do it in my apps.

--
DonB

http://www.gotodon.com/ccbth


"Dunkie" <Dunkie@forum.codecharge> wrote in message
news:6406044f18ccd6@news.codecharge.com...
> Hi Don,
>
> I tried what you gave but I think I've hit a writers bloc.... below is the
code snippet from my old CC application... any chance you can translate this
one? coz I can't seem to get what TransitParams has been changed to in CCS
:-(
>
> ++++++++++++++++++++++++++++++++++++++++++++++
>
> <td class="DataTD"><a
onclick="window.open('{details_URLLink}?enq_00id={Prmdetails_enq_00id}&{Tran
sitParams}', 'sub', 'toolbar=no, directories=no, location=no, status=no,
menubar=no, resizable=yes, scrollbars=no, HEIGHT=400, WIDTH=500, left=80,
top=50'); return false"
href="{details_URLLink}?enq_00id={Prmdetails_enq_00id}&{TransitParams}"><Fon
t font class="DataFONT">{details}</font></a></td>
>
> ++++++++++++++++++++++++++++++++++++++++++++++
>
> Regards,
> Dunkie
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.