I have a aspx page which contains dozens of custom controls issue is i have a asp.net Ajax update panel which update small area of the page which other user controls lives in the page.(user controls are outside the update panel and update panel has UpdateMode="Conditional") Is there a way of programatically prevent running code behind of custom controls, Since this seriosly degrade performace/page load time. I have a check for IsAsyncPostback for script manager to prevent unnecessary calls to DAL. Is there a way to prevent running custom control code behind according to following conditions,
- cannot touch custom control code behind,ascx page file etc
- cannot use caching
- Any change can be done to the aspx page and its code behind where I am referring above.
- Cannot integrate Jquery or javascript frameworks(wish i could) its too late to do that now.