How to limit transmition of ViewState during ajax call
Is i开发者_C百科t possible to get viewstate only for related controls of update panel in asp.net ajax framework. I know that the browser sends all the viewstate during post back, even if we dont need the whole viewstate for ajax calls.
no its not possible. this is how asp.net ajax works. you should probably use jquery ajax instead
Have a look at this excellent case study of Codeplex, which also used UpdatePanel and suffered from bloated ViewState.
http://encosia.com/2008/12/03/have-you-ever-wondered-why-codeplex-is-so-slow/
精彩评论