I have found a ListView control on the web that has been extended to include additional functionality. Unfortunately it now has a problem. When you click on a ListViewItem it does not select it. i.e. it does not highlight the item like it would normally in a normal ListView control. Could you tell me what events and methods I should change to make it select an item when the user clicks on one item? Much appreciated.
NewbieDude
Posts
-
Selected a listviewitem -
Novell GroupWiseHi howzit? I need to find a component or sample code that interacts with Novell Groupwise email client. If its in C# that would be great. I need to beable to import Novell's address book list and also send email with attachments programatically. Cheers
-
Highlight an item in a listviewHow does one highlight or de-highlight an item in a listview programmatically
-
MS Outlook-esque controlThanks. How does one programmatically highlight or de-highlight a listview items which is sitting inside a listview control? i.e. what events get called
-
MS Outlook-esque controlI need the control to mimic the functionality provided by OUTLOOK. i.e: the email can be grouped by DATE, FROM, TO etc. and each group can be collapsed and expanded to reveal more information. So for example in our application...I want to see a list of clients grouped by CASE. every CASE group can be expanded to reveal the clients associated with that case e.g: =============================================== SURNAME ^ | NAME ^ | DATE ADDED =============================================== - CASE A Putter David 01 June 2006 Smith Kelly 24 May 2006 + CASE B + CASE C
-
A control that extracts information re PDF fillable fieldshey howzit. I am looking for a component that can extract information about fields in a PDF. e.g. their height, width, location etc. PDF fields are used in electronic forms and are becoming quite popular. I am looking for a component which is of reasonable price or freeware.
-
Add XML to an XMLNodeOh sorry mate, so used to posting on C# forum. I wanna do it in C# please
-
Ethernet vs. UBSDo you think 1Mbps is a small amount of bandwidth...its the fastest offering in South Africa :( shame poor us
-
Samsung DVD Drive HellHey howzit? Even if I get the model number...that still doesn't solve my problem. Will running firmware software clear the region codes associated with the drive or not?
-
Add XML to an XMLNodeHey howzit? All i wanna do is put some XML in a node and return it thats it. How do I achieve this? Could you provide an example? -- modified at 7:29 Tuesday 28th March, 2006
-
Adding controls to a windows from from XMLHey howzit, i have a method below that loops through an XML document and adds textbox and checkbox controls to a panel based on the xml content. However the performance is not great all at...one can see all the controls are they are being displayed and it looks sloppy...is there not a better way of doing this? public void DeSerialize(XmlDocument xmlDoc, int currentPage) { XmlNode rootNode = xmlDoc.DocumentElement; foreach (XmlNode pageNode in rootNode.ChildNodes) { XmlAttributeCollection acPage; acPage = pageNode.Attributes; int pg = Convert.ToInt32(Convert.ToDouble(acPage.Item(0).InnerText)); if (pg==currentPage) { foreach (XmlNode fieldNode in pageNode.ChildNodes) { if (fieldNode["Type"].InnerText == "TextBox") { //create and add textbox to windows.forms.controls } else if (fieldNode["Type"].InnerText == "CheckBox") { //create and add checkbox to windows.forms.controls } } } } }
-
Samsung DVD Drive HellHey guys, I have a Samsung Dual Layer DVD Writer and the other day I put in a movie DVD in and it asked me to select either Region 2 or 4 (in PowerDVD) and it diabled the other region choices. It has never done this before...so I selected my region (Region 2 South Africa) and it says "This disk is inhibited from playing because of area limit." This is strange because I am in region 2 so I went to regional settings and it shows the DVD drive is on Region 1!!! So I tried changing it to Region 2 (South Africa) and it keeps giving an error message "Cannot change region settings, put correct region DVD in drive or use Admin rights. What should I do to undo this? I can downloaded the firmware from the samsung but I don't know the model number!
-
Drag outlook contacts into my appHey J4amieC, Thanks very much for that tutorial...I tested it and and works...the problem I have now is I need not only to see the files URL I need to see the contents of the file...in particular i need all the information from the .vcf file so when I drag from outlook i can see all the data. Thanks, David
-
Drag outlook contacts into my apphey howzit? its easy to import contacts from outlook in code...but what i wanna do is beable to drag an outlook contact straight from the the Outlook Application itself into my running C# application...can anyone help?
-
Import outlook contactsHey howzit? I would like to import outlook contacts in my C# application. I have found a handy application on the code project: http://www.codeproject.com/com/outlookcontacts.asp?df=100&forumid=14626&select=1409933&msg=1409933 but it uses C++ and I do not want to use this code...I heard there is code in .NET for doing this...can anyone please help me? Regards,
-
SQL Server 2005 and SQL ExpressI sorted it out...I clicked Stored Procedures>New stored procedure from the stored procedure folder on the left and from the Query Menu>Specify values for template> and then fill that form out and then it commits it to the database NO PROBLEMS!
-
SQL Server 2005 and SQL Expresshi there, from what i have heard there is not yet a release version of express out yet, i am using the community preview edition and i have had some bugs with it, which can be expected!
-
Committing a Stored Procedurehi there, I am connecting to a sql server express 2005 database which is located on another developers machine in the company. he has given me the username and password and i can read and write to this db using vs2005 no problems. i can also added new tables and everything through the management studio, but when i add stored procedures, it does not seem to commit to the database, when i click save it asks for a local destination but i want it to save onto the sql server. i can add stored procedures through vs 2005 no problems! this does not make sense?
-
Setting up SQL Server 2005Thanks its all sorted now...the express technical community preview addition has some bugs i have found!
-
Reading binary dataHi There! I have a FoxPro database that has a memo field which is filled with binary data and normal text. How can a person read this binary data?