In my ASP.NET 4.0 application I recieve an object called GeneralQuestions from my WCF service. I need to populate the data from the object in the below shown format.
GenearlQuestions object has the following properties
OrderId
Header
QuestionContent
QuestionType (Based on this value I have to create a Dropdown or Radiobutton or Text box)
SubQuestions ( This is a property of type class which has OrderId, Header, QuestionContent, QuestionType properties. For example Question 15)
Can somebody guide me how can I accomplish this using JQuery.