Focal Point
[CLOSED] Reset button- calendar control

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/959106654

June 02, 2010, 02:32 PM
subbu
[CLOSED] Reset button- calendar control
When we take html reset button control, all with webFocus calendar control
On clicking on the reset bottom then calendar control popup is not closing and that still showing popup window


My requirement is when ever I clicking on there reset bottom the calendar pop window should be closed.

plz Help me to solve the issue

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.10
Windows
Output: Excel,PDF
June 02, 2010, 06:28 PM
Waz
Perhaps instead of using a Reset button, type="reset", call a javascript function to check the calendar controls, then call documnet.{form}.reset();.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

June 03, 2010, 03:38 AM
subbu
Can u help me how to check whether the canlender color pop up is opened or not

Or
if it is opened what calendar functions should I conisder to explicitly close if is opened

Thanks!


WebFOCUS 7.6.10
Windows
Output: Excel,PDF
June 03, 2010, 05:48 PM
Waz
I've just tested the calendar control and the reset button in IE6, FireFox, Chrome and Safari, and when I clicked on the reset button it closed.

Is it a real reset button ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

June 04, 2010, 08:31 AM
Anmol
Yes..I Have also tested the reset button, and it is properly closing the calendar popup on clicking on Reset button...

Anmol


WebFocus7.6.2, WebFocus 7.1.1,Windows
HTML, PDF and Excel
June 06, 2010, 05:43 PM
Waz
Could you post your code, as all I have tested works OK.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!