John Sourcer
22 Jun 2007, 3:42 AM
Hi All,
I have a form in a dialog which is trggered by a click on a grids row. All works well BUT if I click on another row to launch the dialog again, the form repeats itself. I presume this is because I am re-adding the form to the dialog. How do I stop this. Can you remove a form?
I have tried a check if exists syntax:
if (!myform)
But this seems to have no effect!
I have a form in a dialog which is trggered by a click on a grids row. All works well BUT if I click on another row to launch the dialog again, the form repeats itself. I presume this is because I am re-adding the form to the dialog. How do I stop this. Can you remove a form?
I have tried a check if exists syntax:
if (!myform)
But this seems to have no effect!