Displaying Edit Page In Popup |
5/28/2013 10:56:40 AM |
PHPRunner General questions | |
S
Suety29 author
Hi All,
|
|
![]() |
Sergey Kornilov admin 5/28/2013 |
You definitely need to pass record id to this Edit() function. |
S
|
Suety29 author 5/29/2013 |
You definitely need to pass record id to this Edit() function. Details depend on how you implemented a call to this Edit() function in your application. I suggest to check example #6 at http://xlinesoft.com/phprunner/docs/inserting_button.htm. This example applies to both View page and button added right to the grid on the List page.
|
![]() |
Sergey Kornilov admin 5/29/2013 |
Not quite sure I understand it. The example you posted displays page in popup. Are you saying it suddenly started redirecting you to the Edit page instead of opening it in popup? |
S
|
Suety29 author 5/29/2013 |
Not quite sure I understand it. The example you posted displays page in popup. Are you saying it suddenly started redirecting you to the Edit page instead of opening it in popup?
|
![]() |
Sergey Kornilov admin 5/29/2013 |
Your ClientAfter code is incorrect for this task. You need to use the code from your first post in order to open the page in popup. The code you use now is in fact will redirect user to the Edit page. |
S
|
Suety29 author 5/29/2013 |
Your ClientAfter code is incorrect for this task. You need to use the code from your first post in order to open the page in popup. The code you use now is in fact will redirect user to the Edit page.
|
S
|
stiven 5/31/2013 |
Are you calling the Edit() function with an onclick event? if so just include the id in the parameters of the function...
|