从父网格视图列表框中选择索引更改事件填充子网格视图(嵌套) [英] Fill child gridview(nested) from parent gridview listbox selected index changed event

查看:70
本文介绍了从父网格视图列表框中选择索引更改事件填充子网格视图(嵌套)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在激活父网格视图下的列表框(选中项目)时用空文本框填充子网格视图(嵌套)。我想要在我的项目中实现该事物的示例。我想基于在父网格视图中选择的数字列表框项来绑定空文本框。



我尝试过:



i已经尝试过查找子gridview,但这无法解决问题。

i want to fill the child gridview(nested) with empty textboxes when listbox under parent gridview is fired (items selected).i wanted an example of that thing to implement in my project. i want to bind the empty textboxes based on number listbox items selected in parent gridview.

What I have tried:

i have tried by finding child gridview but that could not do the trick.

推荐答案

如果你使用aspx然后创建用户控件并将网格放在用户控件中。如果您使用mvc,则创建部分视图。
If you using aspx then create user control and place the grid inside the user control. If you using mvc then create partial view.


这篇关于从父网格视图列表框中选择索引更改事件填充子网格视图(嵌套)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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