GUIListControl: How can I access/get the Items? (1 Viewer)

Nova

Portal Pro
November 8, 2005
77
0
Hi Guys, :)

Does anybody know, how I can get the added Items of a GUIListControl (as strings or as GUIListItems)?

Thanks for your help! :)

Your Nova
 

Bavarian

Retired Team Member
  • Premium Supporter
  • April 4, 2005
    698
    167
    Germany, Bayern
    Home Country
    Germany Germany
    Hi nova,

    you can get it by GUIListItem, like

    for (int i = 0; i < listView.Count; i++) GUIListItem aItem = listView;


    By the way, do you know javascript in C#?

    Bavarian :D
     

    Nova

    Portal Pro
    November 8, 2005
    77
    0
    Wow, really so easy. :)
    I tried it with GetControlById(int id) ..... etc. :)

    Thanks for your help Bavarian!

    No, I don't know JavaScript in C#, but maybe I can help you... (see you at ICQ).

    Your Nova
     

    Users who are viewing this thread

    Similar threads

    That was the correction I made in BasicHome for the 1.35 Prerelease which you adddd to repo ;)
    That was the correction I made in BasicHome for the 1.35 Prerelease which you adddd to repo ;)
    I'm going bananas here!! Used MP1 since MP1.10 or so.....an haven't had problems for years! Am using latest Dune...
    Replies
    8
    Views
    1K
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    548
    MP1 MP2 Auto Rating DE
    Sorry i dont use Mov Pic
    Sorry i dont use Mov Pic
    Hi, I have done this previously but have just done a fresh install of MP1 (1.34 X64) and for the life of me can't see how to do it...
    Replies
    3
    Views
    994
    I also have never used a set-top box with MP, but I think that you need to use an IR emitter (aka "IR blaster"). The IRSS software controls the emitter, and transmits IR signals under the direction of MP. The IR signal is received by the IR receiver within the set-top box, and so can be used to change channel and so on. The set-top...
    I also have never used a set-top box with MP, but I think that you need to use an IR emitter (aka "IR blaster"). The IRSS software...
    My computer is running Windows 10 Pro. I have installed MP2. Not sure what version. I have a Hauppauge WinTV 1850 TV card...
    Replies
    8
    Views
    2K
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it requires extensive metadata scraping that I don't need. Is it possible to instantly access the video categories when landing on the page? I would like to display a single media page with the following...
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
    Replies
    0
    Views
    313
    Top Bottom