在WebMethod中绑定中继器 [英] Bind Repeater in WebMethod

查看:816
本文介绍了在WebMethod中绑定中继器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



如何在WebMethod中绑定Repeater?

解决方案

你不能,因为控件在WebMethods中无法访问。此外,WebMethods意味着采取一些参数并在一些处理后返回一些值。



您应该建立一个客户端表或其他东西。请参阅 - 使用jQuery和ASP.NET AJAX构建客户端转发器 [ ^ ]。

hello,

How to bind Repeater in WebMethod?

解决方案

You cannot, because controls are not accessible inside the WebMethods. Moreover, WebMethods are meant to take some parameter and return some value after some processing.

You should rather build a client side table or something. Refer - Use jQuery and ASP.NET AJAX to build a client side Repeater[^].


这篇关于在WebMethod中绑定中继器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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