public
partial
class
_Default : System.Web.UI.Page
{
RadProgressContext progress = RadProgressContext.Current;
protected
void
Button_Click1(
object
sender, EventArgs e)
{
for
(
int
i = 0; i < 100; i++)
{
// 1. RadProgressBar (new control):
RadProgressBar1.Value = i;
// 2. RadProgressArea (previous control):
progress.PrimaryValue = i;
progress.PrimaryPercent = i;
progress.SecondaryValue = i;
progress.SecondaryPercent = i;
System.Threading.Thread.Sleep(100);
}
}
protected
void
Button_Click2(
object
sender, EventArgs e)
{
// Clear the progressbar:
RadProgressBar1.Value = 0;
}
}
Is it possible to make progress bar "clickable" and it would re-direct to another web page?
Thx.
Hello I am using RadProgress bar of chunk type,
When the chunkCount = 3 it generates incorrect width style for completed steps, it uses the comma instead of the dot so 33,33334% instead of 33.33334%.
So that it is not working as expected.
version: Telerik_UI_for_ASP.NET_AJAX_2016_2_607_Dev
code behind:
rpb_reviewMail.MaxValue = dataTable.Rows.Count;
rpb_reviewMail.ChunksCount = dataTable.Rows.Count;
rpb_reviewMail.Value = currentStep;
aspx:
<telerik:RadAjaxPanel runat="server">
<telerik:RadProgressBar RenderMode="Lightweight" runat="server" BarType="Chunk" Skin="MetroTouch" MinValue="0" Width="100%">
</telerik:RadProgressBar>
</telerik:RadAjaxPanel>
I have updated Telerik to the newest version (2017.1.228.40) and now the skin (Windows7) of the RadProgressBar seems broken (see attachement).
Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ProgressBar.Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"radScriptManager"
runat
=
"server"
/>
<
div
>
ProgressBar with default skin
<
telerik:RadProgressBar
ID
=
"radProgressBar1"
runat
=
"server"
BarType
=
"Percent"
Value
=
"65"
/><
br
/><
br
/>
ProgressBar with Windows7 skin
<
telerik:RadProgressBar
ID
=
"radProgressBar2"
runat
=
"server"
BarType
=
"Percent"
Value
=
"65"
Skin
=
"Windows7"
/><
br
/><
br
/>
Button with Windows7 skin
<
telerik:RadButton
ID
=
"radButton"
runat
=
"server"
Text
=
"Button with Windows7 skin"
Skin
=
"Windows7"
/>
</
div
>
</
form
>
</
body
>
</
html
>
I have an ASP.Net page that uses the ProgressBar when user clicks on EXPORT button to export data to an Excel (.xlsx) file. It works great.
Now the question is that is there a way to use that ProgressBar or the ProgressArea when executing a long running SQL statement?
When the user clicks on the EXPORT button, the VB code-behind looks at the RadRadioButtonList to determine which was selected and run the appropriate Export process. The RadRadioButtonList has EXCEL, PDF, and TABLE. When EXCEL is selected, the ProgressBar is used to show progress of exporting data to an Excel file. Exporting to PDF does not use the ProgressBar. I would like to have a way to show the ProgressBar or use the ProgressArea when exporting to a TABLE which basically means it using the SQL INSERT statement to insert records from a SELECT statement into another table.
Please help!
Thanks!
Sincerely,
Keith Jackson
I'm trying to build this functionality into my website. In Telerik's demo the progress bar is inside the tooltip and it moves around to each element when an element is clicked on. How do I do this?
Am I correct to assume it is one tooltip and one progressbar and the TargetId of the tooltip is changed to the element that was clicked on with client side programming? Could I have an example of the client side programming? I am new to Telerik and Jquery as of this week, but I am a solid programmer of many years, some how just never got to JQuery.