开发者

Start a Countdown timer in a Telerik RadGridView upon Button Click

I have a Start Button as one of the RadGridView columns. Upon clicking it, I need to update another a Status Column value in that particular row with a value as开发者_运维问答 started and another column as Time Remaining which should show a countdown Timer value (in minutes) decreasing and auto updates/refreshes its value Every Minute.

How can I achieve this? Also whenever I update the Status Column and assign the TimeRemaining timer value, is it possible to only update a particular row or shall all the rows be rebound?

Any help with suggestions or a sample solution would be appreciated.

Cheers,

Syed.


You can start a timer in the event handler of the button column, and update the DataItem acordingly. Also if the class you are binding implements INotifyPropertyChanged you don't need to rebind, it'll update automatically.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜