[assembly: WebResource("DealerSocket.Web.WebForms.Controls.CSharp.datePickerSC.js", "text/javascript")]
Open in new window
The above works fine if the datePicker.js file is in the "root" or at the same level as the webcontrol.cs file.
But how does the WebResource path change if the .JS file is inside a folder?
[assembly: WebResource("DealerSocket.Web.WebForms.Controls.CSharp <<< folder path >>>datePickerSC.js", "text/javascript")]
Open in new window
This
vs this: