ASP.NET Web Form parameters in URL

后端 未结 4 680
眼角桃花
眼角桃花 2021-01-19 16:22

I have an ASP.NET page that contain a form that search the page.

Is there any solution so that I can have the search text in the URL?

I want to give the posi

4条回答
  •  庸人自扰
    2021-01-19 16:45

    If you want the ability to copy/paste the URL, you will need to get the search parameters from the form and redirect back to the form with the search parameters on the URL, then read the QueryString values to perform the search.

提交回复
热议问题