Hi,
I've a control that contain a radcombobox in wich I've put a radmenu to make the selection. It's works great but now I want to add the "load on demand" option to my control to update de radmenu (the menu is filled with a SqlDataSource in the ascx).
When I try to use the "load on demand" I got this error :
"Script control 'mnu_test' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Nom du parametre;: scriptControl"
My code looks like :
The update works in the code but the page does'nt update and the error is raised. Where's my error ?
Thx a lot !
I've a control that contain a radcombobox in wich I've put a radmenu to make the selection. It's works great but now I want to add the "load on demand" option to my control to update de radmenu (the menu is filled with a SqlDataSource in the ascx).
When I try to use the "load on demand" I got this error :
"Script control 'mnu_test' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Nom du parametre;: scriptControl"
My code looks like :
protected void list2_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e) | |
{ | |
(list2.Items[0].FindControl("mnu_test") as RadMenu).Items.Clear(); | |
list2.Items[0].FindControl("mnu_test").DataBind(); | |
} |
The update works in the code but the page does'nt update and the error is raised. Where's my error ?
Thx a lot !