Creating a simple forum in mvc.net
Posted
by Dofs
on Stack Overflow
See other posts from Stack Overflow
or by Dofs
Published on 2010-03-27T11:45:30Z
Indexed on
2010/03/27
11:53 UTC
Read the original article
Hit count: 486
forum
|asp.net-mvc
Hi,
I am creating a very simple forum as my first MVC project. My database layout is rather simple:
[ForumThread]
Id
Title
[ForumPost]
Id
ThreadId
Message
ParentId // To tell which post this post should hang on to
Created
CreatedBy
Updated
UpdatedBy
I am creating a view for the ForumThread for displaying the list of threads and to be able to create a new thread.
There is a details view of the ForumThread which shows the thread with the underlying posts.
My question is how I the easiest way in the ForumThread details view, can display a view to create a ForumPost, without having to navigate to another page first?
© Stack Overflow or respective owner