use of controls in multiple sub-sites

5 posts, 0 answers
  1. Mark
    Mark avatar
    20 posts
    Member since:
    Oct 2011

    Posted 29 Nov 2011 Link to this post

    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.

  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 01 Dec 2011 Link to this post

    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
  3. Mark
    Mark avatar
    20 posts
    Member since:
    Oct 2011

    Posted 01 Dec 2011 Link to this post

    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)?
  4. Mark
    Mark avatar
    20 posts
    Member since:
    Oct 2011

    Posted 01 Dec 2011 Link to this post

    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)?
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 06 Dec 2011 Link to this post

    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
Back to Top