.NET Framework - What control available?

Asked By Maanu
12-Mar-10 08:44 AM
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
Visual Studio
(1)
TextBox
(1)
WPF
(1)
Remove
(1)
Infragistics
(1)
Windows
(1)
Butas
(1)
Manu
(1)
  Harlan Messinger replied to Maanu
12-Mar-10 08:56 AM
A multiline TextBox can be used for this.
  Jeff Johnson replied to Maanu
12-Mar-10 09:18 AM
Not a single control, no. I'd recommend a text box, two buttons (Add /
Remove), and a list box.
  Konrad Neitzel replied to Maanu
12-Mar-10 10:29 AM
Hi Maanu!





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 do not 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
help
bei jedem neustart, was ist da faul ? Danke für Hinweise Karsten Schulz VC - German Discussions Visual Studio 2008 (1) Visual Studio (1) Office (1) CorrectSpellT (1) SPMicrosoft (1) Directories (1) Heritage® (1) Houghton (1) Hallo Karsten of Programming FAQ: http: / / www.mpdvc.de Samples: http: / / www.codeproject.com Hi Martin, Microsoft Visual Studio 2008 Version 9.0.30729.1 SP Microsoft .NET Framework Version 3.5 SP1 Installed Edition: Enterprise Microsoft Visual Basic 2008 91899-270-6248762-60410 Microsoft Visual Basic 2008 Microsoft Visual C# 2008 91899-270-6248762-60410 Microsoft Visual C# 2008 Microsoft
IDEs, etc do they use? What language? I code in C#, have done Windows Forms, WPF, Silverlight, ADO.NET, ASP.NET and some VB and Access dB programming, though I prefer now (SOAP) web services using REST as well. All of course under the award winning Visual Studio IDE. I am using VS 2008 but might upgrade to VS 2010. Seriously, why would Why would anybody use an IDE that does not have the bells and whistles of Visual Studio, like Intellisense? What's the point of not having a decent IDE? The only thing that uses Windows OS. But again, you can port (I think) almost anything done in Visual Studio to Linux. Please educate me, I am at a loss. I would even argue perhaps generic list, array, etc, or do you have to build your own? RL C# Discussions Visual Studio 2008 (1) Visual Studio 2005 (1) Visual Studio (1) Silverlight (1) Python (1) Linux
If you still find the GDI is slow to your need, maybe a migrate to WPF? Thank for your reply No speed increment, with code correction, i think that compiler optimization obtain the max speed of execution What mean, by code point of view, migrate to Wpf ? RobertoA it is a long time since I have done Windows graphics, but: Assuming you and maybe a complete-but-consice code example would help others point out the problem. WPF is a new API for developing a windows application in which the rendering is accelarated optimization you could and you feel it is the limit of GDI, then moving to WPF might help. For what it is worth, I am not aware of any research that suggests that WPF's advantages lie in the area of performance. In fact, a number of sources indicate that at least for simple graphics, WPF is significantly slower, due to its more complex layout engine. Remember: while WPF is using 3D hardware acceleration for rendering, GDI+ does use hardware acceleration as well, just is actually spent in the rendering itself. There are certain kinds of rendering for which WPF is well-suited, especially in the area of animation and transformations, but for just drawing
Handles MyBase.Click TextCounter + = 1 'Increase the counter for identification purposes. Dim txtText As New TextBox ' Declare a new TextBox. Me.Controls.Add(txtText) ' Add the TextBox to the form's Controls collection. With txtText .Top = 20 * TextCounter 'Offset the TextBox vertically. .Left = 20 * TextCounter 'Offset the TextBox horizontally. .Width = 50 'Set the TextBox's width. .Visible = True 'Make it seen by the user. .Tag = Str(TextCounter) 'The Tag the length of the Tag property. 'Example: txtText.Tag = " 1024 23 99" could represent a TextBox on the 1024th row, 'the 23rd column, and 99 pages deep. .Text = txtText.Tag 'Display answer As String 'Declare a variable for the user's input. MessageBox.Show("You seleced TextBox Number" & sender.tag) 'Tells the user which TextBox was selected. answer = InputBox("Which TextBox would
next = null; } public SinglyLinkedListNode(T data, SinglyLinkedListNode<T> tail) { this.data = data; next = tail; } } Microsoft Visual Studio 2008 Version 9.0.30729.1 SP Microsoft .NET Framework Version 3.5 SP1 Installed 2008 91851-136-3759112-60601 Microsoft Silverlight Projects 2008 Version 9.0.30730.126 Microsoft Visual Basic 2008 91851-136-3759112-60601 Microsoft Visual Basic 2008 Microsoft Visual C# 2008 91851-136-3759112-60601 Microsoft Visual C# 2008 Microsoft Visual C++ 2008 91851-136-3759112-60601 Microsoft Visual C++ 2008 Microsoft Visual Web Developer 2008 91851-136-3759112-60601 Microsoft Visual Web Developer