User1052662409 posted
Hi All,
I am using MVC 5 with a small (a sub-module) angular app.
I have a view index.cshtml. In this view, I have included a Menubar.html.
<div ng-include="'../LocalizationAdmin/Partials/Menubar.html'"></div>
All working fine without any issue.
Now I want to add two inputs in that Menubar.html like below.
<li>
<input type="file" name="file" id="file" /><br><br>
<input type="submit" value="Upload Excel" />
</li>
<li>
<a ng-show="view.isLocalizationTable"
xng-click="view.onExportResxResourcesClick()"
data-toggle="modal" data-target="#ImportExportResxDialog"
title="{{::view.dbRes('ExportResx_Title')}}"
data-resource-id="ImportExportResx">
<i class="fa fa-download"></i> {{::view.dbRes('ImportExportResx')}}
</a>
</li>
The control with id "ImportExportResx" showing on the page and working fin, but I am unable to find the below inputs on the page.
<li>
<input type="file" name="file" id="file" /><br><br>
<input type="submit" value="Upload Excel" />
</li>
I want to call a index.cshtml's controllers ActionResult by using the inputs.
I am not aware of angular please suggest.
Thanks