带多列和网格的下拉列表(无自动完成功能) [英] dropdown with multicolumn and grid(no autocomplete)

查看:89
本文介绍了带多列和网格的下拉列表(无自动完成功能)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要像下面这样的多列下拉菜单

单击下拉列表时,数据库中的数据将带有一个网格.该数据可能包含一个或多个列

通过从网格中选择一行,将在下拉列表中填充第一个单元格数据,而在另一位置填充下一个列数据.

我该怎么做?

I need a dropdown with multicolumn like the following

on clicking the dropdown one grid will come with data from the database .the data may contain one or more columns

By selecting one row from the grid the first cell data will be populated in the dropdown and the next column data will be populated in another place.

How can I do this ?

推荐答案



您想确切执行的操作.

替代此方法,您可以采用另一种方式,例如

放置一个按钮和div标签

在用户单击该按钮时在弹出窗口中显示网格数据.在该弹出窗口中,如果用户选择任何行,则关闭该弹出窗口并在div标签中显示特定数据

根据您的问题,我们无法执行此操作.如果您看到此链接,则会对此有所了解

http://stackoverflow.com/问题/607529/asp-net-如何在列表项文本属性中呈现html-tags

最好的
Hi,

What you want to do exactly .

Instead of this you can follow another way like

place one button and div tags

show grid data in popup while user clicks on that button.In that popup if user selects any rows then close that popup and show particular data in div tag

According to your question we can not do that thing If you see this link you get idea on that

http://stackoverflow.com/questions/607529/asp-net-how-to-render-html-tags-in-a-listitem-text-property

All the Best


这篇关于带多列和网格的下拉列表(无自动完成功能)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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