Listbox Issue..urgent !!! - InfoPath Dev
in

InfoPath Dev

Listbox Issue..urgent !!!

Last post 10-10-2005 06:21 AM by franck. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-09-2005 11:25 PM

    • Mohana
    • Not Ranked
    • Joined on 10-10-2005
    • India
    • Posts 2

    Listbox Issue..urgent !!!

    I have an issue with Listbox.What i want to do is add a new option to an existing listbox using VS.Net (C# or VB.Net) on the click of a button.
    Does any one have an answre...pls its urgent!!!
  • 10-10-2005 12:21 AM In reply to

    Re: Listbox Issue..urgent !!!

    Hi,

    Okay What you want to do on this button click? You speak about another entry in the listebox?

    If yes in what is link your listebox? Secondary datasource or you have define your own entry in design mode or a sharepoint list?

    Is it this entry always the same on depends on somethings else?

    If you can better explain your problem it's more easy to answer!

    ++

    Thierry

    Every moment hesitated is a moment gone for life!!! Think about it
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
  • 10-10-2005 02:29 AM In reply to

    • Mohana
    • Not Ranked
    • Joined on 10-10-2005
    • India
    • Posts 2

    Re: Listbox Issue..urgent !!!

    I have built my Listbox in Design mode in Infopath Form designer.
    I don't have any datasource to this listbox but is a static one.i have added some 1-2 values to the listbox in design mode by right clicking and click the Add button.
    But my problem is I want to add 1 more value(option item) to this Listbox at runtime that too using VS.Net(C# or VB.net).
  • 10-10-2005 06:21 AM In reply to

    Re: Listbox Issue..urgent !!!

    Hi,

    In that case, you can't just "add values on the fly" by managed code. You need to link your listbox to a Web Service for example. The list content will then be automatically re-queried on Open. And then, as Thierry mentioned, you could have a button to update the content at will.

    Hope that it helps.

    Regards,

    Franck Dauhcé
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.