Home > Net >  Asp.Net using bootstrap modal modal in the pop-up box on the box
Asp.Net using bootstrap modal modal in the pop-up box on the box

Time:10-07

Need on the first layer of the modal dialog click on the button in the open a modal dialog

The first layer of the modal dialog can be normal open, using this method

The code is as follows:
Background:
Button click event
Iframe_frm_WarehouseAddEdit. Src="https://bbs.csdn.net/DevelopmentFrameWorkForm/frm_WarehouseAddEdit.aspx";

DFWP_Alert. ExecuteAjax (UP, enclosing GetType (), "prompt", "ShowForm (' m_WarehouseAddEdit ')");

Front desk:



In the background to invoke this method
The function ShowForm (_Modal_ID) {
$(" # "+ _Modal_ID +" "). The modal ({
Backdrop: 'static',//click on the blank is not closed
The rid_device_info_keyboard: false//press keyboard esc will not shut down

});
}


This opened the first layer of the modal dialog

Want to use the same method to open the second modal dialog call ShowForm unable to open

What is missing for bosses solve!

Best can and my methods of similar can say the detailed point, genuflect is begged


CodePudding user response:

You said order button to open the modal boxes, button is in your iframe, you iframe with showform function on that page?

CodePudding user response:

Button is a server control a button on the top of the code is the code in the button click event opened the modal dialog for the first time to use the above showform can open in open mode box to point in the same way a button called showform won't open

CodePudding user response:

Stick your code is complete,
  • Related