jquery UI dialog internal use of ASP.

Source: Internet
Author: User

dialog, just add

AppendTo: "Form",

The backend could not get the value of the ASP.

true,

The dialog box cannot be manipulated when the modal dialog box is started.

jquery UI Dialog code:

$ (document). Ready (function () {$ ("#dialog"). dialog ({autoOpen:true, AppendTo:"form", Height: -, Width: -, modal:true, buttons: {OK: function () {$ ("#btnCM"). Click (); }, Cancel: function () {$ ( This). Dialog ("Close" );    }            }        }); });

div Code:

<DivID= "Dialog"title= "Choose the practice Plane"><PAlign= "Center"       <Asp:textboxID= "Txta"runat= "Server"></Asp:textbox></P></Div>

Or you can use

$ ("#dialog"). Dialog (). Parent (). AppendTo ($ ("Form:first"));

You can resolve the problem that the backend gets the control value, but not the modal dialog box.

JQuery UI dialog internal use of ASP.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.