Questions tagged [virtualmode]

53 questions
1
vote
0 answers

ListView Control Can't Drag and Drop in Virtual Mode

I have searched and I cannot find an answer to my question. I have a ListView that is moving to VirtualMode, but when I attempt a drag over operation, it fails. It can't find the correct insertion index because the items are virtual. How do you…
jm47048
  • 11
  • 3
1
vote
1 answer

Disable controls on certain items in DataRepeater control

I'm using the DataRepeater control from the Visual Basic Power Pack in my C# Winforms application. The control is unbound, operating in VirtualMode. I'm displaying multiple items in this control. Depending on certain criteria, I want to disable a…
Aaron
  • 367
  • 1
  • 7
  • 16
1
vote
1 answer

C# DataGridView Virtual Mode: Using CellValuePushed to write Data back to Database

I´m currently trying to implement a virtual DataGridview in a client-server system to increase perfomance. For that I have used follwing code suggested by Microsoft: http://msdn.microsoft.com/de-de/library/ms171624.aspx To that point all is fine and…
Chris
  • 835
  • 12
  • 27
1
vote
3 answers

Issue Changing Simple Text on header.tpl using VQMOD in OpenCart

I am trying to use VQMOD for the first time and when I added the code below to my page nothing changed. I tried to change the home link on top right of home page (open cart) to my home, but the text did not change. Unfortunately, there was no error…
Vallabh
  • 93
  • 2
  • 14
0
votes
1 answer

How to sort the selection, when i sort the underlying list, of a ListView in virtual mode?

When a ListView is in virtual mode, you are responsible for feeding the ListView a ListItem corresponding to index n when it asks through the OnRetrieveItem event. i sort my list according to my own rules, and tell the listview to…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
0
votes
1 answer

cant get my Value in Listview Virtualmode

after clicking my value and pressing my OK_button I cant get the Value out of the listView to save it somewhere else. I cant use listView1.FindItemWithText because I don't have a text to search for.. Idk how to look for the clicked value after I…
liberty
  • 23
  • 6
0
votes
3 answers

How to enumerate a ListView when it is in virtual mode?

How to enumerate a ListView when it is in virtual mode ? I'm using OfType<>() method to enumerate the list view items. But its throwing an exception like, the list view can not be enumerated when it is in virtual mode. Here is my code List
Thorin Oakenshield
  • 14,232
  • 33
  • 106
  • 146
0
votes
1 answer

VB.NET Using ListViewGroup in VirtualMode

Is it possible to use groups in a ListView which is in VirtualMode?
Velcro
  • 546
  • 1
  • 8
  • 27
0
votes
0 answers

How to keep constant rowcount for Datagrid view in Virtual Mode?

I have implemented data grid view in virtual mode. My data source contains 5k entries. At a time I want to load only 50. Is there a possibility to delete previous row and add a new one on scroll. So that row count remains constant. Ex. public void…
Akanksha
  • 135
  • 1
  • 9
0
votes
1 answer

Just In Time Loading (DataGridView) with Entity Framework

Heyya All, I'm trying to implement Just in time loading into a Virtual Mode DataGridView (Winforms) but either im missing a big piece of the puzzle or its not working.... My table houses approx. 150k Records and takes about 2 minutes to load which…
L Riley
  • 337
  • 4
  • 15
0
votes
1 answer

Why is ListView.CacheVirtualItems not called prior to RetrieveItem?

I have a form (.NET 4.5 VS.2015) with a ListView that may contain a couple hundred even more than a thousand rows. Experiments show already that the form gets bogged down and unresponsive because it tries to load ALL ListViewItems when only about 20…
Lord of Scripts
  • 3,579
  • 5
  • 41
  • 62
0
votes
2 answers

Event handler not removing itself?

At the beginning of a VB .NET function I remove an event handler and add it again at the end of the function because the function's code would trigger those events and I do not want them to trigger for the duration of the function. This usually…
davidscolgan
  • 7,508
  • 9
  • 59
  • 78
0
votes
1 answer

How to customize a specific code for pagination when working with datagridview virtual mode on

i am reading a xml file instead of database table and doing pagination this way XDocument document = XDocument.Load(xmlFilePath); var query = from r in document.Descendants("orders") select new { OrderID = r.Element("OrderID").Value, …
Mou
  • 15,673
  • 43
  • 156
  • 275
0
votes
1 answer

how to set the top item property of listviewitem when it is in virtual mode?

public new int VirtualListSize { get { return base.VirtualListSize; } set { // If the new size is smaller than the Index of TopItem, we need to make // sure the new TopItem is set to something…
eeshwr
  • 258
  • 4
  • 20
0
votes
1 answer

Is there a workaround for Linux mono's refusal to acknowledge that I have resized the columns of my VirtualMode ListView?

When I resize a column, it does not redraw the data with the updated alignment. I've tried Invalidating, Refreshing, and a few other things. Nothing has worked. Does anyone know a workaround? I have not tried this in mono for Windows. To see…
Fantius
  • 3,806
  • 5
  • 32
  • 49