نحن دائما نسعى لجعل تطبيق أكثر تفاعلا وسهلة الاستعمال. عندما يقوم المستخدم على الإطلاق أي عملية طويلة ثقيلة أو (تحميل / تنزيل الملفات الكبيرة أو تركيب (أو تتوقع معرفة التقدم المحرز في العملية على فترات منتظمة.
The user should be made aware of status whether it may be success or failure at each step. We cannot keep user waiting. The user should be informed of percentage of task completed. This article discuss about the custom user control to create a smooth, incrementing ProgressBar control. It’s typical user control which you can include in any of asp.net web application. This user control is a light weight which is built using a HTML table.
<%@ Control Language=”VB” AutoEventWireup=”false” CodeFile=”ProgressBar.ascx.vb” Inherits=”ProgressBar” %>
<asp:Table ID=”tblProgressBar” runat=”server”
BorderWidth=”1px”
CellPadding=”1″
CellSpacing=”1″
Height=”15px”
Width=”200px”>
</asp:Table>
<uc1:Progressbar ID=”Progressbar1″ runat=”server” BGColor=”Gray” Blocks=”20″ BorderColor=”Black”
BorderSize=”1″ Cellpadding=”1″ CellSpacing=”1″ FillColor=”Green” Height=”20″ Value=”10″
Width=”150″ />
ProgressBar User control properties
More »
Share on Facebook