How can i get pageNo. along with other Request parameters in Server Side Rendering in net core
How can i get pageNo. along with other Request parameters in Server Side Rendering in net core

I am sharing the Following Test case to Demonstrate...
Currently, I am getting all the information parameters in the header Parameters...
Is there any way I can get page number in Header Parameters which I can get server-side
live.datatables.net/kozipeta/4/edit
Please help...
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can calculate the page number by dividing the start parameter by the length parameter then adding 1. You can do this in the
ajax.data
option like this:d.pageNumebr = (d.start / d.length) + 1;
Or you can calculate it in the server script and not send it as a parameter.
Kevin
Thanks Again Kevin, You are a Saviour...