I have following method
- [HttpGet]
- [ValidateInput(false)]
- public ActionResult Create_Brochure(IEnumerable<ProductsPropertiesVM> model)
- {
-
- IEnumerable<int> selectedIDs = model.Where(x => x.IsChecked).Select(x => x.Property_ID);
-
-
- PrepairEditor(delegate (Editor editor)
- {
- editor.LoadHtml("~/brochuretemplates/myhtml.html");
- });
-
- return View();
- }
Once I send
IEnumerable<ProductsPropertiesVM> model I can filter some
selectedIDs
Once I run this on debug mode normally those selectedIDs appear like this
So I need to send those selectedIDs to myhtml.html file
if ask that in another way ,
(if I consider this selectedIDs can send as an array)
I want to know how we can append above selectedIDs array with editor.LoaHtml("path") .
If you not clear what I'm saying please let me know.
simply I want to send some array or parameters once Its loading the HTML file as RTE content