Skip to main content

Microsoft Silverlight

Answered Question how to change content of a control.....if something is changing in my DBRSS Feed

(0)

waanil
waanil

Member

Member

0 points

1 Posts

how to change content of a control.....if something is changing in my DB

Hi all,

I am geting some  feed(DB)....and i need to update the content of my control as the new feed comes.

How can i achieve it ..in SilverLight ?

 

Klinger
Klinger

Participant

Participant

1686 points

300 Posts

Re: how to change content of a control.....if something is changing in my DB

Are you binding those controls to a property of an object?

If you are, just implement the INotifyPropertyChanged interface on the class and raise the property changed event for each property.

If you are binding to a collection, use an ObservableCollection.

If you are not binding to an object than your only option is to update the controls in the code behind. 

That's all I can say based on the info available on your question.

Mog Liang - MSFT
Mog Lian...

All-Star

All-Star

15884 points

1,541 Posts

Answered Question

Re: how to change content of a control.....if something is changing in my DB

Hi,

If you are using SyndicationFeed to resolve Feed, then you could use LastUpdatedTime property to determine if feed has updated. when feed updated, refill the view control to display latest data.

Thanks,

 

Mog Liang
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities