ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Pass entire model to popup form
Title:
B
I
{code}
?
Hi I want to ask if we can pass entire model to a partial view as .parent using popup form ?
Save Changes
Cancel
Tanuj Shrivastava
asked at 11 Nov 2016
yes, use `.ParameterFunc` http://demo.aspnetawesome.com/PopupFormDemo#Sending-client-side-paramters-to-server-on-content-load in the js func you could do something like: `return @Html.Raw(Json.Encode(Model));`
at 11 Nov 2016
Omu
got it, now its working after using return `@Html.Raw(Json.Encode(Model));` Thanks
at 14 Nov 2016
Tanuj Shrivastava
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK