I am creating a web application!
I have a class which has a property on it :
public class DependencyHelper: INotifyPropertyChanged
{
private string _myString;
public virtual string MyString
{
get { return _myString; }
set
{
_myString = value;
OnPropertyChanged("MyString");
}
}
I want to have something like an event on my home page homepage.aspx.cs which will do something once the property on the class has changed. i.e will get the value of MyString and display it in an alert.
Can someone please help with this as I can not think of how to do it.
Thank you