克隆在asp.net中指定listview的layouttemplate中的列 [英] Cloning specify columns in layouttemplate of listview in asp.net

查看:103
本文介绍了克隆在asp.net中指定listview的layouttemplate中的列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用LayoutTemplate的列表视图。设计了一个包含少量列和行(例如3列和8行)的表。第4列是占位符,用于动态添加新列。



最初我将显示listview with EmptyDataTemplate



另外我有一个Button,我需要单独复制指定列(所有行中包含文本框的列)并放入占位符。



如何实现这一目标?简而言之:复制列并将其放入(listview.layouttemplate.table1.placeholder)??

I've a listview with LayoutTemplate. Designed a table with few columns and rows(say 3 columns and 8 rows).4th column is a placeholder to add new columns dynamically.

Initially I'll show the listview with EmptyDataTemplate

Additionally I've a Button where I need to copy specify columns(Columns with textboxes in all rows) alone and put in the placeholder.

How can this be achieved? In short: Copy the columns and place it in (listview.layouttemplate.table1.placeholder)??

推荐答案

这篇关于克隆在asp.net中指定listview的layouttemplate中的列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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