Has anyone had any luck with using the recurrence engine outside of the scheduler interface?
For instance, while I want my CMS component to be similar to Outlook for actually enterring the calendar data, I want to be able to show a simple, read-only list page, and then give the visitor the ability to click through to a detail page for end-users viewing the data on the website.
I've toyed with the code in the KB article (http://www.telerik.com/support/kb/article/b454K-mga-b454T-cth-b454c-cth.aspx) about showing appointments in GridView, but I haven't gotten much to work outside of displaying the list:
http://www.downtownpittsburgh.com/events.aspx
I've added a large number of custom fields, all of which I can access, but I've run into trouble trying to figure out the recurrence engine and if there is a way that I can harness it to show the proper dates on that detail page.
If anyone has already treaded these waters, or has any suggestion for how I can handle it, I'd be much obliged.
Thank you, Joseph
For instance, while I want my CMS component to be similar to Outlook for actually enterring the calendar data, I want to be able to show a simple, read-only list page, and then give the visitor the ability to click through to a detail page for end-users viewing the data on the website.
I've toyed with the code in the KB article (http://www.telerik.com/support/kb/article/b454K-mga-b454T-cth-b454c-cth.aspx) about showing appointments in GridView, but I haven't gotten much to work outside of displaying the list:
http://www.downtownpittsburgh.com/events.aspx
I've added a large number of custom fields, all of which I can access, but I've run into trouble trying to figure out the recurrence engine and if there is a way that I can harness it to show the proper dates on that detail page.
If anyone has already treaded these waters, or has any suggestion for how I can handle it, I'd be much obliged.
Thank you, Joseph
5 Answers, 1 is accepted
0
Joseph
Top achievements
Rank 1
answered on 28 Apr 2008, 09:27 PM
Hopefully this isn't out of bounds for the purposes of this forum, forgive me if it is, I just really need to get the job done.
If you're able to help with the problem that I've described, I'm actually willing to compensate an experienced developer to nail this down. I'm behind on a project and I've come under some pretty heavy fire, so I don't really have the luxury of just figuring it out through trial and error.
You'll need to demonstrate that you've got what it takes. Please respond here if you're interested.
If you're able to help with the problem that I've described, I'm actually willing to compensate an experienced developer to nail this down. I'm behind on a project and I've come under some pretty heavy fire, so I don't really have the luxury of just figuring it out through trial and error.
You'll need to demonstrate that you've got what it takes. Please respond here if you're interested.
0
Hello Joseph,
Thank you for using our products. We will be glad to help, but I am not sure that I understand the exact problem. It will be great if you can give us some more details. Meanwhile, you can take a look at the API reference for the RecurrenceRule class to see if the examples there resemble anything close to your scenario.
Kind regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for using our products. We will be glad to help, but I am not sure that I understand the exact problem. It will be great if you can give us some more details. Meanwhile, you can take a look at the API reference for the RecurrenceRule class to see if the examples there resemble anything close to your scenario.
Kind regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Joseph
Top achievements
Rank 1
answered on 01 May 2008, 02:00 PM
There are three things I'm struggling with right now.
1) I do not want to show the scheduler's calendar interface, but the example of binding to the grid doesn't seem to work when I set the scheduler's visible property to false, the grid is also hidden.
2) I can't seem to modify the elements within the appointment object, I've only got access to the subject, start and end. I'd like to be able to include some of my custom fields in the grid. Is that possible?
3) I need to be able to link to a view only detail page from the grid.
Your help is heartily appreciated.
Thank you, Joseph
1) I do not want to show the scheduler's calendar interface, but the example of binding to the grid doesn't seem to work when I set the scheduler's visible property to false, the grid is also hidden.
2) I can't seem to modify the elements within the appointment object, I've only got access to the subject, start and end. I'd like to be able to include some of my custom fields in the grid. Is that possible?
3) I need to be able to link to a view only detail page from the grid.
Your help is heartily appreciated.
Thank you, Joseph
0
Accepted
Hi Joseph,
1) If you set Visible="false" to the Scheduler, you will need to manually call the DataBind() method for the DataBound events to fire and populate the GridView.
2) You can use the CustomAttributeNames property to specify a comma separated list of custom fields. You can then use the Attributes collection of an Appointment to access the values in code-behind.
3) There are various approaches to implementing the last requirement, but probably all of them require passing the ID of the appointment to the Details page in one way or another. Please find attached a sample project that shows a simple implementation this. The project also shows examples of the 2 points above.
I hope this helps.
All the best,
Dimitar Milushev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
1) If you set Visible="false" to the Scheduler, you will need to manually call the DataBind() method for the DataBound events to fire and populate the GridView.
2) You can use the CustomAttributeNames property to specify a comma separated list of custom fields. You can then use the Attributes collection of an Appointment to access the values in code-behind.
3) There are various approaches to implementing the last requirement, but probably all of them require passing the ID of the appointment to the Details page in one way or another. Please find attached a sample project that shows a simple implementation this. The project also shows examples of the 2 points above.
I hope this helps.
All the best,
Dimitar Milushev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Joseph
Top achievements
Rank 1
answered on 06 May 2008, 11:58 AM
Thanks Dimitar, your response was most helpful. I didn't have the initial data bind on page load, and I was really struggling over the syntax for the Attributes collection. Your example shows exactly what I needed.