2, Simple Interactive dialog box

Source: Internet
Author: User

650) this.width=650; "title=" 12312312312 let people. png "src=" http://s3.51cto.com/wyfs02/M00/57/A2/ Wkiol1shbgesozb-aadaw7j4p9y556.jpg "alt=" Wkiol1shbgesozb-aadaw7j4p9y556.jpg "/>

-----Backstage

Using system;using system.collections.generic;using system.linq;using system.web;using  system.web.ui;using system.web.ui.webcontrols;public partial class _2_ Simple Interactive dialog box _ Default : system.web.ui.page{    protected void page_load (object  Sender, eventargs e)     {    }     Protected void button1_click (object sender, eventargs e)     {         showdialog ("delete succeeded");    }     /// <summary>    ///  Popup Mode 1 (Service side button)     ///  </summary>    /// <param name= "MSG" > Popup content (required) </param>     /// <param name= "Asyn" >true Ajax mode (optional) </param>     /// <param name= "Key">key value (optional) </param>    public void showdialog (string msg,string  icon= "", bool asyn = false, string key =  "")      {        string dialog = string. Format ("Art.dialog.alert (' {0} ', ' {1} ')",  msg, icon);         if  (!asyn)              Clientscript.registerstartupscript (this. GetType (),  key, dialog, true);        else             scriptmanager.registerclientscriptblock (this. Page, typeof (String),  key, dialog, true);     }   }

-----Front Desk

<%@ page language= "C #"  autoeventwireup= "true"  codefile= "Default.aspx.cs"  inherits= "_2_ Simple Interactive dialog box _default"  %><! doctype html public  "-//w3c//dtd xhtml 1.0 transitional//en"   "HTTP// Www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">

----DOME1

650) this.width=650; "title=" Sogou 20141226180953.png "src=" http://s3.51cto.com/wyfs02/M02/57/A2/ Wkiol1shbuxbon26aabxfwmbuvo410.jpg "alt=" Wkiol1shbuxbon26aabxfwmbuvo410.jpg "/>

----dome2

650) this.width=650; "title=" Sogou 20141226181005.png "src=" http://s3.51cto.com/wyfs02/M00/57/A2/ Wkiol1shbvxyaajbaabdkqiggf0265.jpg "alt=" Wkiol1shbvxyaajbaabdkqiggf0265.jpg "/>

----Dome3

650) this.width=650; "title=" Sogou 20141226184638.png "src=" http://s3.51cto.com/wyfs02/M01/57/A2/ Wkiol1shbwkwa7ueaabwb4htrui765.jpg "alt=" Wkiol1shbwkwa7ueaabwb4htrui765.jpg "/>

----DOME4

650) this.width=650; "title=" Sogou 20141226184650.png "src=" http://s3.51cto.com/wyfs02/M02/57/A5/ Wkiom1shbmrwqclraaahmxtdyfk749.jpg "alt=" Wkiom1shbmrwqclraaahmxtdyfk749.jpg "/>

----Server button

650) this.width=650; "title=" Sogou 20141229154109.png "src=" http://s3.51cto.com/wyfs02/M02/57/A2/ Wkiol1shbalj1-s0aaauvymx1h4607.jpg "alt=" Wkiol1shbalj1-s0aaauvymx1h4607.jpg "/>

Source code: http://down.51cto.com/data/1968050
Technical Learning Group (developing, group members provide free resources.) Welcome to join us): 426634651

This article is from the "program Ape's Home--hunter" blog, please be sure to keep this source http://962410314.blog.51cto.com/7563109/1597272

2, Simple Interactive dialog box

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.