Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to open View as popup in mvc..
I have two views.. on view1 i have a link on this link i want to open view2 as popup.. view2 is a form used to insert data in database...
Is this possible??? How???
Posted

1 solution

Yes it is possible though partial view.

Following are the steps,

1. Create View2 as partial view.
2. Use jQuery model or dialogue to show popup
3. In the content of jQuery Dialogue or model just render your partial view (i.e. For View2 :
@Html.Partial("View2")
)

Hope it helps...

Sagar Solanki
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900