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

use of controls in multiple sub-sites

4 Answers 58 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 29 Nov 2011, 01:11 PM

This question concerns a few controls but any answer here will sort me out with the others.

Basically im tasked with developing an application that will enable registered users to create their own website which can then be maintained by themselves.

These sites will be created instantly once registration is complete. Or at least for now i think i have found how to update IIS with the directory and site settings.

My desire is for each user's site to have option of a set choice of pages, for example one being a scheduler page they can use to manage tasks/events etc.

So im wondering the best way to incorporate a scheduler into each users page (at registration) if they choose this option for their site, as well as how i would maintain that users entries/reminders/content etc so it is maintained when they return. is this already automatically stored somewhere? if so would it be tied to my main site or the users site (sub-domain) ?

im thinking along the lines of a website id record related to page records with this website id but not sure how i then associate controls within these pages for the relevant userid/websiteid/pageid...

this also applies to other controls such as editor as the user would maintain their site content on most pages with this.

thanks for any guidance.

4 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Dec 2011, 04:48 PM
Hello Mark,

Regarding the RadScheduler requirement, one way to implement it is to set conditionally from code-behind the Visible property for the control. If Visible="false", RadScheduler will not render anything to the page.

Alternatively, you can put RadScheduler in a user control which you can load dynamically depending on the user's choice.

If you need to display appointments for specific user only, you can use the approach from this demo.

All the best,
Peter
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
Mark
Top achievements
Rank 1
answered on 01 Dec 2011, 05:38 PM
thanks,

your third point is nearest to what im seeking to learn,

not sure i explained it well and maybe doesnt help that i havent attempted building it yet but as part of a number of page options that users will be able to add to their site, id like to include a scheduler tool not dissimilar to the demo on your site.

http://demos.telerik.com/aspnet-ajax/schedulebuilder/

most pages will be text/images only so will utilise the editor control to simply retrieve their user/website/page content from the db, which they can access from an admin area when they login.

if i offer users the option of a "scheduler" page for allowing users to manage tasks/reminders i wasnt sure how i would handle these entries on a user basis.

im assuming i can set up a scheduler table of sorts in my db and add whatever fields i choose to allow in the scheduler and in this way can tie them to the user/website?

so would this type of page be updated "in situ" within their site as it were, or via a corresponding backend admin page that posts any updates to the website (as i propose the other page working)?
0
Mark
Top achievements
Rank 1
answered on 01 Dec 2011, 05:38 PM
thanks,

your third point is nearest to what im seeking to learn,

not sure i explained it well and maybe doesnt help that i havent attempted building it yet but as part of a number of page options that users will be able to add to their site, id like to include a scheduler tool not dissimilar to the demo on your site.

http://demos.telerik.com/aspnet-ajax/schedulebuilder/

most pages will be text/images only so will utilise the editor control to simply retrieve their user/website/page content from the db, which they can access from an admin area when they login.

if i offer users the option of a "scheduler" page for allowing users to manage tasks/reminders i wasnt sure how i would handle these entries on a user basis.

im assuming i can set up a scheduler table of sorts in my db and add whatever fields i choose to allow in the scheduler and in this way can tie them to the user/website?

so would this type of page be updated "in situ" within their site as it were, or via a corresponding backend admin page that posts any updates to the website (as i propose the other page working)?
0
Peter
Telerik team
answered on 06 Dec 2011, 12:30 PM
Hi Mark,

The reminders are stored in a separte field in the RadScheduler data source. Here is an online demo for reference - http://demos.telerik.com/aspnet-ajax/scheduler/examples/reminders/defaultcs.aspx

Your assumption is correct. You can read more about RadScheduler Data Binding in the help - http://www.telerik.com/help/aspnet-ajax/scheduler-databinding.html

If RadScheduler shares a common data source with your other user interface, you will be able to notice the changes if you implement some sort of a polling service to periodically call RadScheduler's Rebind() method to refresh the appointments.


Greetings, Peter
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
Scheduler
Asked by
Mark
Top achievements
Rank 1
Answers by
Peter
Telerik team
Mark
Top achievements
Rank 1
Share this question
or