ASP.Net MVC 3 using C#
I currently have a form with some dropdown lists populated by a database. If someone wants to add a new item to that dropdown list I need to take them to another form then bring them back. Is there anyway I can do this without rigging it with session variables? Or maybe a way to do it using Ajax to open the 2nd form?
Thanks.
You can use
TempDatafor this. Although, deep down,TempDatauses session store but that’s abstracted to you viaTempData.Going Ajax route is also an option but with so little description, its hard to tell anything in detail.