I would like to interact with object that has many of objects and also methods.
class Question
{
Boolean IsVisible;
}
class Exam
{
public
list<Question> questions;
getShowenBs()
{
//piece of code
}
getHiddenBs()
{
//piece of code
}
}
From aspx page I want to only go to server side to get exam object with all questions at the first time then accoroding to answer for specific question ,some questions will appear and other will disappear and I don't need to go to server side again .Now I want to show and hide using the methods inside Exam object.I got from my friends that Sencha , Prototype and JSON can do that.Is it correct and are there can also call methods inside exam object without going to server side?
All ideas are welcomed and you can modify any thing except going to server side twice
I hope it be clear and feel free to ask me for anything
call methods inside exam object without going to server side? YourExamclass is implemented on the server. You can expose web services in order to call its methods from the client side, but that still counts as going to server side IMHO...Listinstead ofenumbut the logic is the same.