c# - FileSystemWatcher OnChanged event not updating the web page UI -


onchanged event not updating web page ui.

program control flows onchanged event , updates values of ui components not getting reflected on webpage.

public void filewatcher()         {             filesystemwatcher watcher = new filesystemwatcher();             watcher.path = xmldirectory;             watcher.notifyfilter = notifyfilters.lastwrite;             watcher.filter = "*.xml";             watcher.changed += new filesystemeventhandler(onchanged);             watcher.enableraisingevents = true;         } private void onchanged(object source, filesystemeventargs e)         {             txtstatus.text ="changed";             btncheck.enabled = false;         } 


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -