Basic use of devexpress Asp.net (6) aspxloadingpanel

Source: Internet
Author: User
L Oadingpanel A prompt control displayed on the page when the Callback Server is used. It is similar to updataprogress in ASP Ajax. However, it is easier to use and can be used to control its display time at will. For example:

In addition to the default display, you can also define the display image and text.

1.1CodeAnd usage

< Dxlp: aspxloadingpanel ID = "Aspxloadingpanel1" Runat = "Server"  
Clientinstancename = "Loadpanel" Text = "Loading" >
</ Dxlp: aspxloadingpa Nel >

You only need to call the show () method of the ladpanel to display it. For example, the following code shows loadpa when you click a button. Nel: < Dxe: aspxbutton ID = "Aspxbutton1" Runat = "Server" Text = "Aspxbutton" >
< Clientsideevents Click = "Function (s, e ){
Loadpanel. Show ();
}"   />
</ Dxe : Aspxbutton >

conclusion:
the loadingpanel control is a prompt control displayed on the page when the Callback Server is enabled.
it can be displayed through loadpanel. Show.
by default, loadingpanle is displayed in the center of the webpage, if only one
partial panle or div is updated, you can specify the containerelementid of loadingpanel,
the display is displayed above the specified control. For example,
aspxloadingpanel1.containerelementid = "divload "; divload is a tag of V> or other containers.

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.