Mammer
|
| Posted: 05/19/2002, 7:58 AM |
|
How can I build a modal form that contains a grid using CC2? I have a record form that contains a text field called "Account". I want a button on the record form to open a modal window containing a grid form that lists the available accounts which can be sorted and searched. When the user clicks on the desired account in the grid from, I want that value passed back to the record form's "Account" field. I know how to build this with a modaless window containing a grid form, but not using a modal window.
|
|
|
 |
Nicole
|
| Posted: 05/21/2002, 12:36 AM |
|
Hello,
you should add custom JavaScript code that will open CCS page in new window.
And custom code that will return selected value to parent window. I think that following article could help you: http://www.gotocode.com/art.asp?art_id=146&
|
|
|
 |
Mammer
|
| Posted: 05/21/2002, 7:47 AM |
|
Thank you Nicole for your suggestion. My problem is making the new page a modal window. The article you referenced is very helpful, but does not offer any help making the form modal. I have found some resources that suggest using javascript to open a window using the showModalDialog function which only works with Internet Explorer.
|
|
|
 |
Nicole
|
| Posted: 05/21/2002, 11:50 PM |
|
Mammer,
try to search for ready JavaScript code on the web. Visit http://www.hotscripts.com/ and http://www.faqts.com/
|
|
|
 |
|