Hi!
We are trying to use the radajax panel from codebehind. Using the rendercontrol method we can't get the ajaxpanel to work. We always have the following error:
Script control 'upCats' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Here's some of our code:
Thx for your quick response!
We are trying to use the radajax panel from codebehind. Using the rendercontrol method we can't get the ajaxpanel to work. We always have the following error:
Script control 'upCats' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Here's some of our code:
| 'UPDATEPANEL START------------------ |
| Dim upPanel As New Telerik.Web.UI.RadAjaxPanel |
| Dim sw As New IO.StringWriter() |
| Dim tw As New HtmlTextWriter(sw) |
| Dim content As New Literal |
| upPanel.ID = "upCats" |
| upPanel.Page = Me.Page |
| '----------------------------------- |
| ''Filling content here |
| ''Code stripped |
| 'UPDATEPANEL STOP------------------ |
| upPanel.Controls.Add(content) |
| upPanel.RenderControl(tw) 'ERROR COMES HERE |
| strCatsOverview &= sw.ToString() |
| '----------------------------------- |
Thx for your quick response!