是否可以使用Gridview像剪贴簿一样创建? [英] is it possible create like as a scrap book using Gridview?

查看:46
本文介绍了是否可以使用Gridview像剪贴簿一样创建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果可能的话,请举个例子....
gridview控件像这样创建...

if it is possible please give me examples....
gridview control create like this...

|------------------------------------------------------|
|Name:Ayyappa                                          |
|------------------------------------------------------|
|  |-------------------------------------|             |
|  |                                     |             |
|  |       This is Text area             |             |
|  |_____________________________________|             |
|                                        Done  Cancel  |
|______________________________________________________|



[edit]添加了代码块以保留图表格式,忽略文本中的HTML"选项已关闭-OriginalGriff [/edit]



[edit]Code block added to preserve diagram format, "ignore HTML in text" option turned off - OriginalGriff[/edit]

推荐答案

gridview主要用于显示记录详细信息.

您正在寻找树状视图功能,其中父级作为名称",子级对象作为文本区域".

根据树视图的索引,您可以在右侧的完成"和取消"上显示单选按钮控件,也可以仅在面板上弹出所有内容,然后将其显示为用户控件.

为用户处理完所有内容后,您可以循环构建保存过程.

您可以使用GridView-但会遇到几个问题.
您是否希望文本是文本区域"上宽度的3/4?
您只能选择垂直量子中行单元格区域的总宽度.您的名字会受到负面影响.

您可能有1行显示名称
第二行单元格1 =文本区域"
第二行单元格2 =完成按钮"
第二行单元格3 =取消按钮"

您可以决定是否要使用标准按钮-或超链接按钮.然后使用自定义图标图形使其变得时髦.

问候,
X
gridview is mostly used to display record details.

You looking for treeview capabilities with parents as "Names", with child objects as Text Areas.

Based on the index of the treeview you can display a radiobutton control on the right "Done" & "Cancel" or just pop everything on a Panel then expose as a User Control.

When everything has been processed for the user - you can loop to build your saving process.

You can use a GridView - but you''ll run into several problems.
Do you want the text are 3/4 of the width on Text Area ?
You can only select the total width of a row''s cell area in vertical quantums. Your name are will be impaced negatively.

it is possible that you can have 1 row to display the Name
2nd Row Cell 1 = "Text Area"
2nd Row Cell 2 = "Done Button"
2nd Row Cell 3 = "Cancel Button"

You can decide if you want to use standard buttons - or hyperlink buttons. Then make it funky with custom icon graphics or so.

Regards,
X


是的,您可以通过创建用于Grid-view控件的动态模板来实现此目的.单击列表中的链接之一后,一旦完成&条目,就可以显示模板.单击完成"按钮可以保存数据.

看看这个.

动态模板化的GridView [ ^ ]
Yes you can achieve this by creating dynamic templates for Grid-view control. When you click one of the link in list then you can show the template, once you finished the entry & clicked the Done button you can save the data.

Have a look at this one.

Dynamically Templated GridView[^]


这篇关于是否可以使用Gridview像剪贴簿一样创建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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