Click here to Skip to main content
12,896,175 members (52,951 online)
Rate this:
Please Sign up or sign in to vote.
how to solve the error

"Script control 'upProgress' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors(). Parameter name: scriptControl".

error occurred while rendering user control to html using the code
private string RenderControl(Control ctrl)
        StringBuilder sb = new StringBuilder();
        StringWriter sw = new StringWriter(sb);
        HtmlTextWriter hw = new HtmlTextWriter(sw);
        return sb.ToString();

upProgress is an ajax update panel progress bar.
Posted 24-Aug-12 20:40pm
@amitgajjar 25-Aug-12 2:53am
HtmlTextWriter is your user control ? if so, please post code of that. also post the code of your update panel (aspx page code)

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You've got a script control in your page called upProgress and it's not registerd. That's what the error says. If you think that is wrong, you need to post code and explain why you disagree with what the error says.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 25 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100