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

Problem rendering and <Body> Tag

1 Answer 36 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 10 Sep 2008, 11:42 AM
Hi

In my CRM system where we log calls and meeting with clients etc My RadScheduler sits on a page along with  tab strip and  multiview controls so the user can switch to a calendar view of such activity if required. Standard sort of stuff.

During any postback to the server I have code in the render method that allows me to add in other bits to be rendered, for example some extra javascript to my document. In one case I look for the <Body> tag so I can fiddel with the "onload" attribute and add which method that will get called.

When using the radscheduler and swapping from say "day view" to week" view" a full postback to the server is invoked. Here I get an error. On investigation when I look at the Render method  ...

protected

override void Render(HtmlTextWriter writer)

I see that all I seem to be getting in the writer argument is the HTML for the RadScheduler control and not the rest of the page. Ie no HTML tag no HEAD BODY etc, just that needed to render the control. Obviously I need the whole page!

Any ideas what's happening?

Cheers

Gary

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 10 Sep 2008, 04:43 PM
Hello Gary,

We are not sure why this problem occurs. I suggest you open a support ticket and send us a sample project which demonstrates the exception. Thanks.

Greetings,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Gary
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or