c# - Why IsCallback doesn't work in Master page? -
i using master page , have perform function on initial load. i'm using ajax , devexpress controls have check !ispostback , !iscallback. when try use iscallback intelisense doesn't work , if write anyway error message "the name iscallback doesn't exist in current context". page.iscallback intelisense works , no error message given.
is there explenation this? there problem checking callbacks in master pages?
actual explanation simple enough: masterpage
class defines ispostback
, , not define iscallback
. page
class on other hand has both these properties. why intellisense gave nothing in sole iscallback
.
i believe reason behind master pages not designed differentiate between types of requests - job left pages. in way callback special type of postback. in other words iscallback
true when ispostback
true, ispostback
should suffice need.
Comments
Post a Comment