I have the following file structure:
community/Sandipan
community/Sandipan/controllers/Adminhtml/ProductfileuploadbackendController.php [1]
I have a template file in the following directory:
design/adminhtml/default/default/template/productfileupload/catalog/product/tab.phtml [2]
My class [1] looks like this:
class Sandipan_Productfileupload_Adminhtml_ProductfileuploadbackendController extends Mage_Adminhtml_Controller_Action {
public method deleteRecordAction() {
}
}
I want to send AJAX request to deleteRecordAction from my template [2], how can I do that? I tried the following:
Mage::helper("adminhtml")>getUrl("adminhtml/productfileuploadbackend/deleteRecord");
But it's not working.
