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.