asp.net mvc - Jquery popup window and persisting data on ActionLink click -


I have firmly questioned data on ActionLink click. I have a page and the user enters certain information in the input field. One of the fields uses jquery autocomplete and if the values ​​they are looking for do not exist, they can click on the action link to create it. A jquery popup window opens. On submission, the user is returned to the main view. The problem is that the previously entered data does not exist. My question is how can I achieve it, as well as to display the popup window. I tried to use Ajax.ActionLink but partial view does not appear as a popup window. Thank you in advance.

After opening the popup window, you can send collected data from popups through javascript controller for.

After saving the database controller, you can return the created unit or related fields as JasonResult and you can use those data to set the full field value.

> After that you can close the popup using Javascript and you will not be able to lose data that was previously entered in the original window, because you are not redirected.

Thank you!

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -