Some questions:

- Which version of the databinder are you using?

- Page[0].Questions[0].ID
  What is the type of Questions? Is it an IList/ISet or an array?

- [EMAIL PROTECTED]
  Meta attributes are not used anymore on the new databinder impl. You
may remove it if you are using it.


On 10/5/06, Kevin Williams <[EMAIL PROTECTED]> wrote:
> I see. Here you go:
>
> <!DOCTYPE html
>      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>  <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
>         <head>
>                 <title>Course Service - GetGetStudentExam</title>
>                 <style type="text/css">
>                         #nav {
>                                 font-size: 0.8em;
>                                 padding: 10px;
>                         }
>                 </style>
>         </head>
>         <body>
>                 <div id="container">
>
>                         <span id="nav"><a
> href="/MercuryQA/home/index.ashx">Home</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
> href="/MercuryQA/course/contentitemlist.ashx?id=2037027">Content Item
> List</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
> href="/MercuryQA/Exam/ExamContentItem.ashx?id=1523379">Exam Content
> Item</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
> href="/MercuryQA/home/logout.ashx">Logout</a></span><br />
>                         <span style="color:red"></span><br />
>                         <span style="color:green">Retrieved Student Exam for 
> item ID
> 1523379</span><br />
>                         <form method="post" action="SubmitStudentExam.ashx">
>
> <input type="hidden" name="[EMAIL PROTECTED]" id="[EMAIL PROTECTED]" 
> value="1" />
> <table>
>
>         <tr>
>                 <td>
>                         <table>
>                                 <tr>
>                                         <th colspan="2">
>                                                 <strong>PAGE 1</strong>
>                                                 <input type="hidden" 
> name="Page[0].ID" id="Page[0].ID"
> value="374179" />
>
>                                         </th>
>                                 </tr>
>                                 <tr>
>                                         <td>ID</td>
>                                         <td>374179</td>
>                                 </tr>
>                                 <tr>
>                                         <td>Title</td>
>
>                                         <td>[Sample Exam Page 1 of 1 
> Title]</td>
>                                 </tr>
>                                 <tr>
>                                         <td>Instructions</td>
>                                         <td>[This is the only page of the 
> exam that can be used offline.
> These are the page instructions and they are enclosed in square brackets
> for testing purposes.]</td>
>                                 </tr>
>                                 <tr>
>
>                                         <td>Questions</td>
>                                         <td>
>                                                 <ul>
>
>                                                         <li>
>                                                                 <a 
> href="/MercuryQA/Exam/ExamQuestion.ashx?id=15523191">[This is
> a true/false question. The correct answer is true. As with everything
> else I'm using square brackets to denote entered text. The square
> brackets are not required, they are only here for testing purposes.]</a>
>                                                                 <input 
> type="hidden" name="Page[0].Questions[0].ID"
> id="Page[0].Questions[0].ID" value="15523191" />
>                                                                 <input 
> type="hidden" name="[EMAIL PROTECTED]"
> id="[EMAIL PROTECTED]" value="4" /><br />
>                                                                 <input 
> type="radio"
> name="Page[0].Questions[0].StudentAnswers[0].Text" value="True"  />
> [True Explanation: The correct answer is true.]<br />
>
>                                                                 <input 
> type="radio"
> name="Page[0].Questions[0].StudentAnswers[0].Text" value="False"  />
> [False Explanation: The correct answer is not false.]<br />
>
>                                                         <li>
>                                                                 <a
> href="/MercuryQA/Exam/ExamQuestion.ashx?id=15523192">[Multiple&nbsp;Choice
> Question: The correct answer is 'Three.]</a>
>                                                                 <input 
> type="hidden" name="Page[0].Questions[1].ID"
> id="Page[0].Questions[1].ID" value="15523192" />
>                                                                 <input 
> type="hidden" name="[EMAIL PROTECTED]"
> id="[EMAIL PROTECTED]" value="4" /><br />
>
>                                                         <li>
>                                                                 <a
> href="/MercuryQA/Exam/ExamQuestion.ashx?id=15523193">[Multiple Answer
> Question: The Correct Answers are 'Two' and 'Three.']</a>
>
>                                                                 <input 
> type="hidden" name="Page[0].Questions[2].ID"
> id="Page[0].Questions[2].ID" value="15523193" />
>                                                                 <input 
> type="hidden" name="[EMAIL PROTECTED]"
> id="[EMAIL PROTECTED]" value="4" /><br />
>
>                                                         <li>
>                                                                 <a
> href="/MercuryQA/Exam/ExamQuestion.ashx?id=15523194">[Fill-in-the-Blank
> Question: Acceptable answers are 'Yes' and 'Correct.']</a>
>                                                                 <input 
> type="hidden" name="Page[0].Questions[3].ID"
> id="Page[0].Questions[3].ID" value="15523194" />
>                                                                 <input 
> type="hidden" name="[EMAIL PROTECTED]"
> id="[EMAIL PROTECTED]" value="4" /><br />
>
>                                                         </li>
>                                                 </ul>
>
>                                         </td>
>                                 </tr>
>                         </table>
>                 </td>
>         </tr>
>
> </table>
> <input type="submit" value="Submit"  />
>
> </form>
>
>                 </div>
>
>         </body>
>  </html>
>
>
> hammett wrote:
> > All I see the is ASP.Net WebForms code. I need html code generated by it.
> >
> > On 10/5/06, Kevin Williams <[EMAIL PROTECTED]> wrote:
> >> Scroll down, it's all there.
> >>
> >> hammett wrote:
> >>> Sorry, but I need to see the form html.
> >>>
> >>> On 10/5/06, Kevin Williams <[EMAIL PROTECTED]> wrote:
> >>>> I'm trying to use DataBind with an object graph (nested object
> >>>> hierarchy). I'm getting the top-level object, but not the children. What
> >>>> am I doing wrong?
> >> -------------------------------------------------------------------------
> >> Take Surveys. Earn Cash. Influence the Future of IT
> >> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> >> your
> >> opinions on IT & business topics through brief surveys -- and earn cash
> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >> _______________________________________________
> >> CastleProject-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/castleproject-users
> >>
> >
> >
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> CastleProject-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/castleproject-users
>


-- 
Cheers,
hammett
http://hammett.castleproject.org/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users

Reply via email to