How to close the popup window in wpf using MVVM?

Posted by Vpmanoharan under WPF on 9/17/2014 | Points: 10 | Views : 5619 | Status : [Member] | Replies : 2
Hi,

I created to 2 usercontrol for parent,child and one mainwindow. I refer the child window inside the popup control of parent window.In parent window i try to click the button popup window display.
Now i want close the popup window,when i try the click the childwindow submit button.Please help me.




Responses

Posted by: Naveenhcl on: 9/17/2014 [Member] Starter | Points: 25

Up
0
Down
Hi,

If you want to close the popup window then use simple jquery script.

function closeDialog() {
$("#dialog").dialog("close");
}


and call this function while closing time.

Vpmanoharan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Goud.Kv on: 9/18/2014 [Member] [MVP] Gold | Points: 25

Up
0
Down
Hello Manohar,

Below video tutorial might helps you... Please go with that,
http://www.dotnetfunda.com/videos/show/313/wpf-mvvm-step-by-step-windows-presentation-foundation

Thanks & Regards,
Krishna

Vpmanoharan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response