What control available?

  • Thread starter Thread starter Maanu
  • Start date Start date
M

Maanu

Hi,

I have to allow the users to enter a list of strings for a particular
operation. This shoulde be kept in a control like list control. User should
be allowed to remove a selected item.

Is there any control available for doing this?

If not available what would be the easiest option to do this?

Thanks,
Manu
 
Maanu said:
Hi,

I have to allow the users to enter a list of strings for a particular
operation. This shoulde be kept in a control like list control. User should
be allowed to remove a selected item.

Is there any control available for doing this?

If not available what would be the easiest option to do this?

A multiline TextBox can be used for this.
 
I have to allow the users to enter a list of strings for a particular
operation. This shoulde be kept in a control like list control. User
should
be allowed to remove a selected item.

Is there any control available for doing this?

Not a single control, no. I'd recommend a text box, two buttons (Add /
Remove), and a list box.
 
Hi Maanu!

I have to allow the users to enter a list of strings for a particular
operation. This shoulde be kept in a control like list control. User
should
be allowed to remove a selected item.
Is there any control available for doing this?
If not available what would be the easiest option to do this?

You already got two good answers. A nice solution for your problem could be
a grid. Butas far as I know, there is no good grid control that comes with
Visual Studio. (We use devexpress controls, but there are multiple other
control libraries like Infragistics or telerik)

I have to confess that I don't really know any free solutions. The solution
will also depend on your platform (e.g. Windows Forms, ASP.Net, WPF, ...)

For windows forms, maybe
http://www.codeproject.com/KB/grid/csharpgridcontrol.aspx could be usefull.

Konrad
 
Back
Top