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);
}