CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Popup Window activated from a grid

Print topic Send  topic

Author Message
telmiger

Posts: 61
Posted: 04/16/2004, 1:36 PM

I have a grid and a record form.

By clicking on the record ID link in my grid I would like my Record form popup in a new window.

I tried to modify the javascript from the popup list example from the example package but I couldn’t get it to work.
My record ID url did not get transferred correctly to my record Window. It always comes up with the first recordID on the list.

It works if I use the _blank function in the format tab of the link properties, but then I do not know how to set the new Window properties. Size, scrollbar, menubar etc.

Any help would be appreciated.

Tony Elmiger
View profile  Send private message
RonB

Posts: 228
Posted: 04/17/2004, 6:45 AM

With a popup it's better to hand code and remember to use the brackes{ }

window.open('somepage.php?data_id={data_id}', etc etc

they {data_id} should be one of the components on your page. I often use a hidden field to do this.
View profile  Send private message
DonB
Posted: 04/17/2004, 7:23 PM

A couple of ideas:
http://www.gotodon.com/ccbth/features/kbase.asp?find=popup

--
DonB

http://www.gotodon.com/ccbth


"telmiger" <telmiger@forum.codecharge> wrote in message
news:2408043cacbff7@news.codecharge.com...
> I have a grid and a record form.
>
> By clicking on the record ID link in my grid I would like my Record form
popup
> in a new window.
>
> I tried to modify the javascript from the popup list example from the
example
> package but I couldn't get it to work.
> My record ID url did not get transferred correctly to my record Window. It
> always comes up with the first recordID on the list.
>
> It works if I use the _blank function in the format tab of the link
properties,
> but then I do not know how to set the new Window properties. Size,
scrollbar,
> menubar etc.
>
> Any help would be appreciated.
>
> Tony Elmiger
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

mamboBROWN


Posts: 1713
Posted: 05/20/2004, 8:00 AM

This information was very helpful. Thanks RonB:-)
View profile  Send private message
telmiger

Posts: 61
Posted: 08/25/2004, 9:19 AM

I downloaded a function written by Sixto from CCS Tutorial Foundry.

http://ccs.ath.cx/~ccs/kb.php?s_keyword=popup&event_id=...4&language_id=7

After installing the function no hand coding is necessay. You can enter the popup window configuration in the CCS Properties.It works so great that I went back and deleted all my handcoded popup links and created them with the above function.

Tony Elmiger
View profile  Send private message

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.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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