We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Reach MasterPage Syncfusion ProgressBar element from Content Page

Thread ID:





131012 Jun 16,2017 04:19 AM Jun 19,2017 11:51 PM ASP.NET Web Forms 3
Tags: Progressbar
Imre Revesz
Asked On June 16, 2017 04:19 AM

I have a ASP.NET Web forms page and I've started tu use the Syncfusion ProgressBar control.
How can I reach the MasterPage ProgressBar control from Content Page?
In the MasterPage:
ContentPage .cs file:
I reach the MasterPage controls this way:
Label example_label= (Label)Master.FindControl("Example_Show_Label");
But for the Syncfusion element it's not working.

Keerthana Rajendran [Syncfusion]
Replied On June 19, 2017 05:18 AM

Hi Imre, 
Thank you for contacting Syncfusion support 
We can reach the ProgressBar control from content page using Master.FindControl as per the below code.  
Aspx page: 
<asp:Label ID="Results" runat="server" Text="Display the text"></asp:Label> 
                <ej:ProgressBar ID="ProgressBar1" runat="server" Height="20px" Value="45"></ej:ProgressBar> 
Aspx.cs page: 
protected void btn1_Click(object sender, EventArgs e) 
            Label ResultsLabel = (Label)Master.FindControl("results"); 
            Syncfusion.JavaScript.Web.ProgressBar progress =(Syncfusion.JavaScript.Web.ProgressBar)Master.FindControl("ProgressBar1"); 
            ResultsLabel.Text = string.Format("The value is {0}!", progress.Value); 
We have prepared sample for your reference. Please refer to the below given link 

Imre Revesz
Replied On June 19, 2017 05:24 AM

Dear Keerthana,

That solved my problem. ;-)


Keerthana Rajendran [Syncfusion]
Replied On June 19, 2017 11:51 PM

Hi Imre,  
Thanks for your update. We are glad to hear that your issue has been resolved, please get back to us if you require further assistance on this. We will be happy to assist you  
Keerthana R. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.