Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I currently have a ExtJS class with a combo box. I have the combobox selection saved to a variable. I want to retrieve this variable in a method in a controller on a different class.

C#
   formatStyleSelected = !Ext.getCmp("FormatId").value ? 0 :Ext.getCmp("FormatId").value;

document.getElementById("formatStyleSelected").setAttribute("value",formatStyleSelected);
document.forms["spreadsheetForm"].submit();


I want to see this info in this method
C#
[HttpPost]
        [Authorize(Roles = RoleAdmin + "," + RoleBilling + "," + RoleBillingDocument)]
        public ActionResult GenerateTripLog(int driverId, int vehicleId, int typeId, int customerId, DateTime sDate, DateTime eDate)
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900