CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Pop-up List & Smart Lookup

Print topic Send  topic

Author Message
Rosario


Posts: 54
Posted: 04/18/2005, 7:50 AM

The Pop-up List & Smart Lookup direction is really Vauge, Important details are missing from the directions referring you to the example but that is not helpfull. Is there anywhare I can get a Step By Step how to on this subject?
View profile  Send private message
Nicole

Posts: 586
Posted: 04/19/2005, 2:10 AM

Rosario,
Each example created by YesSoftware includes description section that provides step by step description of the sample. Description of Pop Up list & Smart Look Up is available at http://examples.codecharge.com/ExamplePack/PopUpList/PopUpList_desc.php

_________________
Regards,
Nicole
View profile  Send private message
Rosario


Posts: 54
Posted: 04/19/2005, 5:34 AM

As I said, " Switch to HTML mode and add the OpenPop_UpList() JavaScript function as shown in the example". What Example? There is not a text example anywhere.
View profile  Send private message
peterr


Posts: 5971
Posted: 04/19/2005, 12:56 PM

The example is the one that you were looking at. Here is the online version of that example: http://examples.codecharge.com/ExamplePack/PopUpList/PopUpList.php
The same example is included in CCS Example Pack, with all necessary code. If it it works for you then the code is there.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Rosario


Posts: 54
Posted: 04/19/2005, 1:53 PM

It dose not, because the example code is confusing, and to me misleading thats why i am looking for a text version step by step. Im not a "seasoned programmer so picking out code with little direction is not my strong point.
View profile  Send private message
Nicole

Posts: 586
Posted: 04/20/2005, 12:48 AM

Rosario,
Please look at the description page of this sample once more
http://examples.codecharge.com/ExamplePack/PopUpList/PopUpList_desc.php
You’ll see that it provide clear step by step description how to re-create this example

_________________
Regards,
Nicole
View profile  Send private message
Rosario


Posts: 54
Posted: 04/20/2005, 5:09 AM

Yes, until it refer's you to "Add the appropriate programming code" And what exatly is that supposed to be?

Programming Notes
The Record form's Before Show event is used to lookup a manager's name based on the manager id.

The Record form' On Validate event is used to find a manager based on search criteria or display an error message if no record or more than one record is found.

The Grid form's Before Show event is used to hide the Navigator control is there are less than two pages of records to navigate.

The Grid form's Before Build Select event is used to modify the Where clause of the executed SQL statement to include any specified search criteria


There is no example of this other than the actual code, but im not one for ripping.

Am I not being clear on this? I almost feel like I am speaking anmother language. Very frustrating.
View profile  Send private message
Nicole

Posts: 586
Posted: 04/20/2005, 7:02 AM

The code mentioned in the example description is the code from PopUpList.html and PopUpList_events.php files.
_________________
Regards,
Nicole
View profile  Send private message
Rosario


Posts: 54
Posted: 04/20/2005, 8:33 AM

your not helping I GIVE UP:-(
View profile  Send private message
eiden


Posts: 34
Posted: 04/21/2005, 12:04 AM

How helpless are you Rosario????

If you read Nicole and peterrs' posts instead of just giving up, I'm sure you can setup the Pop-up List & Smart Lookup example on your page.



Read the "steps to recreate".
Look at the HTML source (to copy the javascript functions SetOpenerValue(),OpenPop_UpList()) from this link:
http://examples.codecharge.com/ExamplePack/PopUpList/PopUpList.php
View profile  Send private message
Rosario


Posts: 54
Posted: 04/21/2005, 9:47 AM

Just becuse YOU get it dosent mean everyone dose.
View profile  Send private message
peterr


Posts: 5971
Posted: 04/21/2005, 11:54 AM

Rosario,

Maybe you're just making it little more complex that it really is :-)
Look, the pop-up example is really nothing else but 2 Web pages. One web page contains a link ("Employees List") to another Web page. Standard stuff in CCS, right?
And the lookup page contains the Search and Grid forms - also standard stuff that CCS builders generate.

So the only things that make it "special" are:
1. Opening the 2nd page in a separate window.
You can view the HTML source at http://examples.codecharge.com/ExamplePack/PopUpList/PopUpList.php to see how this is done.
Or for simplicity purposes, change the link's HTML code to specify "target=popup".

2. Returning a value from 2nd page back to 1st page.
This is done with a simple JavaScript code that can also be seen in the HTML source of this page: http://examples.codecharge.com/ExamplePack/PopUpList/PopUpList_Window.php

Thus if you want to re-create this example, I recommend that you start with just creating 2 regular pages, with the 1st containing a link to the 2nd page, and the 2nd page being the Search&Grid page that would search records the way you'd want.

Once you have those 2 pages then you just need to edit the 1st page to include the "target=popup" attribute in your link, which is standard HTML described here: http://www.google.com/search?hl=en&q=html+link+target
Then copy the JavaScript from the 2nd page of the example into your own 2nd page.
If you get stuck you can ask some specific questions and hopefully will get help. I just don't think that anyone here will spend time to create more specific steps for each example. While even the most specific steps may not be enough for some, confusing for others, and unnecessary if you understand the above concept of 2 pages interacting with each other.

So give it a try ;-)
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Davis Tan
Posted: 05/06/2005, 10:35 AM

Maybe can incorporate such popups as a form component in CC - just add into the page and some properties (like popup date picker). Will really be a time saver.

Just my 2 cents :)
jm
Posted: 05/14/2005, 4:30 AM

Hi
I have try to follow the ex in the pop-up list but here is the issue
12 Switch to HTML mode and add the OpenPop_UpList() JavaScript function as shown in the example.

as in to were to incert the function is not clear or were is the example I can't find it can some please let me know were the above example is or were do you add the javascript function?
Thank you
peterr


Posts: 5971
Posted: 05/14/2005, 12:09 PM

The examples are in CodeCharge Studio. Here are the instructions on creating examples: http://docs.codecharge.com/studio/html/ProgrammingTechn...xamplePack.html
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.

Web Database

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.