I'm using the client side api for my rad ajax controls and as everyone know, you get a handle on the control from javascript like this:
var
tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
This works great when the javascript is inline with my html markup. However, in trying to be organized, I put my javascript in an external .js file and am then referencing the .js file from the html. This way I don't have my html and javascript together but as seperate files.
This is fine and of course standard practice, but, when my script is in a .js file, a call like this doesn't work:
var tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
Is this just a limitation or does someone know the trick for me to have a page's javascript in a .js file but at the same time be able to reference a radcontrol on the page.