通过从代码隐藏(aspx.cs)调用函数在javascript中绑定asp.net列表视图 [英] bind a asp.net listview in javascript by calling function from code-behind(aspx.cs)

查看:85
本文介绍了通过从代码隐藏(aspx.cs)调用函数在javascript中绑定asp.net列表视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过从code-behind(aspx.cs)调用函数来在javascript中绑定asp.net列表视图?

How to bind a asp.net listview in javascript by calling function from code-behind(aspx.cs)?

推荐答案

您的问题对我不清楚...
看起来您想从javascript绑定列表视图.

在这种情况下,请将您的列表视图放在更新面板中,然后调用
Your question is not clear to me...
looks like you want to databind a listview from javascript.

In that case put your listview inside an update panel and call
__doPostBack(''<%=UpdatePanel.ClientID %>'','''');


在javascript函数中.这将进行部分更新,同时也会更新您的列表视图.


in a javascript function. this will do a partial update, which will update your listview as well.


这篇关于通过从代码隐藏(aspx.cs)调用函数在javascript中绑定asp.net列表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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