Can we set the ExceptionMessage in replace handler (Enterprise library) using resource files? if yes how?
I have an application named ResourceExample. This has a App_GlobalResources folder containing the MyResourceabc.resx which contains mapping of "
ErrorMessage" to "Server Not found" String.
In the Web config file:
In the Default.aspx, i am throwin this error on button click for testing,
ArgumentNullException ex = new ArgumentNullException("ErrorMessage");
But its not picking the Error String from the resource file!!
Please let me know if there is some thing which i did wrong...
Thanks in advance for the help,