ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
ajaxlist inside lookup problem
Title:
B
I
{code}
?
Hi,i use @Html.Awe().AjaxList and lookup very similar to example but: When i create new item the ajaxlist is automatic refresh an visualize new item in grid but when i edit a existent item the grid is not refreshed and not view my modify.There is a method for force refresh in an ajaxlist?thanks
Save Changes
Cancel
Kondor
asked at 12 Feb 2014
the lookup has a custom SearchForm, in that custom view there's a Create button which calls a PopupForm, for the editing/deleting a custom Item template is used for the lookup so that each item in the list has an edit and delete button, the edit/delete button calls a PopupForm as well,create and edit PopupForm have success js function attached which receive from the server the rendered row and after it appends/update the list with it
at 13 Feb 2014
Omu
Answers
B
I
{code}
?
to force refresh ajaxlist you use the api $('#id').data('api').load(); (http://demo.aspnetawesome.com/AjaxListDemo/ClientSideApi) but since your mentioning the crud inside lookup perhaps you mean the ajaxlist inside the lookup popup in which case you need to call submit on the form inside the popup
Save Changes
Cancel
Omu
answered at 12 Feb 2014
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