Hi,
i am having a text box and i am calling the searchfilter service(Factory-angular) which returns the collection based on the text entered in it. It is triggered after 3 characters entered. And i am having a button which is going to call a webapi with items entered in the text box as paramter. The problem is controller of the webapi is not hitting untill the pending request is completed in the browser( filter service is taking time to complete). So i need idea how to stop the pending request on the browser on button click so webapi method will be called without any delay.
Any suggestions, comments are welcome!
Thanks in advance!

Gagandeep SinghRank #3,035 · 475 reputationPosted Jun 21, 2016, 2:14 AM EDT
Prathaban Durai27 reputationPosted Jun 21, 2016, 4:08 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts