mcs
  • mcs
  • Newbie Topic Starter
2019-02-11T14:24:26Z
Hello,
is the extra sample "MultiSelect DropDown Editor" also existing for igrid.net 6.0
I need drop downs where a user can select items via checkbox.
Or can i use the existing version of MultiSelect DropDown Editor also in iGrid.net 6.0 - and how?!

best regards
Marcus
Igor/10Tec
2019-02-11T16:01:15Z
The iGMultiSelectDropDownEditor class from that extra sample can be used with iGrid.NET 6.0. All you need to do is to add the following implementation of the new IiGDropDownControl.SetTextRenderingHint method from iGrid v6 inside the iGMultiSelectDropDownEditor class:

Public Sub SetTextRenderingHint(textRenderingHint As Drawing.Text.TextRenderingHint) Implements IiGDropDownControl.SetTextRenderingHint
    fGridList.TextRenderingHint = textRenderingHint
End Sub
mcs
  • mcs
  • Newbie Topic Starter
2019-02-22T13:40:43Z
If i do so i got 2 errors in the code.
see below

do i have to import references?
I just imported the iGMultiSelectDropDownEditor.vb

a.PNG

Click to View Image57 View(s)

Igor/10Tec
2019-02-22T15:42:18Z
I checked this, this works on my pc.

What error do you get when you compile you project?
mcs
  • mcs
  • Newbie Topic Starter
2019-02-25T07:01:07Z
Do i need to import any other class?

I just imported the iGMultiSelectDropDownEditor.vb and added the method you wrote me.

Error.PNG

Click to View Image50 View(s)

Igor/10Tec
2019-02-25T15:12:56Z
No need to import something special.

And look at the error list. The compiler does not find not only SetTextRenderingHint, but also the GetDropDownControl method. Your copy of the class looks corrupted.

Can you send us the full source code for the further consideration? Before packing the solution, please, remove the bin and obj subfolders with executable contents.
Nicky
2019-10-11T08:23:11Z
I see this is an old thread, but I had the same problem with .net v6.0, and VS2019's recommendation for the fix was as following;

in the 'iGMultiSelectDropDownEditor.vb;'


Imports System.Drawing.Text
Imports System.Text
Imports TenTec.Windows.iGridLib

Public Class iGMultiSelectDropDownEditor
Nicky Wilkes
Senior Software Engineer