I am having a view in that I search student details and bind it in partail view.
In partail view data is bind through a Model.
Model is empty when page load that's why its thorws null refernce error on page load.
So on pagle load my model is null.
I am calling partial view pop up through jquery ajax.
So how to assign some deafults values to that model so ot doesn;t throw error

Piyush PansuriyaRank #454 · 5.5K reputationPosted Jun 3, 2019, 4:58 AM EDT
Piyush PansuriyaRank #454 · 5.5K reputationPosted Jun 3, 2019, 3:57 AM EDT
Karan Thakkar186 reputationPosted Jun 3, 2019, 4:28 AM EDT
Madan ShekarRank #428 · 5.9K reputationPosted Jun 3, 2019, 5:40 AM EDT
No results found
no results found
Gajendra JangidRank #157 · 14.9K reputationPosted Jun 3, 2019, 7:15 PM EDT