foxontherock
Posts: 1
|
| Posted: 08/24/2010, 1:27 PM |
|
We are trying to convert our application to make all edit form modal. We created a simple grid/form using the wizard. We tried to put the list in 1 panel, then the form in a second panel, with the modalpopup property enabled, we set the begin event to the insert and edit of the list, but it does not work.
The form appears for a very small time, we see that the data is loaded, not sure if it is modal, and after, the "href" is executed so the modal disappear and the page is reloaded. What is the good way to create a simple list/form that open the form in a modal popup?
I tought it could be as easy as adding the modalpopup feature in a panel, but it seems more complicated.
Thank you.
|
 |
 |
CodeChargeMVP
Posts: 473
|
| Posted: 09/17/2010, 8:48 AM |
|
I´ve create lots of columns on a grid called detail or edit with value + or * so when the user
clicks on one of this buttoms a pop-up window appears with the full info from that transfer or
whatever you want be there, I remind there was a very good example on main page from
I learned to use the function SetOpenerValue() (by sending values from modal pop-up window
to parent window or for example to change the url when closing pop-up window) or the
function OpenPop_UpList() which is the want who creates the pop-up window,
i´ve been picking up the site but I haven´t find those examples,
anyways you can download examples package and check the examples with code
and everything, this and some good javascript theory lessons should be more than enough.
Quote foxontherock:
We are trying to convert our application to make all edit form modal. We created a simple grid/form using the wizard. We tried to put the list in 1 panel, then the form in a second panel, with the modalpopup property enabled, we set the begin event to the insert and edit of the list, but it does not work.
The form appears for a very small time, we see that the data is loaded, not sure if it is modal, and after, the "href" is executed so the modal disappear and the page is reloaded. What is the good way to create a simple list/form that open the form in a modal popup?
I tought it could be as easy as adding the modalpopup feature in a panel, but it seems more complicated.
Thank you.
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
quasimidi
Posts: 151
|
| Posted: 09/17/2010, 12:09 PM |
|
I think this blog might be useful for this!
http://starikovs.com/2010/08/28/ajax-editing-ccs/
_________________
RS |
 |
 |
CodeChargeMVP
Posts: 473
|
| Posted: 09/23/2010, 6:56 AM |
|
http://examples.codecharge.com
This is also useful:
http://forums.codecharge.com/posts.php?post_id=111778
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
smith111
Posts: 3
|
| Posted: 10/15/2010, 10:25 PM |
|
Nice post.
_________________
ES |
 |
 |
|