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

[Solved] Script controls may not be registered before PreRender

1 Answer 101 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
John Davis
Top achievements
Rank 2
John Davis asked on 04 May 2009, 05:34 PM

I am trying to use in one page code from both of the following demos:

http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx

http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx

I have not yet converted the grid columns and data sources to fit my project, because I have a compile error:

Script controls may not be registered before PreRender

I get this error after I add the Calendar code to the page.

How can I resolve it?  ( I tried many variations of the code with no success.)



Steve

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 07 May 2009, 03:22 PM
Hi John Davis,

Are you calling the Renderer method in your code? In addition, please, review the following forum thread on this topic: (here).

If this information does not help, I'd ask you to post your aspx and code behind (please, do use the Code Formatter tool for this purpose).

Thank you.

All the best,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar
Asked by
John Davis
Top achievements
Rank 2
Answers by
Tsvetoslav
Telerik team
Share this question
or