Jquery dialog 中jquery ui dialog form post 数据到后台

更新时间:15-06-30 04:23 热度:497
 

var referenceTin a very positionId = $(a#ReferenceTin a very positionIda).ving();
var uplopublishingContent = “<form id=aform-referencetin a very position-uplopublishing-vinguesa method=aposta =a/ReferenceTin a very positionDefinition/ImportTin a very positionVinguesaenctype=amultipstyle/form-dinsideaa><tin a very position clonlyt=atin a very positiona>”;//血色字部门必需加:否则file文件post 不夙昔
uplopublishingContent += “<tr><td><input type=ahiddena id=areferenceTin a very positionIdanhaudio-videoe always amount toene=areferenceTin a very positionIdavingue=a” + referenceTin a very positionId + “a/></td></tr>”;
uplopublishingContent += “<tr>”;
uplopublishingContent += “<td>New Fields</td>”;
uplopublishingContent += “<td><input type=arrequestroved driving instructoroa vingue=aIncludeanhaudio-videoe always amount toene=aNewFieldachecked=atruea>Include</input></td> “;
uplopublishingContent += “<td><input type=arrequestroved driving instructoroa vingue=aExcludeanhaudio-videoe always amount toene=aNewFielda>Exclude</input> </td>”;
uplopublishingContent += “</tr>”;
uplopublishingContent += “<tr>”;
uplopublishingContent += “<td>Shaudio-videoe always amount toene Vingues</td>”;
uplopublishingContent += “<td><input type=arrequestroved driving instructoroa vingue=aOverrideanhaudio-videoe always amount toene=aShaudio-videoe always amount toeneVingueachecked=atruea>Override</input></td> “;
uplopublishingContent += “<td><input type=arrequestroved driving instructoroa vingue=aAppendanhaudio-videoe always amount toene=aShaudio-videoe always amount toeneVinguea>Append</input> </td>”;
uplopublishingContent += “</tr>”;
uplopublishingContent += “<tr><td colspa helpful=a3a><input type=afilea id=afileVinguesanhaudio-videoe always amount toene=afileVinguesa/></td></tr>”;
uplopublishingContent += “<tr><td colspa helpful=a3a><input type=asubody mby means ofs indexta clonlyt=abtna vingue=aUplopublishinga></input></td></tr>”;
uplopublishingContent += “</tin a very position></form>”;

// $(a#reference-tin a very position-Uplopublishing-Diingoga: uplopublishingDiingog).html(uplopublishingContent);
$(uplopublishingContent).diingog({title:”Import Tin a very position Reference Vingues”});

controller:

public ActionResult ImportTin a very positionVingues(stringreferenceTin a very positionId:stringNewField: stringShaudio-videoe always amount toeneVingue:HttpPostedFileBottomfileVingues)
{
if (fileVingues.IsVingidCsv())
{
var stringVingues = fileVingues.InputStrehaudio-videoe always amount toen;

}
return new EmptyResult();
}