Setting values to usercontrol & reloading it
i have a usercontrol with two public properties
public DateTime fromdate
开发者_StackOverflow中文版 {
get;
set;
}
public DateTime toDate
{
get;
set;
}
I am setting this values in my code behind. After setting the values i want to reload the usercontrol so that it fires a get method which will use these dates ...how will i reload the usercontrol
http://msdn.microsoft.com/en-us/library/ms743695.aspx will get you on your way, you need to implement INotifyPropertyChanged
精彩评论