Vb.net 响应。重定向不更改URL

Vb.net 响应。重定向不更改URL,vb.net,redirect,asp.net-ajax,ascx,Vb.net,Redirect,Asp.net Ajax,Ascx,单击网页上的某个元素后,我从Response中获得了预期的行为。在跟踪中重定向,预期页面上的断点会被命中并继续正常处理。但是,当我希望加载新页面时,浏览器中的显示不会改变。它的外观和行为类似于单击将您带回同一页面 我已经将重定向调用移出了try-catch块,并使用HttpContext…CompleteRequest()尝试将true/false的不同组合作为第二个参数 什么可能会阻止从Response.Redirect调用后加载页面?页面加载子完成 编辑: 该网站使用css和javascri

单击网页上的某个元素后,我从Response中获得了预期的行为。在跟踪中重定向,预期页面上的断点会被命中并继续正常处理。但是,当我希望加载新页面时,浏览器中的显示不会改变。它的外观和行为类似于单击将您带回同一页面

我已经将重定向调用移出了try-catch块,并使用HttpContext…CompleteRequest()尝试将true/false的不同组合作为第二个参数

什么可能会阻止从Response.Redirect调用后加载页面?页面加载子完成

编辑:
该网站使用css和javascript创建一个包含自引用链接的可悬停下拉菜单,见下文。我尝试使用Chrome的开发工具来查看网络正在处理什么。据我所知,通过阅读网络标签,点击创建了正确的呼叫;状态200,输入xhr。xhr是我唯一觉得奇怪的东西,但看起来这只是对ajax的引用?这让我处于同样的位置。我告诉站点重定向到新的url,我看到网络接受了对该url的请求,但地址栏中的url没有改变;而不是显示的页面

 $(document).on('click','.navigation', function () {
            loadItems($(this).attr('id'), $(this).attr('itemName'));
            return false;
        }
        );

var loadItems = function (id, itemName) {
    var editInfor =
        {
            "method": "getChildItems",
            "id": id
        };

    $.ajax
        (
            {
                type: "POST",
                url: $.url,
                dataType: "json",
                data: JSON.stringify(editInfor),
                success: function (jsonReply) {

                    $("#chkEnabled").attr('checked', jsonReply.enabled)
                    if (jsonReply.method == 'getChildItems') {

                        $("#childrens").html('');
                        var html = '<table>'
                        if (jsonReply.successfull) {
                            $.each(jsonReply.children, function (i, item) {
                                html += '<tr><td><span class="children">' + item.text + '</span></td><td><a class="moveItemUp btn" href="#" id="moveItemUp' + item.id + '">Move Up <i class="icon-circle-arrow-up"></i></a> <a class="moveItemDown btn" href="#" id="moveItemDown' + item.id + '">Move Down <i class="icon-circle-arrow-down"></i></a></td><td><a href="#" class="removeItem btn btn-danger" id="removeItem' + item.id + '">Remove</a></td></tr>'

                            });
                        }
                        html += '</table>'
                        $($.childrens).html(html);
                    }
                }
            }
        );
$(文档).on('click','navigation',函数(){
loadItems($(this.attr('id'),$(this.attr('itemName'));
返回false;
}
);
var loadItems=函数(id、itemName){
var editInfor=
{
“方法”:“getChildItems”,
“id”:id
};
$.ajax
(
{
类型:“POST”,
url:$.url,
数据类型:“json”,
数据:JSON.stringify(editInfor),
成功:函数(jsonReply){
$(“#chkEnabled”).attr('checked',jsonReply.enabled)
if(jsonReply.method==“getChildItems”){
$(“#childrens”).html(“”);
var html=''
if(jsonReply.successfull){
$.each(jsonReply.children,函数(i,项){
html+=''+item.text+''
});
}
html+=''
$($.childrens.html);
}
}
}
);
请尝试以下操作:

$.mobile.changePage( "/Exmaple.aspx", {

  transition: "pop"

}); 

您要重定向到的页面是否也有代码可以在加载时将您重定向回原始页面?@NoAlias:没有,只是重复检查这看起来像javascript,我如何在逻辑中使用它来检查数据库的结果?