Adf.Web.Binding.BindOnPostbackAttribute.MustBindOnPostback C# (CSharp) Method

MustBindOnPostback() public static method

Indicates whether the specified binder must bind this attribute of a control on postback.
public static MustBindOnPostback ( IControlBinder binder ) : bool
binder IControlBinder The binder.
return bool
        public static bool MustBindOnPostback(IControlBinder binder)
        {
            if (binder == null) return false;

            return (binder.GetType().GetCustomAttributes(typeof(BindOnPostbackAttribute), false).Length > 0);
        }
BindOnPostbackAttribute