[RESOLVED]Passing authorization token in jquery Data Table Header

Hi everyone

Can u please give me a detail example of how to pass authorization token in j query data table header.  

inside the site or to the external site?

Hi aftab104,

For your issue ,below are my suggestion:
If the authorization token is retrieved from server side,you can use ajax to call the webmethod in the server side ,and get the authorization token ,set it to the jquery data table header.

Here is a working demo for how to use ajax call web service:

http://www.aspsnippets.com/Articles/Calling-ASPNet-WebMethod-using-jQuery-AJAX.aspx

Best Regards,

Kevin Shen.

Leave a Reply