We are migrating from the telrik Q1 2008(Telerik.web.ui.dll version - 2008.1.619.20) version to Q3 2009 version.
If I set
PagerStyle-Mode
="NextPrevAndNumeric"
than i am getting below mentioned error
Script control 'PageSizeComboBox' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptContro
If I set PagerStyle-Mode="NextPrevNumericAndAdvanced" or "Advanced"
Script control 'GoToPageTextBox' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl
If I set PagerStyle-Mode="Slider"
Script control 'GridSliderPager' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl
Thanks in advance
Regards
Raj
5 Answers, 1 is accepted
Basically the error you described happens when the RegisterScriptControl method of an IScriptControl has not been called. Can you please, give us some more directions about the project/page setup?
However, a simple project/website, demonstrating the problem would help us identify the problem quicker. If you can prepare one, please, open a formal support ticket to be able to attach it.
Sincerely yours,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Hello,
Thanks for the reply.
I am getting this error only for the above mentioned paging style only if i choose PagerStyle-Mode="NumericPages"
Or "NextPRev" than i am not getting this error.
Also if i can give you more information that when i am using Async postback than only i amgetting this error.
Let me know if you still need a sample to identify?
Regards,
Raj
I am sending you a simple working application which is working as expected. Please check it out and let me know what is the difference in your scenario.
I hope this helps.
Best wishes,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Simple paging is working fine, But when i use Async postback at that time paging is not working.
Will giving you smaple code. If you need i will give you working sample will send you later.
private
void PageAsync_Lookup(object sender, EventArgs e)
{
try
{
var task = new PageAsyncTask(
BeginAsync_TaskGetData,
EndAsync_TaskGetData,
AsyncTimeOut_TaskGetData,
null, true);
this.Page.RegisterAsyncTask(task);
}
catch (Exception ex)
{
Log.Error(null, "Error occured at the time of asyn call PageAsync_Lookup() ", ex);
}
}
Regards
Raj
At this point, in order to progress in the investigation, please open a formal support ticket, and send us a small working project, demonstrating the issue. We will review it locally, and get back to you with our findings.
Greetings,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.