ASP.NET Webform: Buttons in Datatables Jquery plugin Issue

Previous Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ASP.NET Webform: Buttons in Datatables Jquery plugin Issue

asmak9
Administrator
In reference to the Issue presented at Asma's Blog. Here is my solution i.e. Issue is not in the code. IIS server has query request limit on GET method. So, do the following in your web.config file which will resolve the issue i.e.

    .....

  <system.web>
    <authentication mode="None" />
    <compilation debug="true" targetFramework="4.5.2" />
    <!-- maxQueryStringLength= the value is in Character and maxUrlLength= the value is in Character -->
    <httpRuntime targetFramework="4.5.2" maxQueryStringLength="65536" maxUrlLength="65536" />
  </system.web>   
  <system.webServer>
    <!-- maxQueryString = 1GB (the value is in Bytes) -->    
    <security>
      <requestFiltering>
        <requestLimits maxQueryString="1073741824" />
      </requestFiltering>
    </security>        

    .....

  </system.webServer>

    .....

Sample Web.config file. You will be then able to add more columns i.e...
Thanks & Regards.
Asma's Blog

Like, Share, Support, Subscribe!!!
YouTube Subscribe: https://bit.ly/2sY1aBb

Website: https://www.asmak9.com/
E-Store Bytezaar: https://www.bytezaar.com/
Facebook: https://www.facebook.com/AK.asmak9/
LinkedIn: https://www.linkedin.com/company/asmak9
Twitter: https://twitter.com/asmak/