|  10.12.2009, 15:05 | #1 | 
| Участник | Fred Shen: Use ScriptManager to close the EP page window 
			
			Источник: http://fredshen.spaces.live.com/Blog...E4E3!393.entry ============== Using RegisterStartupScript we can write a JavaScript function in code behind and call it from code-behind. For example, to close a page window, we can use the following code in .cs file: protected void Button1_Click(object sender, EventArgs e) { … string closeWindowScript= "window.close()"; ScriptManager.RegisterStartupScript(this, typeof(string), "CLOSE_WINDOW", closeWindowScript, true); } Hope it helps. Источник: http://fredshen.spaces.live.com/Blog...E4E3!393.entry 
				__________________ Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. | 
|  |