This topic is locked
[SOLVED]

 Dashboard - Edit grid record

5/27/2019 9:48:13 PM
ASPRunner.NET General questions
M
Mack88 authorDevClub member

I have implemented a master-detail dashboard with each table configured as a grid. I have enabled "edit" and "add new" for the details grid. Clicking the edit icon in a detail record opens the edit form as a popup. I would rather open the form on a separate page. I can't figure out how to do this.
If anyone has a solution, I'd really appreciate them sharing it.
Thanks in advance,
Chris

D
DCherrington 5/28/2019

I do something similar here.
If you make sure that the list page settings are correct for the pages you include in your dashboard that should stop the popups. There is a "show in popup" section at the bottom right of the settings window - make sure that you unselect the appropriate boxes.
However, I believe this will load the edit page in the existing tab rather than start a new tab. Maybe you can set a click action to open the edit page in a new tab instead?

M
Mack88 authorDevClub member 5/31/2019

Thanks for your suggestion, Dave. The "show in popup" option is not selected in my case <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=87866&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />
Maybe there is code buried in the platform that forces the use of a pop-up in the dashboard?
As a workaround, I have used a click action on one of the displayed detail grid fields to open the edit form. Only thing with this is that the "back to list" opens the main list page, not the dashboard.

M
Mack88 authorDevClub member 5/31/2019

Got a better workaround, courtesy of FunkDaddy. At least I can resize the popup now and stay with the dashboard <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=87867&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

admin 5/31/2019

If you make user open that Edit page in a new window they will not know how to get back to the dashboard. This is why we are trying to keep everything on the same page while working with dashboards.
Maybe you can check 'Click actions' option if you want to perform a custom action like opening an edit page.
Check 'List page Click actions' at https://xlinesoft.com/asprunnernet/docs/list_page_setting.htm

M
Mack88 authorDevClub member 5/31/2019

Thanks for explaining the logic behind the popup edit on the dashboard, Sergey. I tried the click action but, as you say, you can't get back to the dashboard. FunkDaddy's script allows me to make the popup a reasonable size, and that it what I needed.
Maybe OOTB resizable popups would be a good enhancement to an already great product?
Cheers,
Chris