DependsOn

The parent property that this cascading dropdown depends on.

NOTE: This path is case sensitive!

public class ViewModel 
{
    public int? StateId { get; set; }
   
    [Cascading(DependsOn="StateId")]
    public int? TownId { get; set; }
}

Last edited Feb 17, 2012 at 11:00 PM by rossisdead, version 1

Comments

No comments yet.