In my aspx page, I am calling a javascript function on button's OnClientClieck. The javascript is also written in the same page. It is throwing "There is no source code available for the current location" while clicking on button.
The same javascript is working fine in another aspx page of same project.
Please help me out in resolving the issue
Thanks in advance.
- Haritha Kakarla
Please Mark as Answer if this post is helpful
Regards,
Haritha Kakarla
I am calling a javascript function on button's OnClientClieck. The javascript is also written in the same page. It is throwing "There is no source code available for the current location" while clicking on button.
I’d like to know whether you will get the same error if you comment out javascript code. Besides, according to your error message, it seems that the error is not a javascript error.
That is javascript error only I guess since it is throwing the error when I put break point in that javascript function. Sometimes it is working when I remove all the temp files and restart the visual studio altogether. But sometimes it is not working even
after restarting.
-- Haritha
Please Mark as Answer if this post is helpful
Regards,
Haritha Kakarla
Member
58 Points
125 Posts
It is showing "There is no source code available for the current location" while calling javascri...
Jan 28, 2016 07:56 AM|haritha.kakarla|LINK
Hi Friends,
In my aspx page, I am calling a javascript function on button's OnClientClieck. The javascript is also written in the same page. It is throwing "There is no source code available for the current location" while clicking on button.
The same javascript is working fine in another aspx page of same project.
Please help me out in resolving the issue
Thanks in advance.
- Haritha Kakarla
Regards,
Haritha Kakarla
All-Star
38076 Points
5159 Posts
Microsoft
Re: It is showing "There is no source code available for the current location" while calling java...
Jan 29, 2016 05:29 AM|Fei Han - MSFT|LINK
Hi Haritha,
I’d like to know whether you will get the same error if you comment out javascript code. Besides, according to your error message, it seems that the error is not a javascript error.
http://stackoverflow.com/questions/314329/getting-rid-of-there-is-no-source-code-available-for-the-current-location (here is a similar issue)
Best Regards,
Fei Han
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue.
Member
58 Points
125 Posts
Re: It is showing "There is no source code available for the current location" while calling java...
Jan 29, 2016 05:27 PM|haritha.kakarla|LINK
Hi Fei Han,
That is javascript error only I guess since it is throwing the error when I put break point in that javascript function. Sometimes it is working when I remove all the temp files and restart the visual studio altogether. But sometimes it is not working even after restarting.
-- Haritha
Regards,
Haritha Kakarla
All-Star
38076 Points
5159 Posts
Microsoft
Re: It is showing "There is no source code available for the current location" while calling java...
Feb 04, 2016 09:11 AM|Fei Han - MSFT|LINK
Hi Haritha,
Please try to create a new page to replace the old problem page and run your application to check whether same issue will appear.
Best Regards,
Fei Han
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue.