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

Timeline issue

3 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lili
Top achievements
Rank 1
Lili asked on 21 Jun 2012, 05:35 PM
Hello, Telerik team:
Please help for this issue:
I'm working on timelien.When I click Timeline, it shows default view looks fine. When change the view  to licke day or weeks or month fromTimeline show, the error shows up as "Object reference not set to an instance of an object." When  change to click between day or weeks or month again, the error go away. When i debug, the error point to in tag <AppointmentTemplate> first line at <%# Eval("Subject") %>. From other swith click, the code go to

 RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e). Only from timeline switch to ohters view, the code go to <%# Eval("Subject") %>, then cause this error.

 

 Does any one know what is wrong when switch to click from timeline to other view that error shows up?

Thanks!!

 

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 25 Jun 2012, 11:30 AM
Hi Lili,

It looks like some custom error because such behavior is not observe in our Customize the Appointment on-line demo where the same code have been used. Please review it and let me know if your case is somehow different from it.

 If you still can't figure what is not working properly please share all the code connected to RadScheduler that is used so the issue can be isolated and tested locally.

Regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Lili
Top achievements
Rank 1
answered on 25 Jun 2012, 11:36 PM
Thanks Plamen for reply.
If I add RadAjaxPanel tag between RadScheduler as below, when switch from timeline view to others view, the error go away. But When I select outside of Radscheduler dropdown box to show different appointments, it still shows that error:"Object reference not set to an instance of an object.". This cuase is because after I add new Tag: RadAjaxPane. Do you have any idea?  Why Timeline click action differnt with others like Month, Week?  it needs to add telerik:RadAjaxPanel tag. Thanks!

<

telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1">

<telerik:RadScheduler ID="RadScheduler1" runat="server"
...
...

</telerik:RadScheduler>

</telerik:RadAjaxPanel>

 

0
Plamen
Telerik team
answered on 28 Jun 2012, 08:41 AM
Hi Lili,

 
I have prepared a sample page that implements a scenario similar to what you have described so far but could not observe any unusual behavior at my side. Please review it and let us know what else should be added to it in order to reproduce the problem locally so we can be more helpful.

Greetings,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Lili
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Lili
Top achievements
Rank 1
Share this question
or