Topic for Modal Windows (ShowModalDialog)!

xiaoxiao2021-03-06  92

1. Open the modal window, Model Window Open2. Turn off the Model Window Close3. Mode window passing parameters, Model Window Get Valuse4. Other ...., Other ..

1.window.showModalDialog ( "DialogPage.aspx", "newwin", "dialogHeight: 200px; dialogWidth: 150px; dialogTop: 458px; dialogLeft: 166px; edge: Raised; center: Yes; help: Yes; resizable: Yes; status : Yes; ");

2.Window.close ();

3. Passage PARENTPAGE.ASPX: WINDOW.SHOWMODALDIALOG ("DIALOGPAGE.ASPX? Para1 = AAA & PARA2 = BBB");

Dialogpage.aspx: string str1 = request.queryString ["para1"]. TOSTRING (); string str2 = request.queryString ["para2"]. Tostring ();

Return Value Dialogpage.ASPX: Window.ReturnValue = "AAA";

PARENTPAGE.ASPX: Var str = WINDOW.SHOWMODALDIALOG ("DILOGPAGE.ASPX");

4.ASPX page In ShowModeldialog Why is you submit? Add a page in ShowModalDialog to join the page in :

转载请注明原文地址:https://www.9cbs.com/read-123225.html

New Post(0)