How to use new java script file in EP user control

Hi,

I have created new EP user control in visual studio but i am unable to refer or use the new JS file for that control.suggest how to add or refer the new JS file in visual studio user control that will reflect in Enterprise portal page.

Thanks

Dhanasekar

You can view or add the javascript file in the Visual studio web application projects.

Ex: Go to AOT. Navigate to Visual Studio Projects>Web Application Project>Edit the web application

This project will be opened in Visual Studio. Here in the solution Explorer under your Web application project you can see the Scripts folder. Under the scripts folder you can view or add the javascript for that control.