Hey,
Does someone know if it's possible to update contents on the webform without sending the viewstate and other useless stuff?
Sometimes I update only one value of a textbox. An update of the viewstate is not necessary. This is a problem; sending the viewstate again makes the reponse to slow . (it takes >500ms, and that is too slow)
Withajaxpro the response takes ~40ms. But I don't want to use both frameworks (I use ajax.asp already for the ajaxtoolkit)
I tried:
ps. I don't want to disable or reduce the viewstate, that isn't possible.
Hi
You can use page methods. No ViewState is transferred when invoking page method. Then update your TextBoxes with JavaScript.
Seehttp://www.singingeels.com/Articles/Using_Page_Methods_in_ASPNET_AJAX.aspx
-yuriy
http://couldbedone.blogspot.com
AH, that looks interesting. It look likes the ajaxpro method.
I will post later some comparison times.
No comments:
Post a Comment