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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Reach MasterPage Syncfusion ProgressBar element from Content Page

Thread ID:





131012 Jun 16,2017 08:19 AM UTC Jun 20,2017 03:51 AM UTC ASP.NET Web Forms 3
Tags: Progressbar
Imre Revesz
Asked On June 16, 2017 08:19 AM UTC

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 09:18 AM UTC

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 09:24 AM UTC

Dear Keerthana,

That solved my problem. ;-)


Keerthana Rajendran [Syncfusion]
Replied On June 20, 2017 03:51 AM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon