Select to view content in your preferred language

What is the function to close the window FeatureDataForm?

813
4
Jump to solution
07-19-2012 02:46 AM
FabienNAPPA
Regular Contributor
Hi,

I added a Cancel button in FeatureDataForm.

But I do not know how to close the window (Form) !

Thank's,
Fabiano
0 Kudos
1 Solution

Accepted Solutions
JoeHershman
MVP Alum
Hi,

Thank you for your response.

But, how to remove the parent container after pressing the button "Apply" ?

Thank's
Fabiano


FeatureDataForm has an EditEnded event which fires after the Apply button is clicked and the edit is applied.  Add a handler for the event and close the form there.

Good Luck
Thanks,
-Joe

View solution in original post

0 Kudos
4 Replies
JoeHershman
MVP Alum
Just like any other user control set the Visibility to Visibility.Collapsed.  You might want to do it with the parent container of the actual FeatureDataForm
Thanks,
-Joe
0 Kudos
FabienNAPPA
Regular Contributor
Hi,

Thank you for your response.

But, how to remove the parent container after pressing the button "Apply" ?

Thank's
Fabiano
0 Kudos
JoeHershman
MVP Alum
Hi,

Thank you for your response.

But, how to remove the parent container after pressing the button "Apply" ?

Thank's
Fabiano


FeatureDataForm has an EditEnded event which fires after the Apply button is clicked and the edit is applied.  Add a handler for the event and close the form there.

Good Luck
Thanks,
-Joe
0 Kudos
FabienNAPPA
Regular Contributor
It's working.

Thank you very much.
0 Kudos