This is a migrated thread and some comments may be shown as answers.

[Solved] Q3 2009 - Paging Problem

5 Answers 146 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 08 Dec 2009, 12:55 PM
Hello,
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

Sort by
0
Pavlina
Telerik team
answered on 10 Dec 2009, 12:50 PM
Hello Raj,

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.
0
Raj
Top achievements
Rank 1
answered on 10 Dec 2009, 01:40 PM

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

0
Pavlina
Telerik team
answered on 10 Dec 2009, 02:07 PM
Hello 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.
0
Raj
Top achievements
Rank 1
answered on 10 Dec 2009, 03:11 PM
Hello Pavlina,
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

0
Pavlina
Telerik team
answered on 11 Dec 2009, 04:52 PM
Hello 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.
Tags
ComboBox
Asked by
Raj
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Raj
Top achievements
Rank 1
Share this question
or