Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stefan Ekman 18 posts 37 karma points
    Oct 04, 2011 @ 16:29
    Stefan Ekman
    0

    Advice on design

    Hi,

    I have created functionality for my local bridge to create Events, all my functions are induvidual user controls like:

    Admin - Creat New Event

    Admin - Change and Delete Existing Event

    Admin - Administrate Entries

    Public - List of upcoming events

    Public - Detailed Info about event

    Public - Register to Event

     

    Implementing this into Umbraco are pretty easy and straight forward the problem is that I dont feel I have choosen the best design path. At the moment I'm creating pages from within Umbraco where I add my User Controls as macros, especially the admin pages get tricky as I feel I need to naviagte between them when needed from code behind and here I get lost.. 

    From the list of events to admin for example, I have a hidden DIV which I popup upon selection (Nicely wirh jQuery..) that have another User Control in it. The whole solution does not feel ok and would be nice to hear if anyone have some ideas or project to look at?

     

    Cheers and thanks for a great community!

    Stefan

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Oct 05, 2011 @ 07:28
    Markus Johansson
    0

    I think that usercontrols is the way to go (or Razor templates). What do you meen when you say that "you get lost" when trying to navigate beetween pages in codebehind?

    Is it loged in umbraco members that are using the admin pages? Otherwise a custom section in the Umbraco Backoffice could be the way to go.

  • Stefan Ekman 18 posts 37 karma points
    Oct 06, 2011 @ 11:05
    Stefan Ekman
    0

    Hi Markus,

    I would say its the way I'm navigating between the different user controls. In a normal .Net project I would have had several .aspx subpages for example rather than having hidden div's with my user controls on only one page.. As I'm planning to have several installations I don't wont to have to have any messy setup in the Umbraco interface were I have to create pages manually. What I have so far are on http://www.bettingarena.net/admin/registernewevent.aspx

    Regards,

    Stefan

Please Sign in or register to post replies

Write your reply to:

Draft