Hi Amsath,
thanks for your update,
i have some problems with my window-controller, after clicking the save button the window should close, but it doesnt. i dont know whats is wrong with code.
Hier is my code
protected void Save_btn_click(object sender, EventArgs e)
{
// Saving diagram.
string AppPath = Server.MapPath(string.Empty);
DiagramWebControl1.SaveBinaryDocument(AppPath + "\\" + tbSaveFileName.Text);
// Saving diagram locally.
string filepath = AppPath + "\\" + tbSaveFileName.Text;
HttpContext.Current.Response.ContentType = "application/octet-stream";
HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment; filename=" + tbSaveFileName.Text);
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.WriteFile(filepath);
HttpContext.Current.Response.End();
}