Articles in this section
Category / Section

How to render Syncfusion ASP.NET controls in Server side ?

1 min read

Render the Syncfusion ASP.NET controls from server-side (code behind).

 

Solution

 

We can render the Syncfusion control in server side. For example, we have created and appended the ProgressBar control to the div element. Please refer the below code block.

 

[Default.aspx]

 

<div id="ControlDiv" runat="server"></div>

 

 

[Default.aspx.cs]

 

protected void Page_Load(object sender, EventArgs e)
        {
            Syncfusion.JavaScript.Web.ProgressBar Progress = new Syncfusion.JavaScript.Web.ProgressBar();
            Progress.Percentage = 70;
            Progress.Text = "70 %";
            Progress.MaxValue = 100;
            Progress.Height = "25px";
            Progress.Width = "500px";
            ControlDiv.Controls.Add(Progress);
        }

 

 

Please refer to the below link for the sample.

 

https://www.syncfusion.com/downloads/support/directtrac/general/ze/ProgressBar1551235508

 

Please refer to the below link for manual integration of Syncfusion ASP.NET controls.

 

https://help.syncfusion.com/aspnet/getting-started/manual-integration-of-syncfusion-aspnet-controls

 

ProgressBar getting started: https://help.syncfusion.com/aspnet/progressbar/getting-started

 

Server side event: https://help.syncfusion.com/aspnet/progressbar/server-side-events

 

API reference: https://help.syncfusion.com/api/js/ejprogressbar

 

Live demo: https://asp.syncfusion.com/demos/web/progressbar/defaultfunctionalities.aspx

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied