Dear all,
I have a user control with (RadAjaxProxyManager) and the (RadAjaxManager) on the ASP.NET page where the user control lives
I need to put the below JS function isnide .JS file not on the page directly. I want to get rid of the RadCodeBlock tag as well I'm combining JS in files. I dont want to have inline JS functions on ASP.NET pages.
<rad:RadCodeBlock ID="RadCodeBlock1" runat="server"><script type="text/javascript"> function refreshAttachmentGrid(arg) {$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("RefreshAttachment");}</script></rad:RadCodeBlock>
The code works fine, all I need is to move it to JS file.
Thanks in advance.
Taiseer