Solved

Create a dynamic page from content

Posted on 2013-10-30
3
333 Views
Last Modified: 2013-10-30
Hi,

I'm using MVC ASP.NET 4 (C#) for developing a basic blogengine from scratch. I'm doing ok with it. I dont know how to create a dynamic page from content which has come from a database.

I have the following bloc

<div class="blodDet">
            <div class="summary">
                <h2><a class="blogTitle" href="??">Blog Title</a></h2>
                <p class="blogDescription">Full blog description which will be what is displayed in the SERPS description area. </p>
            </div>

        </div>

Open in new window


In above code I have an anchor tag in the blog title. What I am trying to do is create a new page displaying the complete blog. So I need to create a new page that is named after the blog title. So a complete dynamic page for each blog once clicked on. Then destroyed when closed. Any ideas on the necessary approach for this.

Thanks in advance.
0
Comment
Question by:blackstarsystems
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 39612186
To start with you need the href to go to a page that contains the script to handle the generation of the page.  you will need to pass it some kind of identifier.  I identifier could be the DB key to the content.  

Beyond that, the details of generation and how you do it depends on the DB organization and the templates you want to use.

On my sites I generally generate all pages real time using PHP, but rather then a single script I use template specific scripts for efficiency.

Cd&
0
 

Author Closing Comment

by:blackstarsystems
ID: 39612203
Coolio!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question