jquery - PagedList appending complete page data in GET request -


i trying implement pagedlist asp.net mvc page. have created modal data , created staticpagedlist that. here controller:

        objpvm.notificationslist = objutil.getworkgrouprecords(session["selectedwrkgrp"].tostring(), objpvm);         objpvm.pagednlist = new staticpagedlist<finalizenotificationvm>(objpvm.notificationslist, objpvm.qrconfig.pageindex, objpvm.qrconfig.pagesize, objpvm.qrconfig.totalrecords); 

here view:

<div class="text-center" data-res-target="#searchresults">     @html.pagedlistpager(model.pagednlist, pg => url.action(model.viewname, new { pg, nstatus = model.notificationstatus }),     new pagedlistrenderoptions() { display = pagedlistdisplaymode.ifneeded, displaypagecountandcurrentlocation = true }) </div> 

when trying pagenate while navigating through pagedlist, getting following error:

http error 404.15 - not found the request filtering module configured deny request query string long.

here screen prints, related paged list http://postimg.org/image/vu280etwz/ http://postimg.org/image/t190gdtkj/

please help, in resolving this. thank you

somehow entire notificationslist collection being put query string. result of submitting form via (a search box perhaps?). what's causing error there's upward limit data can attach query string , you've exceeded it. you'll need find different way handle form submittal without requiring data go query string.


Comments