开发者

how to pass a value to from listview item control to another ObjectDataSource inside in the same place?

i have to list views A,and B

listview B is inside listview A.

i want to pass some parameters from Listview A to Listview开发者_如何转开发 B's ObjectDataSource.


I believe that you mean to say that listview B is nested within A. So you can use data-binding expressions to pass values to nested controls. You may face issue in passing parameters - see this article for work-around.

Here's the article that shows you nesting list views and supplying data by both using data-binding expression as well as using parent control's events in code-behind.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜