Click here to Skip to main content
11,790,613 members (50,524 online)
Rate this: bad
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 at 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
0 OriginalGriff 1,154
1 Maciej Los 825
2 KrunalRohit 686
3 ppolymorphe 660
4 CPallini 621

Advertise | Privacy | Mobile
Web03 | 2.8.1509028.1 | Last Updated 25 Aug 2012
Copyright © CodeProject, 1999-2015
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