开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜