Removing a querystring from url in asp.net

后端 未结 4 656
[愿得一人]
[愿得一人] 2020-12-18 15:36

HI, I need to remove a querystring when a user clicks a particular LinkButton. So for example if the querystring is http://UserProfileManager.com?UserID=1234 .... when the u

4条回答
  •  自闭症患者
    2020-12-18 15:54

    On page load you could extract the query string to a hidden text box.

    When the user clicks the button clear the text box

    If the user navigates away use the string in the text box and append the query string to the URL.

    I hope this helps Sp

提交回复
热议问题