开发者

Querystring being stripped when redirecting from Usercontrol

开发者 https://www.devze.com 2023-03-13 09:09 出处:网络
I have a user control that is redirecting to a page, passing params through the querystring (nothing needing encryption). When I redirect and request the querystring values at the target page, they\'r

I have a user control that is redirecting to a page, passing params through the querystring (nothing needing encryption). When I redirect and request the querystring values at the target page, they're null. Seems simple but not sure what's happening here. Attached is the code sample.

<开发者_运维百科;script type="text/javascript">
    function ConfirmDelete(deleteUrl) 
    {
        var answer = confirm("Delete member?")
        if (answer) {
            window.location.href = deleteUrl;
        }        
    }    
</script>

Ideas?

0

精彩评论

暂无评论...
验证码 换一张
取 消