Show Dialog box programmatically in SharePoint 2013

Show Dialog box programmatically in SharePoint 2013

What are we trying to achieve

Programmatically show Dialog box / Popups in SharePoint 2013 with custom code / C#.
In this post, we will be building two types of dialog boxes.
In the first type, clicking on the “OK” button refreshes the page. This is useful in situations where we are displaying a process complete message or in similar situations.
In the second type, clicking on the “OK” button redirects you to a different page. This can be used in situations where a confirmation needs to be taken etc..

read more