PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → [WB23] Issue with Cell control
[WB23] Issue with Cell control
Débuté par ARV, 26 juil. 2018 19:03 - 4 réponses
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 26 juillet 2018 - 19:03
Hi

On my page I want to show the cell control with CellDisplayDialog, the problem is that it works but suddenly hide for no reason at all. I don't know why

the function have some sort of error or warning like:

"CellDisplayDialog was used in an event that runs a server action. If the event is not interrupted, the page will be returned to the server and the function will have no effect."

Please help!

--
Best Regards
Jose
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 26 juillet 2018 - 19:30
Hi

Also in this cell I created I only have two items an image with a gif an a button with CellCloseDialog on it and still have this problem.

Thanks

--
Best Regards
Jose
Posté le 27 juillet 2018 - 14:00
Hi Jose,

your question seem to show that you currently don't understand what is
happening when and where in webdev. So I suggest that before doing
anything else, you take the time to watch my free video courses on
webdev, and start by the one called web development philosophy. They are
available here:



That said, in this specific case, the error message is pretty much self
explanatory... I'm just going to try and rephrase it:

> "CellDisplayDialog was used in an event that runs a server action.

Your cell displaydialog is a BROWSER function. However, the button or
link where you are calling it also has a SERVER SIDE code area (empty or
not, does NOT matter). This server code area is ACTIVE (as defined in
the first tab of the properties of the button/link).


> If the event is not interrupted, the page will be returned to the
server and the function will have no effect."

So if the server code runs correctly, the page is going to be refreshed.
Therefore, you cell will appear, and then the original page will be
redisplayed WITHOUT the cell (because the celldisplaydialog is not run
again)

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Free Video Courses, free WXShowroom.com, open source WXReplication, open
source WXEDM.

More information on http://www.fabriceharari.com



On 7/26/2018 11:03 AM, Jose wrote:
Hi

On my page I want to show the cell control with CellDisplayDialog, the
problem is that it works but suddenly hide for no reason at all. I don't
know why

the function have some sort of error or warning like:


Please help!

--
Best Regards
Jose
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 27 juillet 2018 - 15:46
Hi Fabrice

I see sorry... I need to actived AJAX I thought that if I let the event blank it will have no effect on my browse but I was wrong my mind was block and I didn't remember that the AJAX it was not enabled Thanks for your help I need to search more and study more this Webdev things.

also I can't see any link or video on your comment:





--
Best Regards
Jose
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 27 juillet 2018 - 15:52
Hi

I see on your website and found the videos thanks I will check them out!

Thanks!

--
Best Regards
Jose