Click here to Skip to main content
Rate this: bad
good
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);
 
        ctrl.RenderControl(hw);
 
        return sb.ToString();
    }
 

upProgress is an ajax update panel progress bar.
Posted 24-Aug-12 20:40pm
Comments
@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
good
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.
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 620
1 OriginalGriff 391
2 Maciej Los 210
3 PIEBALDconsult 180
4 Mehdi Gholam 145
0 Sergey Alexandrovich Kryukov 11,384
1 OriginalGriff 5,783
2 Maciej Los 5,684
3 CPallini 3,879
4 BillWoodruff 3,584


Advertise | Privacy | Mobile
Web04 | 2.8.141030.1 | Last Updated 25 Aug 2012
Copyright © CodeProject, 1999-2014
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