I have simple javascript function:
<form id="form1" runat="server">
<script type="text/javascript">
function doSomething(message) {
var div1 = document.getElementById('div1');
div1.innerHTML = 'afas';
}
</script>
<telerik:RadButton ID="btnShowUpload" runat="server" OnClientClicked="doSomething('test1')" Text="Upload file">
</telerik:RadButton>
When I set breakpoint in function OnClientClicked and start by F5 and then click button, application doesn't stop at breakpoint. It only stop when I run my project by Start without Debug and then in Mozilla (firebug) I can set breakpoint in this function and it stop when I press button. How to debug in Visual? not in Mozilla ?
Thanks