开发者

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

开发者 https://www.devze.com 2023-03-03 22:45 出处:网络
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 li

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

精彩评论

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