I have a Kendo().Upload() defined in MVC4.
My events handlers are defined as:
.Events(ev => ev.Select("onFileSelected"))
My asynchronic is defined as.
.Async(a => a.Save("uploadFile", "uploadEmailAddresses", new { intListDescID = "[intListDescIDSelected]", campaignID = "[campaignIDSelected]" }))
As You see I am using routing parameters and it is working fine on my uploadFile ActionResult within the uploadEmailAddresses controller.
But my values within the route need get changed dynamically as for two dropdowns result
<select id=”campaignIDSelected”></select>
and
<select id=” intListDescIDSelected”></select>.
How can I change those two routing values from within the function onFileSelected(e)?
My events handlers are defined as:
.Events(ev => ev.Select("onFileSelected"))
My asynchronic is defined as.
.Async(a => a.Save("uploadFile", "uploadEmailAddresses", new { intListDescID = "[intListDescIDSelected]", campaignID = "[campaignIDSelected]" }))
As You see I am using routing parameters and it is working fine on my uploadFile ActionResult within the uploadEmailAddresses controller.
But my values within the route need get changed dynamically as for two dropdowns result
<select id=”campaignIDSelected”></select>
and
<select id=” intListDescIDSelected”></select>.
How can I change those two routing values from within the function onFileSelected(e)?