or
aspx:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<telerik:RadProgressManager ID="RadProgressManager1" runat="server" />
<asp:Button ID="btnStart" runat="server" Text="Start" OnClick="btnStart_Click" />
<telerik:RadProgressArea ID="RadProgressArea1" runat="server"
ProgressIndicators="CurrentFileName,FilesCount,FilesCountBar,FilesCountPercent,SelectedFilesCount,TotalProgress,TotalProgressBar,TotalProgressPercent">
</telerik:RadProgressArea>
aspx.cs:
public partial class _Default : System.Web.UI.Page /* this is working fine */
//:Facebook.Web.CanvasIFrameBasePage /* this is not working */
{
/* Inheriting from Facebook.Web.CanvasIFrameBasePage would */
/* produce the error of showing the RadProgressBar but not */
/* displaying the progress */
protected void Page_Load(object sender, EventArgs e) { }
protected void btnStart_Click(object sender, EventArgs args) {
private const int MAX = 10;
RadProgressContext context = RadProgressContext.Current;
context.SecondaryTotal = MAX;
context.SecondaryValue = 0;
context.SecondaryPercent = 0;
int num;
for(int i = 0; i < MAX; i++) {
num = i + 1;
context.CurrentOperationText = string.Format("step {0}", num);
context.SecondaryTotal = MAX;
context.SecondaryValue = num.ToString();
context.SecondaryPercent = (((double)num) / MAX) * 100;
/* Fake some time eating actions */
System.Threading.Thread.Sleep(500);
}
}
}
I'm using radchart of line type in my application. I'm binding the chart serises in codebehind.
In my chart line starts after .5cm(ex) from Y-Axis. I want it to start from the y axis. How Cloud I achieve this pls help me. Please find my attchment which explains my requirement cleary. I want the graph as second image.Can Any one please help me,its urgent for me.
Private Const width As Integer = 300Private Const height As Integer = 100Dim number As Integer = 0Protected Sub RadButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadButton1.Click Dim text As RadTextBox = New RadTextBox() text.Width = Unit.Pixel(200) Dim note As RadNotification = New RadNotification() note.Width = Unit.Pixel(width) note.Height = Unit.Pixel(height) note.AutoCloseDelay = 0 note.Pinned = False note.Position = NotificationPosition.Center note.ShowCloseButton = True note.ContentIcon = Nothing note.TitleIcon = Nothing note.ID = "RadNotification" & number form1.Controls.Add(note) note.Show()End Sub