Microsoft Content Management Server - Building online quiz

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > November 2007 > Building online quiz





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Building online quiz
Mark B

2007-11-21, 1:20 pm

Hi All,

I'm working on building an online quiz system within out MCMS website.
I'm setting it up using the wizard control to present one question at
a time. In a traditional .NET website, I'd set up an input page to
enter the questions and answers into a database and then build the
presentation page on the fly.

Is there an efficient way to use templates and placeholders rather
than a purpose built input page? As it stands now, the only way I can
think of to be able to use placeholders would be to have a plain text
placeholder for each question and each answer. This can get unwieldy
since there will be a question, four multiple choice answers and a
correct answer for each item. With 10 questions per quiz, this gives
me 60 placeholders just for the quiz questions, plus any additional
page items.

Would it be better to make a template that has one question / answer
set and make multiple pages for the questions, looping through the
page information to create the quiz?

I'm not looking for specific code, just ideas on how to do this in a
user-friendly way.

Thanks,

Mark B
George Leithead

2007-11-21, 1:20 pm

On 21 Nov, 13:38, Mark B <mark_b...@yahoo.com> wrote:
> Hi All,
>
> I'm working on building an online quiz system within out MCMS website.
> I'm setting it up using the wizard control to present one question at
> a time. In a traditional .NET website, I'd set up an input page to
> enter the questions and answers into a database and then build the
> presentation page on the fly.
>
> Is there an efficient way to use templates and placeholders rather
> than a purpose built input page? As it stands now, the only way I can
> think of to be able to use placeholders would be to have a plain text
> placeholder for each question and each answer. This can get unwieldy
> since there will be a question, four multiple choice answers and a
> correct answer for each item. With 10 questions per quiz, this gives
> me 60 placeholders just for the quiz questions, plus any additional
> page items.
>
> Would it be better to make a template that has one question / answer
> set and make multiple pages for the questions, looping through the
> page information to create the quiz?
>
> I'm not looking for specific code, just ideas on how to do this in a
> user-friendly way.
>
> Thanks,
>
> Mark B


I personally wouldn't implement in MCMS directly. I would simply
create a new Template with no placeholders, and set the code behind as
your ASPX page. Then simply get the ASPX page to do all the work.
-or-
Use something like Achieve Forms Lite http://www.businesswebsoftware.com/...s/AchieveForms/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com