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?
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.
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
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
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.
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
is working on a reply...