ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Lookup with 2 columns RenderView error
Title:
B
I
{code}
?
I have @Html.Awe().LookupFor(o => o.ID_ARTICOLO).Fullscreen(false).CssClass("form-control").TableLayout(true) in controller var result = new AjaxListResult { Content = this.RenderView("_Articolo", items), More = count > page * pageSize }; RenderView give me an error : ID_ARTICOLO System.ArgumentNullException: Value cannot be null. (Parameter 'view') at Microsoft.AspNetCore.Mvc.Rendering.ViewContext..ctor(ActionContext actionContext,............. Have any idea ?
Save Changes
Cancel
Meccanica Rossi
asked at 29 Jun 2023
Could be that it can't find the view, or there is an error inside that view, you could make it empty to check if it works when it's empty. Btw instead of the legacy tableLayout you could use LookupGrid https://demo.aspnetawesome.com/LookupDemo/Misc#Lookup-Grid
at 29 Jun 2023
Omu
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