c#webbrowser不显示ajax contenct [英] c# webbrowser doesnt show ajax contenct

查看:164
本文介绍了c#webbrowser不显示ajax contenct的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了一个c#windows表单应用程序,添加了一个webbrowser1控件。当我启动我的应用程序时,webbrowser在我的网页中启动,但它没有显示一些内容,因为在点击选项卡或按钮后会加载一些内容。将ajax内容添加到网页后,有没有人知道重新加载页面的简单解决方案,以便webbrowser显示它?

解决方案

使用什么样的Ajax?

你能尝试使用JQuery吗?并写下您的初始代码


(document).ready(function(){



});

I made a c# windows forms application, added a webbrowser1 control. When I lounch my app, webbrowser starts in my webpage, but it doesnt show some of the content, It`s probobly becouse there some content that loads after I click a tab or button. Does anyone know a simple solution to reload the page, after the ajax content is added to the webpage so webbrowser would display it?

解决方案

What kind of Ajax is used?
Can you try using JQuery? and write your initial code inside


( document ).ready(function() {

});


这篇关于c#webbrowser不显示ajax contenct的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆