刷新webparts而不重新加载webparts [英] refresh the webparts without reloading the webparts

查看:66
本文介绍了刷新webparts而不重新加载webparts的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我的页面名称为Default.aspx。

i已在webpart区域内添加了gridview。

i我在产品表中显示产品详细信息网格视图。



现在我要刷新webpart区域中的gridview。如果我在数据库的产品表中插入记录,我可以在gridview中看到更新的记录



请为我提供更好的解决方案。





谢谢

Dhanasekaran Murugesan

Hi i have page name as "Default.aspx".
i have added the gridview inside the webpart zone.
i am displaying the product details from product table in the grid view.

Here now i want refresh the gridview in webpart zone. if i insert the record in products table in database, i can see the updated record in the gridview

please provide me the better solution for this approach.


Thanks
Dhanasekaran Murugesan

推荐答案

是的你可以用不同的方式做同样的事情,你可以使用更新面板或使用javascript。





查看这些链接



http:/ /msdn.microsoft.com/en-us/library/vstudio/bb386452%28v=vs.100%29.aspx [ ^ ]



http://stackoverflow.com/questions/9257581/using-gridview-inside-updatepanel [ ^ ]
yes you can do the same in different ways, either you can use update panel or use javascript.


See these links

http://msdn.microsoft.com/en-us/library/vstudio/bb386452%28v=vs.100%29.aspx[^]

http://stackoverflow.com/questions/9257581/using-gridview-inside-updatepanel[^]


这篇关于刷新webparts而不重新加载webparts的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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