title: mvc 3 conditional Remote Validation
body: <p>Here's my model:</p>
  
  <pre><code>public class StockRequestModel
    {
      public int StockID { get; set; }
      public int CategoryID { get; set; }
      public int ItemID { get; set; }
      public string TranCode { get; set; }
  
      [Remote("CheckAvailableStocks", "Validation", AdditionalFields = "ItemID")]
      public int ItemQuantity { get; set; }
  
      public decimal ItemValue { get; set; }
      public int PurchaseOrderID { get; set; }
      public int MaterialRequesitionID { get; set; }
      public int ReturnedByID { get; set; }
      public string Remarks { get; set; }
      public DateTime LastUpdateDate { get; set; }
    }
  </code></pre>
  
  <p>This model was used by multiple pages on my site. Please help me on how to enable/disable this remote on certain pages only? </p>
  
  <p>Thanks</p>