| Listbox selectedindex changed event not firing from within datagrid (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| I have a datagrid that has 4 columns. ID, Grid, Listbox, Edit For each of the rows the Grid column contains another grid that has an ID and Select button. When the edit button is pressed in the main grid a listbox is populated with data. When the user clicks on an entry in the listbox it is supposed to postback so i can update data. it does do a post back but it does not postback to the hadler tha... |
|
| ListBox Selection (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I have a list box that is populated with some file names from a directory. I cant seem to find how to tell what is selected. I wrote a message box to show me what was selected but it doesnt work. |
|
| Listbox vs DropDown (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Hello! I've done a little test. I try to fill up a listbox (dropdown) with 35000 posts. Check the code below and it's works fine ,but when I want do the same thing with apsnet ,but in aspnet way it hangs. The ASP code html head meta http equiv "Content Type" content "text/html; charset windows 1252" title /title /head body form method "POST" action " WEBBOT SELF " p select size "5" name "D1" multi... |
|
| Listbox with colors as items (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hello I need to use a listbox with the possibility to select a color as an item like we use it for fore/background colors in the dev environment. Any help would be very appreciated Thanks |
|
| listbox, data binding, text boxes (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hello, I'm trying to run the code below, but I'm running into a problem. It is populating a listbox, based on whether or not the user enters data into a text box. If they enter something, it returns only that record, if they leave it blank, it returns all records. This works fine. Now I have text boxes that are linked to what is displayed in the listbox. If the user enters nothing, it works fine, ... |
|
| ListBox->Click->new Form (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Hi All, I want to do following; display Form2 after "click" on ListBox at Form1 (without ShowDialog) . Here is example when I touch ListBox, form2 is shown, but form1 is seen also. If I touch on Button2, there is shown only Form2. Where is problem. Thanks Viki Public Class Form1 Inherits System.Windows.Forms.Form Friend WithEvents ListBoxEx1 As New OpenNETCF.Windows.Forms.ListBoxEx Friend WithEven... |
|
| Listbox: Looping through SelectedValue (VIP replies) |
| microsoft.public.dotnet.languages.vb.data |
| Newbie question: I am trying to write some code to loop through all of the SelectedValue values of a multiselection listbox. For example, I have a form with two listboxes that when instantiated, shows what groups a user is assigned to, and which are available to add them to. When I add a group for them to be a member of, I have an insert statement that adds the usernbr and groupnbr to a conjunctio... |
|
| ListBox: set SelectedItems (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello group, I have a ListBox control, populated by a DataSet with a DisplayMember and a ValueMember. I have a list of values (a string[] in my case), and I'd like the ListBox control to show all items whose value it can find in this list, as selected. It seems I can't find the way to do this, because I don't know how to set the state of one item to 'selected'. Here is what I got so far: foreach (... |
|
| Listing domains 2003 active directory (VIP replies) |
| microsoft.public.dotnet.security |
| Hi, I am trying to list domains from 2003 activedirectory. The web application is dotnet 2000. It is not giving any domains. Any code snippet or suggestion? Yaseen |
|
| listView + events (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| How come there isn't an event handler for when an item or subitem of a listview changes? |
|
| ListView - no report view? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| The Beta 2 docs list the possible Listview.View values as 'SmallIcon, LargeIcon, Details, List, Report', but when I code, the Report option is missing from both the code window and form designer. Was this removed and the functionality moved to another control, or have I stumbled upon a rather odd bug? Cromas |
|
| listview - selected row (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi there :) Im new to dot net and need help with a listview. Well, i have a listview in place on my form displaying data, but what i'd like to do next is enable the user to double click on a selected row, which will open up a new form, displaying the row information. I dont know how to do this... from double clicking on a selected row thru to displaying data on new form...any help would be much ap... |
|
| ListView and LVM_INSERTITEM (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| what is wrong? Public Declare Auto Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As IntPtr, ByVal wMsg As Long, ByVal wParam As Long, ByRef lParam As LVITEM) As Long Public Structure LVITEM Dim mask As Long Dim iItem As Long Dim iSubItem As Long Dim State As Long Dim stateMask As Long Dim pszText As String Dim cchTextMax As Long Dim iImage As Long Dim lParam As Long Dim iInden... |
|
| listview columnwidth to largest subitem? (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Hi, I have a datareader filling a listview, after that I want to set my listview column width to the largest subitem in the column. You could do that by setting width to 1. I already found out about a bug that you could not set 1 by the columns.add method ([url]http://support.microsoft.com/default.aspx?scid kb;en us;316572[/url]) But it won't work like they descripe there either. CODE private void... |
|
| Listview control... (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| Hello Is there any way to display image in Listview control's background ? I tried to override Background image property but didnt get anything.. :( Programing language C# Thank you for your help. Martin. |
|
| listview display problem (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I met a strange problem during playing listView control. If I create the control following the InitializeComponent(), then it displayed well at the beginning. If later on I want dynamically change remove all existing column headers and all items, add new header and items, the listview control just displayed empty. I am using C# under vs .net 7.0 for this winform app. Thanks for help! John |
|
| listview focus question (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I have a form, frmMain, that contains a listview. When the user selects item(s), I do the following: Private Sub lvwToDo ItemActivate(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lvwToDo.SelectedIndexChanged Dim litem As ListViewItem Dim frmTemp As New frmToDoDetail() For Each litem In lvwToDo.SelectedItems ' Call another form to edit the listview selected item's fields: frm... |
|
| Listview item IDs (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| When an item is added to a listview, the index returned appears is the displayIndex, i.e. the position in the list. Unfortunately, this means the index changes when the listview is sorted. In Win32 items could be kept track of by assigning lvItem a unique lParam, and then using an LVM FINDITEM messages to locate the displayIndex. Windows XP also appears to have a new macro specifically for this pu... |
|
| Listview Items (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| How do I get the string of the selected item in a listview when a user double clicks the item? Note: I don't know the index number of the item, they are automatically generated. |
|
| ListView label edit question (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| In a ListView control with LabelEdit set to true, you have to click and hold the mouse button longer than I would like to actually edit the label. Is there a way to make it so that you can click the label once, quickly, and go into edit mode? Thanks, Michael C. |
|
| ListView Problem (VIP replies) |
| microsoft.public.dotnet.framework |
| Can anyone help me out with this and tell me what I'm doing wrong? 1. I have a form with a ListView control which will hold items for me... 2. I have declared a private variable of type ListViewItem ie. private ListViewItem lvi null; 3. In the ListView's MouseDown Event Handler, I check if the right mouse button is pressed, and to popup a context menu to delete the selected item. private void List... |
|
| ListView.LabelEdit (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| If you set ListView.LabelEdit True, then the user can edit the selected label's text. But, the user must wait a few seconds after the label is selected until the text can be edited. Is there any way to make it so that the text can be edited as soon as the item is selected? I have a situation where the user will probably want to rename a number of items that are displayed in a ListView. Ideally, I ... |
|
| ListView.SelectedIndexChanged not firing (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello, When I manually set a list view item to be a selected item, the SelectedIndexChanged event is not firing. Am I missing something here? using System; using System.Windows.Forms; namespace DOMBuilder.GUI { public delegate void SelectedDomainObjectChangedHandler(); public class DomainObjectModelListView { public DomainObjectModelListView() { list.SelectedIndexChanged new EventHandler(SelectedI... |
|
| little help with datagrid (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hello everybody I'm still on the learning curve here...and from what I read, I created inherited datagrid class so I could have icons, combobox...etc in the columns of my datagrid. The grid will be used to populate information coming from a Webservice. (No datasets No datareaders). So, I do not know see how to use the "datasource". Now I'm almost there...but I would need a little bit of help to pr... |
|
| Load (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| what's the load sintaxe to use in pocket? I am trying page load , Form Load , nameform load , and not ran.. Rafael |
|