仅加载网络表单. [英] Loading only web forms.

查看:59
本文介绍了仅加载网络表单.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网站中,当我单击某些页面时,所有页面(母版页,其表单)都已加载.现在,我只想加载子表单.我该怎么做?

In my website all pages(master page,its forms) are loaded when i click some page. Now, i want to load my sub forms only.How can i do this?

推荐答案

没有真正的方法.您可以使用AJAX来仅加载页面的一部分,但是没有子表单"之类的东西,它是一个很大的HTML文档,已加载到浏览器.
There is no real way to do this. You can use AJAX to load only part of a page, but there''s no such thing as a ''sub form'', it''s one big HTML document, to the browser.


你好,
正如克里斯蒂安(Christian)所言,除了 Ajax之外,别无其他方法更新面板 [ ^ ].您可以使用 JQuery [ ^ ]也可以部分加载.
请参考以下链接:
http://www.asp.net/ajax/documentation/live/overview/UpdatePanelOverview.aspx [^ ]
http://stackoverflow.com/questions/59628/ajax-partial-page-load [ ^ ]
http://stackoverflow.com/questions/4557021/mvc-3- ajax-load-partial-view-into-div [ ^ ]

希望这对您有用.
--Amit
Hi,
As Christian told you that there is not other way except Ajax Update Panel[^].You can use JQuery[^] for partial load also.
Refer the links below:
http://www.asp.net/ajax/documentation/live/overview/UpdatePanelOverview.aspx[^]
http://stackoverflow.com/questions/59628/ajax-partial-page-load[^]
http://stackoverflow.com/questions/4557021/mvc-3-ajax-load-partial-view-into-div[^]

Hope this works for you.
--Amit


这篇关于仅加载网络表单.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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