hi,
after having some experiments with the panel i think it is really great and correct me if i am wrong but i think i can achieve the same AJAX functionality with jquery templating on the client side with the panel by doing the following technique
i create a web-service and request it by the panel and what i get is pure JASON, then i deserialize the Jason and use jquery to bind the value using $each function.
now i got tow questions, how i can deserialize the value comming from server like for example
i use the following code but nothing happens
functionResponseEnding(sender, args) {
$('#RadTextBox1_text').val(get_content().name);
}
second question is is there a way to loop through template other than using $each function ?
thanks in advanced.
after having some experiments with the panel i think it is really great and correct me if i am wrong but i think i can achieve the same AJAX functionality with jquery templating on the client side with the panel by doing the following technique
i create a web-service and request it by the panel and what i get is pure JASON, then i deserialize the Jason and use jquery to bind the value using $each function.
now i got tow questions, how i can deserialize the value comming from server like for example
{"d":{"__type":"user","name":"james","family":" smith"}}
i use the following code but nothing happens
functionResponseEnding(sender, args) {
$('#RadTextBox1_text').val(get_content().name);
}
second question is is there a way to loop through template other than using $each function ?
thanks in advanced.