Asp.net dialog box

Source: Internet
Author: User
1 prompt dialog box: response. write ("<SCRIPT> alert ('message'); </SCRIPT>"); 2. confirm that the cancel dialog box is in the page_load () event, add the property: button to the button that you want to display a confirmation prompt. attributes. add ("onclick", "Return confirm ('do you want to perform this operation? '); "); 3 OK, then jump to response. write ("<SCRIPT> alert ('message'); window. location = 'url'; </SCRIPT> ");

 

 

The Network is a golden place, and you can find a surprise accidentally. This is not the case. You find an "eeeksoft. Web. popupwin. dll", a free and beautiful dialog box pop-up.

 

He has the following features:

1: The Animation Mode is displayed, just like the prompt box of MSN.

2: Pretty

3: You can open a more detailed content webpage.

4: automatic shutdown, no need to manually confirm the OK

5: easy to use

 

Simple usage:

 

Public void showmessage (string MSG)

{

// Response. Write ("<SCRIPT> alert ('" + MSG + "'); </SCRIPT> ");

Eeeksoft. Web. popupwin Pop = new eeeksoft. Web. popupwin ();

This. Controls. Add (POP );

Pop. Text = MSG;

Pop. Message = MSG;

Pop. Title = "XXX-system ";

Pop. windowscroll = true;

Pop. hideafter= 5000;

Pop. dockmode = eeeksoft. Web. popupdocking. bottomleft;

Pop. offsetx = 300;

Pop. offsety = 400;

}

 

The original functions of 51aspx are described as follows:

1: The Animation Mode is displayed, just like the prompt box of MSN.
2: Beautiful. For details, see the matching diagram.
3: You can open a more detailed content webpage.
4: automatic shutdown, no need to manually confirm the OK
5: The example includes C # and VB. The source file of popup is in the eeeksoft. Web. popupwin folder.
6: easy to use (For details, refer to the Code Pei Wen). Compile the code before using the example.

Last fixed: 10: 57

Author: eeeksoft
Source code download and discussion address: http://www.51aspx.com/CV/PopupWin

Http://www.codeproject.com/KB/custom-controls/asppopup.aspx

Http://www.cnblogs.com/jueban/archive/2008/07/22/946916.html

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.